Just added another 12 hosts using Bulk Add and none of them are displaying HOST graph details either.
Only the original host "localhost" shows this graph.
I've added hosts today on another Nagios Server, but this was upgraded to XI5 R2.0 and it is displaying the HOST perf data OK
# cat /usr/local/nagios/etc/hosts/XXX.local.cfg
Code: Select all
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.5.0
# Date: 2015-11-02 15:58:00
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name XXX.local
use linux-server
alias XXX:Wintel:
display_name XXX
address 10.X.X.X
hostgroups XX-Wintel
check_command check-host-alive!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contact_groups XXX
notification_interval 0
notification_period 24x7
icon_image wintel.png
statusmap_image wintel.png
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
# ll -d /usr/local/nagios/share/perfdata/XXX.local
Code: Select all
drwxrwxr-x 2 nagios nagios 4096 Nov 2 16:28 /usr/local/nagios/share/perfdata/XXX.local
# ll /usr/local/nagios/share/perfdata/XXX.local
Code: Select all
total 4900
-rwxrwxr-x 1 nagios nagios 384952 Nov 2 16:26 CPU_Usage_-_Wintel.rrd
-rw-rw-r-- 1 nagios nagios 2247 Nov 2 16:26 CPU_Usage_-_Wintel.xml
-rwxrwxr-x 1 nagios nagios 1534768 Nov 2 16:27 Disk_Usage_-_Application_Disks_-_Wintel.rrd
-rw-rw-r-- 1 nagios nagios 5450 Nov 2 16:27 Disk_Usage_-_Application_Disks_-_Wintel.xml
-rwxrwxr-x 1 nagios nagios 768224 Nov 2 16:28 Disk_Usage_-_System_Disks_-_Wintel.rrd
-rw-rw-r-- 1 nagios nagios 3453 Nov 2 16:28 Disk_Usage_-_System_Disks_-_Wintel.xml
-rwxrwxr-x 1 nagios nagios 2301312 Nov 2 16:28 Memory_Usage_-_Wintel.rrd
-rw-rw-r-- 1 nagios nagios 6311 Nov 2 16:28 Memory_Usage_-_Wintel.xml
I also ran this
# find /usr/local/nagios/share/perfdata -name "*HOST*"
Code: Select all
/usr/local/nagios/share/perfdata/localhost/_HOST_.rrd
/usr/local/nagios/share/perfdata/localhost/_HOST_.xml
# cat /usr/local/nagios/etc/hosts/localhost.cfg
Code: Select all
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.5.0
# Date: 2015-10-08 18:45:15
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name localhost
use linux-server
alias localhost
address 127.0.0.1
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################