Pending host checks

Larry Guest larry at opsource.net
Mon Sep 13 17:21:08 CEST 2004


Mark,

Thanks for the feedback.
Please see my notes below.

 
> I have some hosts checks that are always in pending.  I have restarted

> the app many times but they cant clear.
> 
> This is the output I get on the Hosts Status page.
> 
> "Not enough data to determine host status yet"
> 
> Any idea why this may be happening.

Do these hosts have services associated with them? 
### Yes they all do and all of the service checks are working fine.

Nagios won't execute a host check until a service check fails.
Initially, if a service on the host is determined to be OK, the host is
assumed to be up and OK. If a service on the host is determined to be
CRITICAL, the host is checked with its host check command. If neither
apply (no service defined or some other service check failure), the host
remains PENDING with the comment above.

###  Ok, but in reading the config I am working on it looks like hosts
checks are disabled and I should see the status of "Host assumed to be
up".

This is the host definition.

define host {
        name                            GenericHost
        register                        0
        checks_enabled                  0
        event_handler_enabled           1
        notifications_enabled           1
        notification_options            d,u,r
        notification_interval           15
        notification_period             24x7
        process_perf_data               0
        retain_nonstatus_information    0
        retain_status_information       1
        flap_detection_enabled          0
        max_check_attempts              1
        check_command                   check-host-alive
}

This is the host itself.

define host {
        use                     GenericHost
        host_name               myhost.com
        alias                   myhost.com
        address                 xx.xx.xx.xx  
{

Thanks !!



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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