[hobbit] Custom graphs in Xymon

White, Bruce bewhite at fellowes.com
Sat May 8 00:13:44 CEST 2010


Notice the name of the data field in your rrd file:

jhbedge02optinetnet

It does not match the edge02 in your other definitions.   Not sure why
its assigning that name, but that looks to me to be the problem.

    .....Bruce



 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 
-----Original Message-----
From: Cami [mailto:camis at mweb.co.za] 
Sent: Friday, May 07, 2010 9:51 AM
To: hobbit at hswn.dk
Subject: [hobbit] Custom graphs in Xymon

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



To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list