hosts.cfg contact_groups and services.cfg contact_groups

Elizar M. Palad elizar.palad at gmail.com
Fri Sep 23 10:11:59 CEST 2005


Thanks Andreas, i got the notification for service working (thanks to Ray)
the next problem was 'Info' part in the notification was null, nothing in it..

but thanks to Gebhardt's example, i changed the $OUTPUT$ macro
to $SERVICEOUTPUT$ macro in my notify-by-email command definition...

its working now!
Thanks everyone!

Next is to use gnokii for sms notification!

God Bless!!


On 9/23/05, Andreas Ericsson <ae at op5.se> wrote:
> Elizar M. Palad wrote:
> > Hi Ray!
> >
> > Yes, in my services.cfg, generic/template service's
> > notification_enabled is set to 1..
> >
> > each service defined in services.cfg have:
> >
> >  notification_interval           960
> >         notification_period             24x7
> >
> > and each contacts in contacts.cfg have:
> >
> >         service_notification_options    w,u,c,r
> >         host_notification_options       d,r
> > ....
> >
> > i wonder what else do i need to check?
>
>
> You need to check that each service has a contactgroup assigned to it.
> They don't carry over from hosts. nagios -v nagios.cfg will give a
> warning for each service without a contactgroup assigned to it (at least
> with 2.04b), but it will start running anyways.
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> 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
>


--
----
Don't Tell Me How Hard You Work..
   Show Me How Much You'd Accomplished..


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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