Help with checks_enabled

Hays, Sam SGHays at PatioEnclosuresInc.com
Wed Feb 19 13:46:36 CET 2003


I have an entry in hosts.cfg that looks like this:

define host{
        use                     generic-host
        host_name               AcctLsrJet5k
        alias                   Accounting's LaserJet 5000
        address                 10.0.10.3
        check_command           check-host-alive
        checks_enabled          1
        max_check_attempts      5
        notification_interval   120
        notification_period     workhours
        }

However - and maybe I'm unclear on the matter - I'm not getting host checks
with this thing - it simply always reads as "Pending".  If I need to add a
PING entry into services.cfg I have no (ok, only a slight) problem with
that.... It seems though that with check_enabled it should ping the host
periodically and allow me to keep services more 'clean'.

Sam


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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