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?
Nagios XI Daemons critical alert ...
Nagios XI Daemons critical alert ...
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios XI Daemons critical alert ...
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:
If this working, update the arguments for the service check for Nagios XI Daemons in the CCM.
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!