Xymon Mailing List Archive search

Custom graphs in Xymon

list Cami
Mon, 10 May 2010 08:16:40 +0200
Message-Id: <user-e8f92824c5f6@xymon.invalid>

Hi Brute,

I've removed the old rrd file:

#  rrdtool dump data/rrd/bb.24.com/fmsconns.rrd

        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1273471749 </lastupdate> <!-- 2010-05-10 08:09:09 
SAST -->

        <ds>
                <name> edge01 </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 2 </last_ds>
                <value> 4.9800000000e+02 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> edge02 </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 1 </last_ds>
                <value> 2.4900000000e+02 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

So the data is there/available.

Cami


White, Bruce wrote:
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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-1062473dd2aa@xymon.invalid] 
Sent: Friday, May 07, 2010 9:51 AM
To: user-ae9b8668bcde@xymon.invalid
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