Custom graphs in Xymon
Cami
camis at mweb.co.za
Fri May 7 16:50:52 CEST 2010
Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
-----------------------------
Fri May 7 16:42:19 SAST 2010
edge01 : 5
edge02 : 7
edge03 : 2
edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
-----------------------------
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv"
GRAPHS="la,disk[...........],fmsconns"
NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg
[fmsconns]
TITLE Fmsconns info
YAXIS Connections
DEF:pct=fmsconns.rrd:util:AVERAGE
LINE2:pct#00CC00:NParts
GPRINT:pct:LAST: \: %3.1lf (cur)
GPRINT:pct:MAX: \: %3.1lf (max)
GPRINT:pct:MIN: \: %3.1lf (min)
GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the
I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline
but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg
is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST -->
<ds>
<name> jhbedge01optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 4 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> jhbedge02optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 3 </last_ds>
<value> 7.9207920792e-02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
Anyone have any ideas/tips?
Regards,
Cami
More information about the Xymon
mailing list