Page 1 of 1

Nagios XI Graph not working.

Posted: Mon Oct 13, 2014 10:14 pm
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.

Re: Nagios XI Graph not working.

Posted: Mon Oct 13, 2014 10:41 pm
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:

Re: Nagios XI Graph not working.

Posted: Tue Oct 14, 2014 10:40 am
by igsadmin
Hi Support,

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

Appreciate for your help.

Re: Nagios XI Graph not working.

Posted: Tue Oct 14, 2014 11:54 am
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

Re: Nagios XI Graph not working.

Posted: Tue Oct 14, 2014 9:59 pm
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?

Re: Nagios XI Graph not working.

Posted: Wed Oct 15, 2014 10:35 am
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

Re: Nagios XI Graph not working.

Posted: Wed Oct 15, 2014 11:17 am
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

Re: Nagios XI Graph not working.

Posted: Wed Oct 15, 2014 11:25 am
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

Re: Nagios XI Graph not working.

Posted: Wed Oct 15, 2014 11:28 am
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..

Re: Nagios XI Graph not working.

Posted: Wed Oct 15, 2014 12:57 pm
by lmiltchev
I am glad your issue has been resolved! I am locking this post.