Help - minor issue (host detail vs. service detail)

Natalie Aloi naloi at experisdatacenters.com
Thu Apr 2 22:11:05 CEST 2009


Hello,

I am new to Nagios and this users list so forgive me if I am doing this incorrectly

I just recently added a bunch of new hosts to our nagios config everthing seems to be working great :-)

Except...
when I display the Host Detail Page under the column Last Check it says NA and there is no Status Information BUT
when I display the Services Detail Page the information for Last Check and Status Information is displayed for every host defined!

I have looked & looked but am unsure where (which config file to check) or why this is the case

this is only happening for my newly defined hosts the old hosts are each defined in their own .cfg files 

below are the config files I thought might be helpful...

[root at nagios nagios]# more hosts.cfg
define host{
 host_name win2k3
 alias Windows Server
 address 10.1.102.22
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name security_server_214
 alias security Panel 1
 address 65.205.26.214
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name security_server_215
 alias security Panel 2
 address 65.205.26.215
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name security_server_216
 alias security Panel 3
 address 65.205.26.216
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name security_server
 alias security server
 address 65.205.26.207
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name carrier_208
 alias carrier control box rm15
 address 65.205.26.208
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name carrier_209
 alias carrier control box 2 rm15
 address 65.205.26.209
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
define host{
 host_name carrier_210
 alias carrier server
 address 65.205.26.210
 max_check_attempts 5
 check_period 24x7
 contact_groups admins
 notification_interval 30
 notification_period 24x7
 notification_options d,u,r
 }
[root at nagios nagios]#

 [root at nagios servers]# ls -lat
total 936
drwxr-xr-x 2 root root 4096 2009-04-02 15:45 .
-rw-r--r-- 1 root root 2301 2009-04-02 15:45 00_services.cfg
drwxr-xr-x 11 root root 4096 2009-04-02 15:27 ..
-rw-r--r-- 1 root root 932438 2009-04-02 13:25 mibwalk_win2k3
-rw-r--r-- 1 root root 135 2009-04-02 12:52 00_groups.cfg
-rw-r--r-- 1 root root 1125 2008-07-26 12:54 01_localhost.cfg

[root at nagios servers]# more 01_localhost.cfg
define host{
 use linux-server
 host_name localhost
 alias localhost
 address 127.0.0.1
 }
#Extra tests...
define service{
 use local-service
 host_name localhost
 service_description ssh
 check_command check_ssh_4
 }

thanks!
Natalie
Experis Data Center LLC 
8209 Valley Pike 
PO Box 535 
Middletown,VA 22645 
phone:540-869-8702 
cell:240-988-3267 
fax:540-869-8710 
e-mail:naloi at experisdatacenters.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090402/44e4a59a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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