Nagios XI reporting features not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Nagios XI reporting features not working

Post by MNcomputer »

Hello,

We have Nagios XI, and our reporting feature has stopped working\displaying ping, cpu usage, memory usage, etc. Wondering how to reestablish the connection to active these reports again on each host\server?

Thank you!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios XI reporting features not working

Post by tacolover101 »

how large are teh reports you're attempting to generate? does it work if you reduce the size of it?

reporting generally depends on SQL, which shouldn't be disconnected from the machine at all.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI reporting features not working

Post by scottwilkerson »

Can you run the following and report the output?

Code: Select all

tail -100 /var/log/mysqld.log
Additionally, can you describe which pages you are trying to access?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Nagios XI reporting features not working

Post by MNcomputer »

Hi, I worded that wrong, sorry about that. It's the performance graphs that aren't working. Showing the CPU usage, memory, etc.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios XI reporting features not working

Post by tacolover101 »

doh.

this article should solve it for you - https://support.nagios.com/kb/article.php?id=9 - generally an issue with RRD processing.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI reporting features not working

Post by scottwilkerson »

The article @tacolover101 mentioned can help.

Also make sure crond is running

Code: Select all

service crond status
and that the nagios user isn't expired

Code: Select all

chage -l nagios

Have you made changes recently to your XI server?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Nagios XI reporting features not working

Post by MNcomputer »

Hi,

I read the article, and did command:

watch 'ls /usr/local/nagios/var/spool/perfdata/ | wc -l' from: https://support.nagios.com/kb/article.php?id=9

and it is running, but showing a " s: cannot access wc: No such file or directory" on the screen now. Wondering should I wait for this to complete, and see if the graphs start working again?

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI reporting features not working

Post by scottwilkerson »

it is pretty odd your system doesn't have the wc binary, but you can install it with the following command

Code: Select all

yum install coreutils -y
I will add to this post and say if somehow the coreutils package was uninstalled, it could be causing all the issues you are having.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Nagios XI reporting features not working

Post by MNcomputer »

Thank you, that worked.

Do I run the this command now, or do I wait the 30 minutes to see if the graphs start working?

Run this now?
find /usr/local/nagios/var/spool/perfdata/ -type f -delete
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI reporting features not working

Post by scottwilkerson »

I would wait just a bit to see if the graphs start populating, although I would run these to see if the numbers returned are extremely high (like over 20,000)

Code: Select all

ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
I would also consult with anyone who has access to this server to see if any other packages were removed, they could severely impact the running of Nagios XI
Last edited by scottwilkerson on Tue Sep 26, 2017 3:09 pm, edited 1 time in total.
Reason: more complete
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked