Notification and check-host-alive problem

Marc Powell marc at ena.com
Wed Jul 7 21:27:20 CEST 2004


Roy Kartadinata <mailto:drhonk at gmail.com> wrote:
> Hi guys,
> 
> I just have nagios installed and configured, so far its been running
> pretty good. Several things that I notice kinda wierd: 
> 
> 1. When I turned off imap daemon on one of our server, nagios
> detected that imap is down but it also shows check-host-alive as
> failed with error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now
> showing both host and imap service as down.   

/bin/ping is most likely not exectutable by the nagios user. Make sure
that it's sticky (chmod 4755 /bin/ping) and owned by root.

> 2. Instead of service notification, I only receive host notification.

Correct behavior if nagios thinks the host is down.

> 3. I turned imap daemon back on, nagios shows that it is up and
> running .. but no recovery notification like it should and host
> remained showing as down.  

Correct behavior if nagios thinks the host is down. See #1.

--
Marc


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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