Nagios Manager engine status is shows null

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Nagios Manager engine status is shows null

Post by mejokj »

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
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Manager engine status is shows null

Post by cdienger »

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:

Code: Select all

/usr/local/nagiosxi/scripts/components/getprofile.sh 61238
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Nagios Manager engine status is shows null

Post by mejokj »

Hi,

System profile file sent you as PM.

Thanks
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Manager engine status is shows null

Post by cdienger »

That table is populated from values found in the nagiosxi database. XI runs:

Code: Select all

select * from xi_sysstat;
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Nagios Manager engine status is shows null

Post by mejokj »

Hi,

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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Manager engine status is shows null

Post by ssax »

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:

Code: Select all

unzip ndo-master.zip
cd ndo-master
./configure
make all
make install
Then restart the nagios service:

Code: Select all

systemctl restart nagios
See if that alleviates the issue.
You do not have the required permissions to view the files attached to this post.
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Nagios Manager engine status is shows null

Post by mejokj »

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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Manager engine status is shows null

Post by ssax »

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:

Code: Select all

/usr/local/nagiosxi/html/config.inc.php
Change this:

Code: Select all

$cfg['use_https'] = false;
To this:

Code: Select all

$cfg['use_https'] = true;
Please run this command and send me the resulting /tmp/HTTPDFILES.zip file:

Code: Select all

zip -r /tmp/HTTPDFILES.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d /etc/php.ini
Locked