[omd-users] Unable to update rrds

Dhawal Doshy dhawal.doshy at gmail.com
Wed Jan 5 18:45:41 CET 2011


On Wed, Jan 5, 2011 at 11:05 PM, Dhawal Doshy <dhawal.doshy at gmail.com> wrote:
> Hello List / Mathias,
>
> I'm using the nightly on Centos 5.5 32-bit.
>
> Somehow, i never noticed that while rrd files are being created, they
> are not being updated. When i turned on logging in npcd.cfg and
> process_perfdata.cfg i found the following error.
>
> npcd.log
> [01-05-2011 23:09:58] NPCD: No more files to process... waiting for 15 seconds
> [01-05-2011 23:10:13] NPCD: Found 3 files in
> /omd/sites/production/var/pnp4nagios/spool/
> [01-05-2011 23:10:13] NPCD: ThreadCounter 0/5 File is .
> [01-05-2011 23:10:13] NPCD: ThreadCounter 0/5 File is ..
> [01-05-2011 23:10:13] NPCD: ThreadCounter 0/5 File is perfdata.1294249206
> [01-05-2011 23:10:13] NPCD: Regular File: perfdata.1294249206
> [01-05-2011 23:10:13] NPCD: A thread was started on thread_counter = 0
> [01-05-2011 23:10:13] NPCD: Have to wait: Filecounter = 1 - thread_counter = 1
> [01-05-2011 23:10:13] NPCD: Processing file perfdata.1294249206 with
> ID -1208214640 - going to exec
> /omd/sites/production/lib/pnp4nagios/process_perfdata.pl -n -c
> /omd/sites/production/etc/pnp4nagios/process_perfdata.cfg -b
> /omd/sites/production/var/pnp4nagios/spool//perfdata.1294249206
> [01-05-2011 23:10:13] NPCD: Processing file 'perfdata.1294249206'
> [01-05-2011 23:10:15] NPCD: No more files to process... waiting for 15 seconds
>
> 2011-01-05 23:10:48 [1957] [2] No Custom Template found for
> check-mk-ping (/omd/sites/production/etc/pnp4nagios/check_commands/check-mk-ping.cfg)
> 2011-01-05 23:10:48 [1957] [2] Template is check-mk-ping.php
> 2011-01-05 23:10:48 [1957] [2] No Custom Template found for
> check-mk-ping (/omd/sites/production/etc/pnp4nagios/check_commands/check-mk-ping.cfg)
> 2011-01-05 23:10:48 [1957] [2] Template is check-mk-ping.php
> 2011-01-05 23:10:48 [1957] [2] data2rrd called
> 2011-01-05 23:10:48 [1957] [2] RRDs::update
> --daemon=unix:/omd/sites/production/tmp/run/rrdcached.sock
> /omd/sites/production/var/pnp4nagios/perfdata/Cisco-L2-Swth/_HOST_.rrd
> 1294249232:0.682:0:0.811:0.605
> 2011-01-05 23:10:48 [1957] [1] RRDs::update ERROR unknown option
> '--daemon=unix:/omd/sites/production/tmp/run/rrdcached.sock' *<== This
> doesn't seem right.*
> 2011-01-05 23:10:48 [1957] [1] 69 lines processed
> 2011-01-05 23:10:48 [1957] [1]
> /omd/sites/production/var/pnp4nagios/spool//perfdata.1294249236-PID-1957
> deleted
> 2011-01-05 23:10:48 [1957] [1] PNP exiting (runtime 0.162005s) ...
>
> Any idea what can i correct to get the graphs working again?

Some more troubleshooting, these lines exist in both
etc/pnp4nagios/process_perfdata.cfg & etc/pnp4nagios/config.php
#
# Use only with rrdtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
RRD_DAEMON_OPTS = unix:/omd/sites/production/tmp/run/rrdcached.sock

While the rrdtool version shipped with the nightly is 1.4.5
OMD[production]:~/bin$ ./rrdtool version
RRDtool 1.4.5  Copyright 1997-2010 by Tobias Oetiker <tobi at oetiker.ch>
               Compiled Jan  5 2011 01:26:02

Could this be the cause?

thanks,
- dhawal


More information about the omd-users mailing list