Hey all, Just want a sanity check here to make sure I'm not losing my marbles.
Does the TABLE option inside devmon's message syntax only produce graphs for certain tests?
I'm trying to use it to map the power usage for my PDUs, I have the data being collected (mostly) properly and stored in the rrd files.
However, when I look at the status column, I'm just getting the link to the file and not the actual graph.
I've reviewed Vernon's graph troubleshooting guide and everything is good.
I guess if this doesn't work, I'll have to figure out how to write out the individual branch elements in devmon.
Thanks! --patrick
-- message file -- PDU status:
TABLE:rrd(DS:ds0:powerCircuitAmps:GAUGE; DS:ds1:powerCircuitAmps:GAUGE) Circuit | Amps {powerCircuitName1}|{powerAmps} -- END --
-- status message from xymon --
<!--DEVMON RRD: power 0 0 DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U Total 39:39 Circuit1 23:23 Circuit2 16:16 -->
--hobbitgraphs entry -- [power] FNPATTERN power.(.+).rrd TITLE Power Load YAXIS Power in Amps DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 40 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
Patrick,
Hey all, Just want a sanity check here to make sure I'm not losing my marbles.
Does the TABLE option inside devmon's message syntax only produce graphs for certain tests?
I'm trying to use it to map the power usage for my PDUs, I have the data being collected (mostly) properly and stored in the rrd files.
However, when I look at the status column, I'm just getting the link to the file and not the actual graph.
Do you mean that the graph image is broken, or is it completely missing? If it's broken there could be a problem with an RRD file - easy enough to create some extras if you've been tweaking a devmon template. Check the RRD directory and see if there are any extras that match the FNPATTERN. The other gotcha, now I think of it is that the FNPATTERN is a regexp, and note that it doesn't start with ^power - so if you have ANY RRD filenames containing the substring power they will match. Try changing the FNPATTERN line to:
--hobbitgraphs entry -- [power] FNPATTERN ^power\.(.+)\.rrd
I've reviewed Vernon's graph troubleshooting guide and everything is good.
I guess if this doesn't work, I'll have to figure out how to write out the individual branch elements in devmon.
Have you added 'power' into GRAPHS= line in /etc/hobbit/hobbitserver.cfg ?
David.
Thanks! --patrick
-- message file -- PDU status:
TABLE:rrd(DS:ds0:powerCircuitAmps:GAUGE; DS:ds1:powerCircuitAmps:GAUGE) Circuit | Amps {powerCircuitName1}|{powerAmps} -- END --
-- status message from xymon -- <!--DEVMON RRD: power 0 0 DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U Total 39:39 Circuit1 23:23 Circuit2 16:16 -->
--hobbitgraphs entry -- [power] FNPATTERN power.(.+).rrd TITLE Power Load YAXIS Power in Amps DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 40 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
-- David Baldwin - IT Unit Australian Sports Commission www.ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
On Wednesday, 1 September 2010 18:32:33 Patrick Nixon wrote:
Hey all, Just want a sanity check here to make sure I'm not losing my marbles.
Does the TABLE option inside devmon's message syntax only produce graphs for certain tests?
I'm trying to use it to map the power usage for my PDUs, I have the data being collected (mostly) properly and stored in the rrd files.
However, when I look at the status column, I'm just getting the link to the file and not the actual graph.
I've reviewed Vernon's graph troubleshooting guide and everything is good.
I guess if this doesn't work, I'll have to figure out how to write out the individual branch elements in devmon.
I doubt it is the actual RRD collection that is the problem, otherwise you probably wouldn't see a link to a graph ... however you should show the output of something like:
rrdtool info $BBRRD/hostname/power.rrd
-- message file -- PDU status:
TABLE:rrd(DS:ds0:powerCircuitAmps:GAUGE; DS:ds1:powerCircuitAmps:GAUGE) Circuit | Amps {powerCircuitName1}|{powerAmps} -- END --
-- status message from xymon --
<!--DEVMON RRD: power 0 0 DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U Total 39:39 Circuit1 23:23 Circuit2 16:16 -->
--hobbitgraphs entry -- [power] FNPATTERN power.(.+).rrd TITLE Power Load YAXIS Power in Amps DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 40 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
According to your rrd option to the table statement in your message file, the DS name in the hobbitgraph definition should be ds0 or ds1, not "lambda".
Will we see the devmon template?
Regards, Buchan
That's a good point Buchan. I'll have to test it on something else.
I found the nonhtml option and converted this into an NCV graph which is working perfectly now.
Once I get the template squared away, I'll submit to the project. I imagine it'd be a good template for other networked PDUs.
--Patrick
On Thu, Sep 2, 2010 at 5:04 AM, Buchan Milne <bgmilne at staff.telkomsa.net>wrote:
On Wednesday, 1 September 2010 18:32:33 Patrick Nixon wrote:
Hey all, Just want a sanity check here to make sure I'm not losing my marbles.
Does the TABLE option inside devmon's message syntax only produce graphs for certain tests?
I'm trying to use it to map the power usage for my PDUs, I have the data being collected (mostly) properly and stored in the rrd files.
However, when I look at the status column, I'm just getting the link to the file and not the actual graph.
I've reviewed Vernon's graph troubleshooting guide and everything is good.
I guess if this doesn't work, I'll have to figure out how to write out the individual branch elements in devmon.
I doubt it is the actual RRD collection that is the problem, otherwise you probably wouldn't see a link to a graph ... however you should show the output of something like:
rrdtool info $BBRRD/hostname/power.rrd
-- message file -- PDU status:
TABLE:rrd(DS:ds0:powerCircuitAmps:GAUGE; DS:ds1:powerCircuitAmps:GAUGE) Circuit | Amps {powerCircuitName1}|{powerAmps} -- END --
-- status message from xymon --
<!--DEVMON RRD: power 0 0 DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U Total 39:39 Circuit1 23:23 Circuit2 16:16 -->
--hobbitgraphs entry -- [power] FNPATTERN power.(.+).rrd TITLE Power Load YAXIS Power in Amps DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ -u 40 -l 0 GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
According to your rrd option to the table statement in your message file, the DS name in the hobbitgraph definition should be ds0 or ds1, not "lambda".
Will we see the devmon template?
Regards, Buchan
On Thursday, 2 September 2010 14:03:33 Patrick Nixon wrote:
That's a good point Buchan. I'll have to test it on something else.
I found the nonhtml option and converted this into an NCV graph which is working perfectly now.
So changing "lambda" to "ds0" was not sufficient?
Once I get the template squared away, I'll submit to the project. I imagine it'd be a good template for other networked PDUs.
Thanks.
<!--DEVMON RRD: power 0 0 DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U
DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE
According to your rrd option to the table statement in your message file, the DS name in the hobbitgraph definition should be ds0 or ds1, not "lambda".
Will we see the devmon template?
Regards, Buchan
participants (3)
-
bgmilne@staff.telkomsa.net
-
david.baldwin@ausport.gov.au
-
pnixon@gmail.com