[Xymon] Need some assistance with graphs, please.
Vernon Everett
everett.vernon at gmail.com
Thu May 7 00:40:45 CEST 2015
I think you have got me here.
The only thing I can see that's "odd" about your graph definition, is the
lack of %s at the end of each gprint line, which isn't essential, and only
impacts scaling, and the \n at the end of the last line.
The /n will impact the appearance of the text at the bottom of your graph,
but shouldn't mess up your lines.
Even without the gprint statements, you still should get a graph.
>From here, I am at a bit of a loss.
How are the rrd files being generated?
If it was me, I would double check every rrd file to make sure we have the
correct internal field name (my first thought) and then check that each one
has valid data.
I have seen situations where the rrd file ended up with 2 fields due to
badly formatted data coming from the client. I had the correct field and a
gibberish field name. The real data was going into the gibberish field, and
the correct field was going unpopulated.
Also check you debug logs to see if there is a problem with the
display/rendering of the graphs.
Regards
Vernon
On 6 May 2015 at 20:26, Keith Dowell <snowolfex at yahoo.com> wrote:
>
>
> ------------------------------
> *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.
>
> Regards
> Vernon
>
>
> 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
> difference
> EXFNPATTERN ^ProcMem(.*).rrd NOTE: for one specific rrd created i don't
> want
> TITLE Process Memory Usage
> YAXIS Total Memory Usage
> DEF:p at RRDIDX@=@RRDFN@:memused:AVERAGE
> LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
> -b 1024
> -X0
> GPRINT: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
>
>
>
--
"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/20150507/010ccfab/attachment.html>
More information about the Xymon
mailing list