"pure" passive checks and nagios web interface
Benoit Panizzon
benoit.panizzon at imp.ch
Mon Aug 23 15:21:15 CEST 2004
Am Montag, 23. August 2004 13.59 schrieb Stefan Giesen:
> Hi,
>
> is there a possibility to tell the Nagios webinterface (V1.2 on Debian
> woody) that a service is pure "passive", so it's perfectly OK for it to
> have active checks disabled?
> Has anyone a solution for this?
Hallo Stefan
This is a common situation and here's the solution I was told after asking the
same questions a few weeks ago :-)
Define a Service (Or Template) including check_freshness and
freshness_threshold.
Define check_period none for this service.
For this Service use the check_command check_dummy check.
So what happens now is:
As long as this Service gets passive check results it uses those result codes.
If there are no passive check results for the 'freshness' time, then nagios
forces an active check using the check_dummy command.
Now this returns a configurable value like 'OK' 'warning' 'critical' or
'unknown'.
I use 'unknown' as this shows the actual status and have nagios to send
notifies on 'unknown' too.
Regards
--
Benoît Panizzon, <bp at imp.ch>
------------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00
Zurlindenstrasse 29 Fax: +41 61 826 93 01
CH-4133 Pratteln Net: http://www.imp.ch/
------------------------------------------------------------------------
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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