Page 1 of 1

Nagios XI Daemons critical alert ...

Posted: Wed Dec 11, 2019 10:28 am
by xpertech
There're a lot "Critical :Error: Could not parse XML from http://10.36.5.199/nagiosxi/ (<?xml version="1.0" encoding="utf-8"?>"

Monitor the service with this command: (Advanced users only)
check_xi_nagiosxiserver!--address=10.36.5.199 --url=http://10.36.5.199/nagiosxi/ --username=nagiosadmin --ticket="e2h5n9nf" --mode=daemons!!!!!!!


What could be the problem?

Re: Nagios XI Daemons critical alert ...

Posted: Wed Dec 11, 2019 12:08 pm
by benjaminsmith
Hello @Xpertech,

The 'ticket' used in the comand has been deprecated. Try running the new version of the command from the shell, and let me know if you're getting the correct output. You'll need to add the api key to the command string. If you click on your username in the upper right, you can retrieve your API key.

Command:

Code: Select all

 /usr/bin/php /usr/local/nagios/libexec/check_nagiosxiserver.php --address=$HOSTADDRESS$ --url='https://<ip address>/nagiosxi/' --apikey='your-api-key' --mode=daemons
If this working, update the arguments for the service check for Nagios XI Daemons in the CCM.