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. 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.
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? Please help, Thanks you, lalita -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Thursday, August 16, 2007 8:50 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] do not receive mails for check_ping. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Lalita Drolia > Sent: Thursday, August 16, 2007 7:38 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] do not receive mails for check_ping. > > Hi, > > I am not receiving mails for ping checks. > > I am receiving mails for check-host-alive, check_ssh, databases checks n > all other services. > > But I realized that I am not receiving any mails for an explicit ping > check which I have defined for windows servers in services.cfg. > > > > Could anybody help me with this? Is it because as the ping check is > already done in check-host-alive it does not send another mail for ping > service check? Probably. See the first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html. Sounds like you might need to add the service PING contacts to the host contacts. -- 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 Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. ------------------------------------------------------------------------- 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