|
From: Mario V. <mar...@gm...> - 2012-01-25 09:13:08
|
Hi Jeremy,
Thanks for your mail.
The graphs do apear on under my 'trends' section, however I was looking to
'reset the values' for the table viewed within the if_err column check.
This way I can look at the table, and see directly how many errors apeared
on an interface within the past x hrs, instead of the graph. The counters
seem to be cumulative over a long period.
I do have a 'devmon' section in my graphs.cfg which is essentially copy of
the settings from devmon_graph.cfg. I had added the if_err below:
[if_err]
FNPATTERN if_err.(.*).rrd
TITLE Interface Errors
YAXIS Errors
DEF:in@RRDIDX@=@RRDFN@:ds0:AVERAGE
CDEF:inerrors@RRDIDX@=in@RRDIDX@,8,*
DEF:out@RRDIDX@=@RRDFN@:ds1:AVERAGE
CDEF:outerrors@RRDIDX@=out@RRDIDX@,8,*
LINE1:inerrors@RRDIDX@#@COLOR@:@RRDPARAM@ In
GPRINT:inerrors@RRDIDX@:LAST: %8.2lf %s (cur)
GPRINT:inerrors@RRDIDX@:MAX: %8.2lf %s (max)
GPRINT:inerrors@RRDIDX@:MIN: %8.2lf %s (min)
GPRINT:inerrors@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
LINE1:outerrors@RRDIDX@#@COLOR@:@RRDPARAM@ Out
GPRINT:outerrors@RRDIDX@:LAST: %8.2lf %s (cur)
GPRINT:outerrors@RRDIDX@:MAX: %8.2lf %s (max)
GPRINT:outerrors@RRDIDX@:MIN: %8.2lf %s (avg)
GPRINT:outerrors@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
-l 0
Mario
On 24 January 2012 22:45, Jeremy Laidman <jla...@re...> wrote:
> On Tue, Jan 24, 2012 at 10:26 PM, Mario Valetti <mar...@gm...>
> wrote:
> > I know the if_err graphs are available under the "trends" column, but is
> it
> > possible to view this period for errors directly in the table within the
> > if_err column check?
>
> I've added the following into my graphs.cfg file to achieve this.
> It's essentially a copy of the [if_load] definition from
> devmon-graph.cfg, but with the FNPATTERN and TITLE adjusted. I
> probably should have renamed the variable names (in, inbytes, out and
> outbytes) but I had bigger fish to fry at the time.
>
> [if_err]
> FNPATTERN if_err.(.*).rrd
> TITLE Interface Errors
> YAXIS Packets/second
> DEF:in@RRDIDX@=@RRDFN@:ds0:AVERAGE
> CDEF:inbytes@RRDIDX@=in@RRDIDX@,8,*
> DEF:out@RRDIDX@=@RRDFN@:ds1:AVERAGE
> CDEF:outbytes@RRDIDX@=out@RRDIDX@,8,*
> LINE1:inbytes@RRDIDX@#@COLOR@:@RRDPARAM@ In
> GPRINT:inbytes@RRDIDX@:LAST: %8.2lf %s (cur)
> GPRINT:inbytes@RRDIDX@:MAX: %8.2lf %s (max)
> GPRINT:inbytes@RRDIDX@:MIN: %8.2lf %s (min)
> GPRINT:inbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
> LINE1:outbytes@RRDIDX@#@COLOR@:@RRDPARAM@ Out
> GPRINT:outbytes@RRDIDX@:LAST: %8.2lf %s (cur)
> GPRINT:outbytes@RRDIDX@:MAX: %8.2lf %s (max)
> GPRINT:outbytes@RRDIDX@:MIN: %8.2lf %s (min)
> GPRINT:outbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
> -l 0
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Devmon-support mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devmon-support
>
|