Page 1 of 1
Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 10:29 am
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!
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 12:23 pm
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.
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 12:45 pm
by scottwilkerson
Can you run the following and report the output?
Additionally, can you describe which pages you are trying to access?
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 12:48 pm
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.
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 12:51 pm
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.
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 1:13 pm
by scottwilkerson
The article
@tacolover101 mentioned can help.
Also make sure crond is running
and that the nagios user isn't expired
Have you made changes recently to your XI server?
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 2:31 pm
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.
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 2:55 pm
by scottwilkerson
it is pretty odd your system doesn't have the
wc binary, but you can install it with the following command
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.
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 3:00 pm
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
Re: Nagios XI reporting features not working
Posted: Tue Sep 26, 2017 3:08 pm
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