NCV, devmon and rrd and graphing problem
Mike Dingeldey
mdingeldey at sbcglobal.net
Sun Jan 7 03:10:47 CET 2007
I am currently running hobbit 4.2.0/all-in-one patch on a Compaq DL360 using FC6.
At the present time, I am attempting to use devmon to feed data to hobbit and create a graph
form the resulting information. The only test I am running is the if_load test; I am running it
against a Cisco 2600 using the base 2600 template. I am running devmon 0.2.2
At the current time, NCV creates and updates the if_load.rrd file. The if_load column appears on
the hobbit page, and the if_load detail displays a table with the correct flow rates on the interfaces.
However, I am unable to create any graphs of the data.
At this point, I am assuming the devmon is feeding the correct data to ncv. My test router has five
interfaces (loopback, one etherent, a serial and two frame-relay subinterfaces) so how do I verify
that the resulting if_load.rrd file is in fact correct?
>From what I have checked, everything looks like it should work. I'd like to go farther with verification on
the rrd side, but the if_load.rrd file structure (and the tableborder) has me scratching my head.
Could the bottom line be that I didn't define the data type for NCV correctly? The reason I ask is that
the only time anything did not complain was when I defined the data type as a counter. I used
"*:Counter" because I did not know what the names were going to be. Also, could the if_load
file names be part of the problem?
Any help or insight would be greatly appreciated!
TIA!
I currently have the following:
TEST2RRD = "blah,blah,blah.....,if_load=ncv)
NCV_if_load="*:Counter"
GRAPH="blah,blah,blah,...,if_load)
[if_load]
FNPATTERN if_load.(.*).rrd
TITLE load test
YAXIS Percent
DEF:loadin (at) RRDIDX@= (at) RRDFN@:loadin:AVERAGE
DEF:loadout (at) RRDIDX@= (at) RRDFN@:loadout:AVERAGE
LINE2:loadin (at) RRDIDX@# (at) COLOR@:@RRDPARAM@ load in
GPRINT:loadin (at) RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:loadin (at) RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:loadin (at) RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:loadin (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
LINE2:loadout (at) RRDIDX@# (at) COLOR@:@RRDPARAM@ load out
GPRINT:loadout (at) RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:loadout (at) RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:loadout (at) RRDIDX@:MIN: \: %5.1lf (min)
>From the dump of if_load.rrd:
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1168130749 </lastupdate> <!!-- 2007-01-06 19:45:49 EST -->
<ds>
<name> tableborder </name>
<type> COUNTER </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 1 </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> 0.0000000000e+00 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
</cdp_prep>
<database>
<SNIP>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070106/3a04d306/attachment.html>
More information about the Xymon
mailing list