Nagios XI reporting features not working
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Nagios XI reporting features not working
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!
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!
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Nagios XI reporting features not working
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.
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
Can you run the following and report the output?
Additionally, can you describe which pages you are trying to access?
Code: Select all
tail -100 /var/log/mysqld.log-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Nagios XI reporting features not working
Hi, I worded that wrong, sorry about that. It's the performance graphs that aren't working. Showing the CPU usage, memory, etc.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Nagios XI reporting features not working
doh.
this article should solve it for you - https://support.nagios.com/kb/article.php?id=9 - generally an issue with RRD processing.
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
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?
Also make sure crond is running
Code: Select all
service crond statusCode: Select all
chage -l nagiosHave you made changes recently to your XI server?
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Nagios XI reporting features not working
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.
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
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.
Code: Select all
yum install coreutils -y-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Nagios XI reporting features not working
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
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
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)
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
Code: Select all
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Last edited by scottwilkerson on Tue Sep 26, 2017 3:09 pm, edited 1 time in total.
Reason: more complete
Reason: more complete