Page 1 of 1

Need help Nagios XI

Posted: Mon Feb 10, 2020 2:34 pm
by Franesas
Hi Guys,

Im trialling nagiosXI and it isnt going very well. Everything was running alright until I tried to add a new hostgroup through the interface, this happened;

Code: Select all

Checking services...
Error: Service check command 'check_xi_service_snmp' specified in service 'Battery Status' for host 'APC Smart-UPS 5000' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Output Load' for host 'APC Smart-UPS 5000' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Power State' for host 'APC Smart-UPS 5000' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Remaining Battery Charge' for host 'APC Smart-UPS 5000 AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Replace Battery Flag' for host 'APC Smart-UPS 5000' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Battery Status' for host 'APC Smart-UPS 5000 ' not defined anywhere!
Warning: Service 'Battery Status' on host 'APC Smart-UPS 5000 ' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp' specified in service 'Output Load' for host 'APC Smart-UPS 5000 ' not defined anywhere!
Warning: Service 'Output Load' on host 'APC Smart-UPS 5000 ' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp' specified in service 'Power State' for host 'APC Smart-UPS 5000 ' not defined anywhere!
Warning: Service 'Power State' on host 'APC Smart-UPS 5000 ' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp' specified in service 'Remaining Battery Charge' for host 'APC Smart-UPS 5000 ' not defined anywhere!
Warning: Service 'Remaining Battery Charge' on host 'APC Smart-UPS 5000 ' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp' specified in service 'Replace Battery Flag' for host 'APC Smart-UPS 5000 ' not defined anywhere!
Warning: Service 'Replace Battery Flag' on host 'APC Smart-UPS 5000 ' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp' specified in service 'Battery Status' for host 'APC Smart-UPS RT 5000 RM XL AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Output Load' for host 'APC Smart-UPS RT 5000 RM XL AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Power State' for host 'APC Smart-UPS RT 5000 RM XL AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Remaining Battery Charge' for host 'APC Smart-UPS RT 5000 RM XL AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp' specified in service 'Replace Battery Flag' for host 'APC Smart-UPS RT 5000 RM XL AKL' not defined anywhere!
Error: Service check command 'check_xi_service_snmp_win_load' specified in service 'CPU Usage' for host 'O-DR1' not defined anywhere!
Warning: Service 'CPU Usage' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Drive C: Disk Usage' for host 'O-DR1' not defined anywhere!
Warning: Service 'Drive C: Disk Usage' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Drive D: Disk Usage' for host 'O-DR1' not defined anywhere!
Warning: Service 'Drive D: Disk Usage' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Drive Z: Disk Usage' for host 'O-DR1' not defined anywhere!
Warning: Service 'Drive Z: Disk Usage' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_process' specified in service ' Movement v1.0b' for host 'O-DR1' not defined anywhere!
Warning: Service ' Movement v1.0b' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_process' specified in service 'SQL Server' for host 'O-DR1' not defined anywhere!
Warning: Service 'SQL Server' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Virtual Memory Usage' for host 'O-DR1' not defined anywhere!
Warning: Service 'Virtual Memory Usage' on host 'O-DR1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_load' specified in service 'CPU Usage' for host 'O-SAFE1' not defined anywhere!
Warning: Service 'CPU Usage' on host 'O-SAFE1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Drive C: Disk Usage' for host 'O-SAFE1' not defined anywhere!
Warning: Service 'Drive C: Disk Usage' on host 'O-SAFE1' has no default contacts or contactgroups defined!
Error: Service check command 'check_xi_service_snmp_win_storage' specified in service 'Drive D: Disk Usage' for host 'O-SAFE1' not defined anywhere!
There are about a 100 of these errors. I have no idea what caused them, I just went to add a host group and clicked "Apply".

Anyone? Thanks.

Re: Need help Nagios XI

Posted: Mon Feb 10, 2020 5:50 pm
by scottwilkerson
The first error looks like someone deleted or deactivated a bunch of service commands.

Go to CCM -> Commands and search for check_xi_service_snmp
If they are deactivated, re-activate.
save
Apply Configuration

The other notices you have are simply because you have not assigned contacts to the hosts/services