Good morning dear
We were presented with an event this morning where an Oracle VM was turned off and therefore turned off the virtual ones that will run on it, including our NagiosXI production server.
When really the server, we notice that it is not graphing.
What should we check to fix this problem?
Best regards...
NagiosXI is not graphing
-
fraguillen
- Posts: 47
- Joined: Fri May 18, 2018 11:40 am
NagiosXI is not graphing
You do not have the required permissions to view the files attached to this post.
Re: NagiosXI is not graphing
You may have some files that need to be cleaned up since the shutdown likely wasn't neat. First I would run a database repair:
And then assuming you're using CentOS/RHEL 7 with modgearman, run this:
If you're using a version 6 Cent or Redhat, you'd want to use start and stop commands like "service mysqld stop" and "service mysqld start". If you're not using gearman then you can skip those commands or just ignore the messages you get when you run them.
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.shCode: Select all
systemctl stop httpd
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
systemctl stop ndo2db
systemctl stop mod-gearman-worker
systemctl stop gearmand
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
systemctl stop mysqld
systemctl start mysqld
systemctl start gearmand
systemctl start mod-gearman-worker
systemctl start ndo2db
systemctl start nagios
systemctl start npcd
systemctl start crond
systemctl start httpdAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NagiosXI is not graphing
In addition to this, use the KB article below in order to troubleshoot the issue with graphs:
https://support.nagios.com/kb/article/n ... ems-9.html
https://support.nagios.com/kb/article/n ... ems-9.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI is not graphing
Saw open ticket as well, locking thread