> -----Original Message----- > From: Lalita Drolia [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 16, 2007 11:33 PM > To: Marc Powell; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] do not receive mails for check_ping. > > > I read the first section. I guess it means that if it is determined that > a host is down then it does not check for its corresponding services and > so I am not getting a mail.
Yes, sort of. It'll still check the services to see if they've recovered but it will suppress notifications if they haven't and the host is determined to be down by it's host check. > But I do still get a mail for databases and ssh going down. It is only > for ping service check that I am not getting mails. Nagios itself makes no distinction between different services unless you have them configured differently. It has no idea that a ping check is different than an ssh check when it comes to notifications. > I am sending mails for check-host-alive and check_ping to 2 different > people and I cannot club them together. > This is because in check-host-alive I get mails even a machine reboots > and I do not want these mails. > So I have introduced a delay in my service checks, as suggested by you > Marc earlier. So on unix based machines im checking for ssh and on > windows I am checking for ping. The ssh check triggers a mail rightly if > a server goes down, how can I make this happen for ping check too? My prior suggestion included removing the host check_command entirely so no host checks should occur. That means that the above notification suppression logic does not come into play and you should receive a notification for all services on that host when it goes down if you have the notification_options you want in the service{} definitions. Are the notification related options for your ping service different than the notifications for the services you are receiving notifications for? Can you post the host{} definition and service{} definitions for one you do receive notifications for and one you don't? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@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