Host (not really) DOWN alert for ....
Tedman Eng
teng at dataway.com
Fri Nov 7 06:36:12 CET 2003
Hosts don't go into "soft" down states. Only services do. If your
host-check-alive command is a ping, set up a service-check using ping for
the host (you're probably already doing this). Then view the
trends/alerts/history/etc for the service, rather than the host. The
service-check ping would have to fail before the host-check ping fails. If
the service-ping fails only sometimes, but the host-ping seems to fail every
time the time its invoked, consider tuning the host-check-alive command by
increasing or decreasing the number of packets sent (look for the -c option
in the definition).
Also, just to be safe - stop nagios, look for and kill any rogue nagios
processes, then start.
Sometimes these 'phantom' processes can cause weirdness.
"Damian Gerow" <damian at sentex.net> wrote in message
news:20031106063407.GB78425 at sentex.net...
> Twice in the past couple of days, we've gotten an alert for a box that was
> 'down'. Each time, I checked the availability of the machine, and it was
> most definitely up -- my SSH session hadn't disconnected, and the remote
> machine was fully responsive.
>
> Thinking something amiss, I checked the performance stats of nagios.
21.4%
> of checks complete in under 1 minute, and 100% of 182 complete in under
> five. It takes no more than 10 seconds to complete a check, with <1s
> 'check latency'. This might not be as good as it could be, I have yet to
> fine-tune our setup. But it doesn't seem horribly bad.
>
> So I started looking at the history of this host, and lo and behold, it
> apparently has never gone down in the past week. Yet I have two sets of
> e-mail alerts (down/up pairs), one from Nov 3, and the other from Nov 5.
>
> Is there something I'm missing? Or do small blips not make it into the
> reporting? I've checked trends, availability, and alert history. None of
> them record this host even going into a *soft* down state, let alone a
hard
> down state.
>
> FWIW, we're using Nagios 1.1 on a RH9 Linux machine. Nagios is compiled
> from source, not installed via RPM. We're using SQL to retain history.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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