rrd graphs showing zero data for given interval

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: rrd graphs showing zero data for given interval

Post by jericho_g »

Ok, I'll increase it later today. Here is the requested output:

[root@clesitonag1 ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
2
[root@clesitonag1 ~]# ls /usr/local/nagios/var/spool/xdipe | wc -l
ls: cannot access /usr/local/nagios/var/spool/xdipe: No such file or directory
0
[root@clesitonag1 ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
224
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: rrd graphs showing zero data for given interval

Post by slansing »

It looks like your check results are getting processed properly at that level, let us know if changing the timeout value has the intended effect.
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: rrd graphs showing zero data for given interval

Post by jericho_g »

We increased the the timeout to 30 seconds. I'm not seeing timeouts in the logs, but we're still seeing dropouts in the performance graphs.
Nagios_XI_1.jpg
cacti1.jpg
root@clesitonag1 ~]# tail -f /usr/local/nagios/var/npcd.log
[02-26-2014 13:12:58] NPCD: A thread was started on thread_counter = 0
[02-26-2014 13:12:58] NPCD: DEBUG: load 13.570000/40.000000
[02-26-2014 13:12:58] NPCD: ThreadCounter 1/4 File is 1393438364.perfdata.service
[02-26-2014 13:12:58] NPCD: Regular File: 1393438364.perfdata.service
[02-26-2014 13:12:58] NPCD: A thread was started on thread_counter = 1
[02-26-2014 13:12:58] NPCD: Processing file 1393438364.perfdata.host with ID 140737343776512 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1393438364.perfdata.host
[02-26-2014 13:12:58] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-26-2014 13:12:58] NPCD: Processing file 1393438364.perfdata.service with ID 140737199068928 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1393438364.perfdata.service
[02-26-2014 13:12:58] NPCD: Processing file '1393438364.perfdata.host'
[02-26-2014 13:12:58] NPCD: Processing file '1393438364.perfdata.service'
[02-26-2014 13:13:00] NPCD: No more files to process... waiting for 10 seconds


tail -f /usr/local/nagios/var/perfdata.log
2014-02-21 13:05:53 [20794] [0] *** TIMEOUT: Please check your npcd.cfg
2014-02-21 13:05:53 [20794] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1393005918.perfdata.service-PID-20794 deleted
2014-02-21 13:05:53 [20794] [0] *** Timeout while processing Host: "smnwallpoe18.advanstar.com" Service: "FastEthernet0_4_Bandwidth"
2014-02-21 13:05:53 [20794] [0] *** process_perfdata.pl terminated on signal ALRM
2014-02-22 13:06:01 [34503] [0] *** TIMEOUT: Timeout after 30 secs. ***
2014-02-22 13:06:01 [34503] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-02-22 13:06:01 [34503] [0] *** TIMEOUT: Please check your npcd.cfg
2014-02-22 13:06:01 [34503] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1393092318.perfdata.service-PID-34503 deleted
2014-02-22 13:06:01 [34503] [0] *** Timeout while processing Host: "smnwallpoe20.advanstar.com" Service: "FastEthernet0_14_Bandwidth"
2014-02-22 13:06:01 [34503] [0] *** process_perfdata.pl terminated on signal ALRM
You do not have the required permissions to view the files attached to this post.
Last edited by jericho_g on Thu Feb 27, 2014 7:16 pm, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: rrd graphs showing zero data for given interval

Post by lmiltchev »

Did you upgrade pnp4nagios by chance? Can you run the following command, and show us the output:

Code: Select all

cat /usr/local/nagios/etc/pnp/pnp4nagios_release
Be sure to check out our Knowledgebase for helpful articles and solutions!
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: rrd graphs showing zero data for given interval

Post by jericho_g »

Not sure, but here's the requested output:

[root@clesitonag1 ~]# cat /usr/local/nagios/etc/pnp/pnp4nagios_release
PKG_REL_DATE="05-02-2009"
PKG_VERSION="0.4.14"
PKG_NAME="pnp"
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: rrd graphs showing zero data for given interval

Post by abrist »

Have you ever attempted to set up a ramdisk or rrdcached?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: rrd graphs showing zero data for given interval

Post by jericho_g »

No.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: rrd graphs showing zero data for given interval

Post by lmiltchev »

Let's take a look at the logs again.

Change the log level to "debug" in both, the "/usr/local/nagios/etc/pnp/npcd.cfg" and the "/usr/local/nagios/etc/pnp/process_perfdata.cfg" file, and restart npcd:

Code: Select all

service npcd restart
Give it some time, then run the following commands, and post the output in code wraps:

Code: Select all

tail -100 /usr/local/nagios/var/npcd.log
tail -100 /usr/local/nagios/var/perfdata.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: rrd graphs showing zero data for given interval

Post by jericho_g »

Ok, requested logs are attached.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: rrd graphs showing zero data for given interval

Post by lmiltchev »

Did you update MRTG? What is the output of the following commands?

Code: Select all

env LANG=C LC_ALL=C /usr/bin/mrtg
ll /var/lock/mrtg
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked