notifications for downed services

Marc Powell marc at ena.com
Tue Mar 4 06:07:36 CET 2008


On Mar 3, 2008, at 10:56 PM, Artyom Khmelnitsky wrote:

> Hello everyone,

Hello. Did you see that you sent this to the list 6 times so far?

> I have just configured some service checks for services such as  
> http, smtp, etc.. The commands are defined in the commands.cfg file  
> and then called in the services.cfg file. The following is an  
> example of how a commands.cfg and services.cfg looks:

<big chop, thanks>

> The contacts are setup correctly since our check_ping which is  
> declared in the hosts.cfg file works perfectly fine and we do get  
> the correct alerts

...for the host definitions.

> Could someone point me in the right direction of what I'm doing  
> wrong here? I can't seem to get emails if a service is down. It's  
> most likely in my syntax, but I'm not sure where since I get no  
> errors when reloading Nagios.


You don't have any contact_groups defined for the services that I can  
see. no contacts == no notifications. With nagios-2, they're not  
automagically inherited from the hosts. I expect that nagios is  
complaining with warnings though in nagios.log or when using -v.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service

--
marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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