Auto discovery does not add check commands to all services
Posted: Thu May 22, 2014 9:47 am
Hi
I have found a problem with the auto discovery wizard where the check command is not added to all services.
I ran the auto discovery wizard on a subnet and it added all of our nodes. When I tried to apply the change I saw this error in the file
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/10.255.254.145.cfg', starting on line 29)
Error processing object config files!
On the affected line I found this service where the check command did not exist
define service {
host_name 10.255.254.145.cfg
service_description Ping
use xiwizard_genericnetdevice_ping_service
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard genericnetdevice
register 1
}
This occurs every time for Ping, SSH, HTTP, HTTPS and FTP but there are no issues for other services
I am running the latest version, Nagios XI 2014R1.0 on a RHEL 6.4 VM
Has anybody had a similar issue?
Thanks for the help
I have found a problem with the auto discovery wizard where the check command is not added to all services.
I ran the auto discovery wizard on a subnet and it added all of our nodes. When I tried to apply the change I saw this error in the file
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/10.255.254.145.cfg', starting on line 29)
Error processing object config files!
On the affected line I found this service where the check command did not exist
define service {
host_name 10.255.254.145.cfg
service_description Ping
use xiwizard_genericnetdevice_ping_service
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard genericnetdevice
register 1
}
This occurs every time for Ping, SSH, HTTP, HTTPS and FTP but there are no issues for other services
I am running the latest version, Nagios XI 2014R1.0 on a RHEL 6.4 VM
Has anybody had a similar issue?
Thanks for the help