host & service down best practice

Tedman Eng teng at dataway.com
Mon Nov 24 21:34:05 CET 2003


How about if you make the check-host-alive command a check_dummy that is
'always' up.  Then, create a SERVICE check that does the same thing as
check-host-alive (ie check_ping), and use that instead of a real host check.
The host will always seem like it's up, but the ping service will show the
real host status, which you can measure in your trends, reports, etc.  Same
effect (keeping active service checks enabled), much less work, and no event
handlers needed.

"poiret gilles" <gilles.poiret at noos.fr> wrote in message
news:E1AOIBd-0004b6-F8 at sc8-sf-mx2.sourceforge.net...
> Hello,
>
> I'm using Nagios for few times, and I'm wondering about the best way to
have good quality stats. about services when host is down :
>
> For now, if a service is in a problem stat, the related host is checked.
If the host is down... nothing.
>
> So, stats about the other services of this host are not said CRITICAL,
whereas it's the truth. If the interval check is long enough, stats for
those services will be totally wrong.
> I wanted to use the "services dependencies", but that only work for
notification.
> So, the best solution I found is to associate en eventhandler on the host,
which re-schedule active check for all services of the host.
> (passive check would be more interresting, but there is no external
command to submit a passive check to all services of a host.)
>
>
>
> That's my experience, and I wondering about yours..
> So I would appreciate a feedback about that point.
> Thanks.
>
> --
> Gilles POIRET
>
>
>
>
> -------------------------------------------------------
> 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