Nagios XI Daemons critical alert ...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Nagios XI Daemons critical alert ...

Post 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?
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 ...

Post 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.
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!
Locked