rrd graphs showing zero data for given interval
Re: rrd graphs showing zero data for given interval
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
[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
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.
Re: rrd graphs showing zero data for given interval
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.
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
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.
Re: rrd graphs showing zero data for given interval
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_releaseBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: rrd graphs showing zero data for given interval
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"
[root@clesitonag1 ~]# cat /usr/local/nagios/etc/pnp/pnp4nagios_release
PKG_REL_DATE="05-02-2009"
PKG_VERSION="0.4.14"
PKG_NAME="pnp"
Re: rrd graphs showing zero data for given interval
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.
"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.
Re: rrd graphs showing zero data for given interval
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:
Give it some time, then run the following commands, and post the output in code wraps:
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 restartCode: Select all
tail -100 /usr/local/nagios/var/npcd.log
tail -100 /usr/local/nagios/var/perfdata.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: rrd graphs showing zero data for given interval
Ok, requested logs are attached.
You do not have the required permissions to view the files attached to this post.
Re: rrd graphs showing zero data for given interval
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/mrtgBe sure to check out our Knowledgebase for helpful articles and solutions!