Nagios 3, Bogus(?) "host could not be found" problem

Dale J. Chatham dale at chatham.org
Mon Nov 3 17:07:22 CET 2008


I'm getting the following log messages.  Below are the configuration 
items and below all are the appropriate entries from objects.cache.



 From /var/log/messages:

Nov  3 10:00:34 coresvc05 nagios[12217]: [ID 702911 user.info] Warning: 
Check result queue contained results for host 'vio', but the host could 
not be found!  Perhaps you forgot to define the host in your config files?

define service{
    service_description                PING
    check_command                      check_ping
    use                                all_hosts,generic_service
}


define service{
    host_name                          *
    name                               all_hosts
    register                           0
}


define service{
    name                               generic_service
    max_check_attempts                 3
    normal_check_interval              10
    retry_check_interval               5
    active_checks_enabled              1
    check_period                       24x7
    notification_interval              600
    notification_period                24x7
    notification_options               w,c,r
    notifications_enabled              1
    register                           0
}

define host {
    host_name                      vio
    alias                          vio
    address                        xxx.yyy.zzz.114
    use                            generic_host,linux_host
}

define host {
    name                           generic_host
    check_command                  check_host_alive
    max_check_attempts             5
    check_period                   24x7
    contact_groups                 dale
    notification_interval          30
    notification_period            24x7
    notification_options           d,u,r,f
    register 0
}

define host {
    name                           linux_host
    statusmap_image                base/redhat.png
    register 0
}

====================================================================

Objects.cache:
define host {
        host_name       vio
        alias   vio
        address xxx.yyy.zzz.114
        check_period    24x7
        check_command   check_host_alive
        contact_groups  dale
        notification_period     24x7
        initial_state   o
        check_interval  5.000000
        retry_interval  1.000000
        max_check_attempts      5
        active_checks_enabled   1
        passive_checks_enabled  1
        obsess_over_host        1
        event_handler_enabled   1
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        flap_detection_options  o,d,u
        freshness_threshold     0
        check_freshness 0
        notification_options    d,u,r,f
        notifications_enabled   1
        notification_interval   30.000000
        first_notification_delay        0.000000
        stalking_options        n
        process_perf_data       1
        failure_prediction_enabled      1
        statusmap_image base/redhat.png
        retain_status_information       1
        retain_nonstatus_information    1
        }

define service {
        host_name       vio
        service_description     PING
        check_period    24x7
        check_command   check_ping
        contact_groups  dale
        notification_period     24x7
        initial_state   o
        check_interval  10.000000
        retry_interval  5.000000
        max_check_attempts      3
        is_volatile     0
        parallelize_check       1
        active_checks_enabled   1
        passive_checks_enabled  1
        obsess_over_service     1
        event_handler_enabled   1
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        flap_detection_options  o,w,u,c
        freshness_threshold     0
        check_freshness 0
        notification_options    w,c,r
        notifications_enabled   1
        notification_interval   600.000000
        first_notification_delay        0.000000
        stalking_options        n
        process_perf_data       1
        failure_prediction_enabled      1
        retain_status_information       1
        retain_nonstatus_information    1
        }


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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