Hi all,
I'm having a weird problem for which I can't seem to hunt down a cause/solution. I have a custom script that's using SPLITNCV to store data, but the data stored in the rrd files are different from those reported by the script. Below you'll notice that at 10:48:34 customer_info is reported at 1, but in the rrd file it's showing 10:50:00 and 8.8008800880e-04. Any ideas?
CLIENT VERSION: 4.3.5 SERVER VERSION: 4.3.5
CLIENT LAUNCH CONFIG: /home/xymon/client/etc/clientlaunch.cfg
The ad log analyzer
[log_ad] ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg CMD $XYMONCLIENTHOME/ext/log_ad.sh LOGFILE $XYMONCLIENTHOME/logs/log_ad.log INTERVAL 5m
CLEINT SCRIPT LOG: /home/xymon/client/logs/log_ad.log ( This is an output of the MSG that's being sent to xymon )
Thu Jan 12 10:48:34 EST 2012 customer_info : 1 processing_error : 0
Thu Jan 12 10:53:36 EST 2012 customer_info : 0 processing_error : 0
Thu Jan 12 10:58:38 EST 2012 customer_info : 0 processing_error : 0
Thu Jan 12 11:03:40 EST 2012 customer_info : 0 processing_error : 0
Thu Jan 12 11:08:42 EST 2012 customer_info : 2 processing_error : 0
SERVER RRD FILE: /home/xymon/data/rrd/HOST/log_ad,customer_info.rrd
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd"> <!-- Round Robin Database Dump --><rrd> <version> 0003 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1326384533 </lastupdate> <!-- 2012-01-12 11:08:53 EST -->
<ds>
<name> lambda </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 0 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra> <cf> AVERAGE </cf> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
<params>
<xff> 5.0000000000e-01 </xff>
</params>
<cdp_prep>
<ds>
<primary_value> 0.0000000000e+00 </primary_value>
<secondary_value> -2.2002200220e-05 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
</cdp_prep>
<database>
<!-- 2012-01-10 11:10:00 EST / 1326211800 --> <row><v> NaN </v></row>
<!-- 2012-01-10 11:15:00 EST / 1326212100 --> <row><v> NaN </v></row>
.... <!-- 2012-01-12 10:45:00 EST / 1326383100 --> <row><v> 0.0000000000e+00 </v></row> <!-- 2012-01-12 10:50:00 EST / 1326383400 --> <row><v> 8.8008800880e-04 </v></row> <!-- 2012-01-12 10:55:00 EST / 1326383700 --> <row><v> 1.6061606161e-03 </v></row> <!-- 2012-01-12 11:00:00 EST / 1326384000 --> <row><v> -2.4862486249e-03 </v></row> <!-- 2012-01-12 11:05:00 EST / 1326384300 --> <row><v> 0.0000000000e+00 </v></row> </database>
SERVER CONFIG: /home/xymon/server/etc/xymonserver.cfg
SPLITNCV_log_ad="customerinfo:GAUGE,processingerror:GAUGE"
Thanks,
Jeff Bender Lead Technical Support Engineer Mobile: (703) 615-5981
mPortal, Inc. [cid:image001.jpg at 01CCD11A.D7F2CBF0] <http://www.mportal.com/> [cid:image002.png at 01CCD11A.D7F2CBF0] <http://www.facebook.com/mPortalInc> [cid:image003.jpg at 01CCD11A.D7F2CBF0] <http://twitter.com/mportal>