Nagios XI Graph not working.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Nagios XI Graph not working.

Post by igsadmin »

Dear Guys,

Hi, our Nagios XI Graph is not working after I did a reboot yesterday.
Anyway to solve this?

Appreciate for your help.

Thanks.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Re: Nagios XI Graph not working.

Post by igsadmin »

igsadmin wrote:Dear Guys,

Hi, our Nagios XI Graph is not working after I did a reboot yesterday.
Anyway to solve this?

Appreciate for your help.

Thanks.
After I initiated "service npcd restart"
Graph is back to normal now... :shock:
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Re: Nagios XI Graph not working.

Post by igsadmin »

Hi Support,

The Nagios XI Graph is not working again...
Need help on this...

Appreciate for your help.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Graph not working.

Post by tmcdonald »

Sorry we missed you - our support is from 9AM to 5PM CDT so posts outside of that range will have a bit of a delay in response.

What version of XI are you using? Do you have a lot of perfdata files piling up? What's the system load?

Code: Select all

ls -l /usr/local/nagios/var/spool/perfdata/
ls -l /usr/local/nagios/var/spool/xidpe/
w | head -1
Former Nagios employee
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Re: Nagios XI Graph not working.

Post by igsadmin »

tmcdonald wrote:Sorry we missed you - our support is from 9AM to 5PM CDT so posts outside of that range will have a bit of a delay in response.

What version of XI are you using? Do you have a lot of perfdata files piling up? What's the system load?

Code: Select all

ls -l /usr/local/nagios/var/spool/perfdata/
ls -l /usr/local/nagios/var/spool/xidpe/
w | head -1
Hi,
My Nagios XI version is "Nagios XI 2014R1.4"

[root@localhost ~]# ls -l /usr/local/nagios/var/spool/perfdata/
total 0
[root@localhost ~]# ls -l /usr/local/nagios/var/spool/xidpe/
total 0
[root@localhost ~]# w | head -1
10:58:38 up 11:12, 1 user, load average: 0.52, 0.49, 0.46

I did a reboot on the Nagios XI server yesterday, seem like the graph is back to normal.
May I know, anyway I can prevent this to happen again? or how to troubleshoot it if happen again?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios XI Graph not working.

Post by Box293 »

I'm currently playing with some ideas on adding extra services to localhost so we can catch these things before they become an issue.

I don't have anything concrete yet however I suggest adding some services that:
  • check to make sure the npcd service is running
    Doing a file count of /usr/local/nagios/var/spool/perfdata/ to make sure it's not filling up
    Doing a file count of /usr/local/nagios/var/spool/xidpe/ to make sure it's not filling up
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Re: Nagios XI Graph not working.

Post by igsadmin »

Box293 wrote:I'm currently playing with some ideas on adding extra services to localhost so we can catch these things before they become an issue.

I don't have anything concrete yet however I suggest adding some services that:
  • check to make sure the npcd service is running
    Doing a file count of /usr/local/nagios/var/spool/perfdata/ to make sure it's not filling up
    Doing a file count of /usr/local/nagios/var/spool/xidpe/ to make sure it's not filling up
My current npcd service is running.

[root@localhost ~]# ll -ltrh /usr/local/nagios/var/spool/xidpe/
total 24K
-rw-r--r-- 1 nagios users 2.8K Oct 16 00:16 1413389801.perfdata.host
-rw-r--r-- 1 nagios users 19K Oct 16 00:16 1413389801.perfdata.service


[root@localhost ~]# ll -ltrh /usr/local/nagios/var/spool/perfdata/
total 24K
-rw-r--r-- 1 nagios users 20K Oct 16 00:16 1413389816.perfdata.service
-rw-r--r-- 1 nagios users 1.3K Oct 16 00:16 1413389816.perfdata.host
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios XI Graph not working.

Post by sreinhardt »

I believe troy was simply mentioning adding these additional checks simply to help alert when this may be an issue. It sounds to me like you may not have npcd set to start automatically. Let's try adding it, and see if that helps on next reboot. Otherwise we will likely have to grab /var/log/messages right after a reboot to see whats happening with the npcd service. Try running:

Code: Select all

chkconfig --add npcd
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
igsadmin
Posts: 64
Joined: Wed Mar 26, 2014 5:09 am

Re: Nagios XI Graph not working.

Post by igsadmin »

sreinhardt wrote:I believe troy was simply mentioning adding these additional checks simply to help alert when this may be an issue. It sounds to me like you may not have npcd set to start automatically. Let's try adding it, and see if that helps on next reboot. Otherwise we will likely have to grab /var/log/messages right after a reboot to see whats happening with the npcd service. Try running:

Code: Select all

chkconfig --add npcd

I added the npcd services and turn on start automatically after reboot..
Thanks for your support..
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI Graph not working.

Post by lmiltchev »

I am glad your issue has been resolved! I am locking this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked