Contact Group in Nagios1.X and Nagios 2.x
John Joseph
jjk_saji at yahoo.com
Tue Aug 23 09:16:09 CEST 2005
Hi Qiang
I also faced the same problem + some other problem
in nagios.cfg
with the help from the mailing list , I was able
to solve it
Three files I had to edit
1> nagios.cfg
In nagios.cfg removed the reference of the
following lines , remark it or remove it
log_passive_service_checks=1
inter_check_delay_methods=s
this parameter are not there in 2.x
2> hostgroups.cfg
In hostgroups.cfg , I remarked /removed the
contact_groups reference
3> in hosts.cfg
In the template for the generic host definition ,
I added the contact_groups yourcontact
or u can use in the host definition section of
hosts.cfg
Now check using /usr/local/nagios/bin/nagios -v
../etc/nagios.cfg
Hope this is useful
Thanks
Joseph John
--- Li Qiang <lqiang at ipass.com> wrote:
> Hello,
>
> Installed 2.0b4 code, and moved most of the .cfg
> files from a working
> nagios (1.X code), but running into a lot of
> "Contact Group(s)" error
> when running nagios -v command on Nagios 2.0b4.
> Seems like the 2.x code
> doesn't support this anymore.
>
> Any advice? Thanks a lot,
>
> BTW, if you know a doc that descripts this issue,
> please point me to it.
>
> Thanks again,
>
> li
>
>
>
>
>
-------------------------------------------------------
> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being
> sent to /dev/null
>
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list