Pre-flight OK, but can't see any hosts - Help

Chaudhry, Zaeem zaeem.chaudhry at fmr.com
Thu Mar 16 21:46:31 CET 2006


 
Hello all,

BELOW IS THE OUTPUT FROM PRE-FLIGHT CONFIG COMMAND ON NAGIOS SERVER:

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

[root at localhost servers]# /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg
 
Nagios 2.0
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 02-07-2006
License: GPL
 
Reading configuration data...
 
Running pre-flight check on configuration data...
 
Checking services...
        Checked 7 services.
Checking hosts...
        Checked 7 hosts.
Checking host groups...
        Checked 1 host groups.
Checking service groups...
        Checked 1 service groups.
Checking contacts...
        Checked 1 contacts.
Checking contact groups...
        Checked 1 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 22 commands.
Checking time periods...
        Checked 1 time periods.
Checking extended host info definitions...
        Checked 0 extended host info definitions.
Checking extended service info definitions...
        Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
 
Total Warnings: 0
Total Errors:   0
 
Things look okay - No serious problems were detected during the 
pre-flight check
===================================================================


When I click on "Host Detail" under "Monitoring" menu on the webserver 
to check the status of the switches I want to monitor, I don't see any,
although I can ping the switches on my network.

Below is a snapshot of my "hosts.cfg" file:

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

define host {
        use             firn-host-template
        host_name       65.91.73.226
        alias           C29V4FCATFIRNA01
        address         65.91.73.226
        }
define service {
        use             firn-service-http
        host_name       65.91.73.226
        }
# IP: 65.91.73.226
 

 

 

define host {
        use             firn-host-template
        host_name       192.168.0.2
        alias           C29V4FCATFIRNA02
        address         192.168.0.2
        }
define service {
        use             firn-service-http
        host_name       192.168.0.2
        }
# IP: 192.168.0.2

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

Any idea why this is happening?

Thanks,
Zaeem.

  



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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