|
From: Jeremy L. <jla...@re...> - 2012-01-04 02:39:58
|
Hi
I've created a template for an Infoblox DNS appliance, and I'm trying
to graph fan speed. The OIDs are leaf nodes, and so I can't create a
table to do this. Instead, I'm trying to fudge the equivalent output
by hard-coding the output that devmon normally creates.
I can't find any doco on how to do this, and so I suspect it's
undocumented. So, my first question is, should I avoid this method?
The format appears to be this:
<!--DEVMON RRD: testname 0 0
DS:ds0:GAUGE:600:0:U
somename1 {value1}
somename2 {value2}
somename3 {value3}
-->
>From the source (do_devmon.c) I can't tell what the "0 0" is for, or
even if it's necessary. The dm_tests.pm file shows these as "$dir
$do_max" but I can't find what "dir" means - an RRD option that I
can't find. The do_devmon.c file seems to not need it, and discards
everything after the space before the "dir" field.
Either way, I can't seem to get RRD files created, and I don't know
where to look for parsing errors. Xymon's rrd-status.log would seem
to be the place, but nothing relevant is showing up there. Any ideas?
I guess I could go ahead and use the documented NCV strategy. But I
wanted to be able to create RRD files without having to touch Xymon
configuration.
Cheers
Jeremy
|