Hi Team,
We have faced an issue that the Nagios monitoring engine check statistics is showing null and it has been fixed by restarting the Nagios service(Done Apply configuration). During the issue time, we observed Nagios running and all components are showing green and observed CRM status shows all green.
And we could not find any root cause of why the issue happened.
Could you please help us to find the root cause of the issue
We have attached the screenshot for your reference.
Thanks
Nagios Manager engine status is shows null
Nagios Manager engine status is shows null
You do not have the required permissions to view the files attached to this post.
Re: Nagios Manager engine status is shows null
Please send me a profile the next time you find it in this broken state. Send me the profile via a private message. The profile can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip.
Code: Select all
/usr/local/nagiosxi/scripts/components/getprofile.sh 61238As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Manager engine status is shows null
Hi,
System profile file sent you as PM.
Thanks
System profile file sent you as PM.
Thanks
Re: Nagios Manager engine status is shows null
That table is populated from values found in the nagiosxi database. XI runs:
and then parses the information it returns. The database in your environment appears to be offloaded to another so the profile is missing any database logs. I would check these for error. Also do a database repair by following the steps in https://assets.nagios.com/downloads/nag ... tabase.pdf.
Code: Select all
select * from xi_sysstat;As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Manager engine status is shows null
Hi,
We don’t see any db issue. Please find the attachment for the details of the xi_sysstat table.
Thanks
We don’t see any db issue. Please find the attachment for the details of the xi_sysstat table.
Thanks
You do not have the required permissions to view the files attached to this post.
Re: Nagios Manager engine status is shows null
I do not have access to your profile and @cdienger is out of the office today.
If you're not on XI 5.8.1 I would upgrade to that and validate.
If you're not able to upgrade but you are on XI 5.7+, I would do this and see if that resolves it:
Copy the attached ndo-master.zip file to the XI server and run the following commands as root:
Then restart the nagios service:
See if that alleviates the issue.
If you're not on XI 5.8.1 I would upgrade to that and validate.
If you're not able to upgrade but you are on XI 5.7+, I would do this and see if that resolves it:
Copy the attached ndo-master.zip file to the XI server and run the following commands as root:
Code: Select all
unzip ndo-master.zip
cd ndo-master
./configure
make all
make installCode: Select all
systemctl restart nagiosYou do not have the required permissions to view the files attached to this post.
Re: Nagios Manager engine status is shows null
Hi ssax,
Thanks for the reply.
Unfortunately, we cannot do any upgrade to the Nagios xi right now as we had faced a lot of problems with the last upgrade and performed a downgrade to solve those issues.
Anyway, We will send the system profile as PM to you. please have a look and let us know if you find any issues.
Thanks
Thanks for the reply.
Unfortunately, we cannot do any upgrade to the Nagios xi right now as we had faced a lot of problems with the last upgrade and performed a downgrade to solve those issues.
Anyway, We will send the system profile as PM to you. please have a look and let us know if you find any issues.
Thanks
Re: Nagios Manager engine status is shows null
Ok, I didn't know you were on XI 5.5, since you're on that ignore the previous instructions.
Did anything change on the system prior to this occurring?
Please PM me your /usr/local/nagios/var/nagios.log so I can look through it. Grab the one from /usr/local/nagios/var/archives as well that contains the data when this occurred (the filename in archives will list a day after, so if you want data from the 8th you would grab the archive filename that shows the 9th because it's rotated the next day at midnight).
You should edit this file:
Change this:
To this:
Please run this command and send me the resulting /tmp/HTTPDFILES.zip file:
Did anything change on the system prior to this occurring?
Please PM me your /usr/local/nagios/var/nagios.log so I can look through it. Grab the one from /usr/local/nagios/var/archives as well that contains the data when this occurred (the filename in archives will list a day after, so if you want data from the 8th you would grab the archive filename that shows the 9th because it's rotated the next day at midnight).
You should edit this file:
Code: Select all
/usr/local/nagiosxi/html/config.inc.phpCode: Select all
$cfg['use_https'] = false;Code: Select all
$cfg['use_https'] = true;Code: Select all
zip -r /tmp/HTTPDFILES.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d /etc/php.ini