[Xymon] Need some assistance with graphs, please.

Keith Dowell snowolfex at yahoo.com
Wed May 6 14:26:04 CEST 2015


 
      From: Vernon Everett <everett.vernon at gmail.com>
 To: Keith Dowell <snowolfex at yahoo.com> 
Cc: "xymon at xymon.com" <xymon at xymon.com> 
 Sent: Tuesday, May 5, 2015 5:20 PM
 Subject: Re: [Xymon] Need some assistance with graphs, please.
   Heres and example from rrdtool dump<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1430914950 </lastupdate> <!-- 2015-05-06 07:22:30 CDT -->        <ds>
                <name> memused </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>                <!-- PDP Status -->
                <last_ds> 7.8 </last_ds>
                <value> 1.1700000000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds> And I have tried without the EXFNPATTERN (and deleted the unwanted rrd) and got the same result. The number and name of the rrds will change from machine to machine.  
Hi Keith
Your internal field name is memused.
Is that correct for all the rrd files?This is the field name as defined in the rrd file. 
Check how the rrd file is created, or use rrdtool dump with some creative grep to confirm the field names.

Do you get a graph without the EXFNPATTERN keyword? (A long shot, but might be worth checking)

If you know the rrd files in advance, and you know the number of them, and it will not change, then why not define them manually.It's a little more of a pain up front, but it might save you a lot of grief.Check [users], [vmstat*] or [netstat*] in graphs.cfg for examples.
RegardsVernon 
On 6 May 2015 at 00:38, Keith Dowell via Xymon <xymon at xymon.com> wrote:

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon


---------- Forwarded message ----------
From: Keith Dowell <snowolfex at yahoo.com>
To: "xymon at xymon.com" <xymon at xymon.com>
Cc: 
Date: Tue, 5 May 2015 16:38:40 +0000 (UTC)
Subject: Need some assistance with graphs, please.


I have three rrds: ProcMBIM.rrd, ProcSA.rrd, and ProcOI.rrd
The definition I have in graphs.cfg is
FNPATTERN ^Proc(.+).rrd                NOTE: also tried (.*) - no differenceEXFNPATTERN ^ProcMem(.*).rrd    NOTE: for one specific rrd created i don't wantTITLE Process Memory UsageYAXIS Total Memory UsageDEF:p at RRDIDX@=@RRDFN@:memused:AVERAGELINE2:p at RRDIDX@#@COLOR@:@RRDPARAM at -b 1024-X0GPRINT: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)

I get a graph in trends, but ONLY for MBIM. SA and OI not shown.
I get NO graph on the page itself.
So any help appreciated - I imagine I must be missing something to cause these two issues.





-- 
"Accept the challenges so that you can feel the exhilaration of victory"- General George Patton

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150506/654f685b/attachment.html>


More information about the Xymon mailing list