NagiosXI is not graphing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fraguillen
Posts: 47
Joined: Fri May 18, 2018 11:40 am

NagiosXI is not graphing

Post by fraguillen »

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...
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: NagiosXI is not graphing

Post by cdienger »

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:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
And then assuming you're using CentOS/RHEL 7 with modgearman, run this:

Code: 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 httpd
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI is not graphing

Post by lmiltchev »

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
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

Post by scottwilkerson »

Saw open ticket as well, locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked