|
From: Mario V. <mar...@gm...> - 2012-03-16 11:41:19
|
Hi Thomas,
Actually I'm simply wanting to be alerted if even one error occurs on an
interface, so not really about the rate of errors.
If I set my transform file to:
# Do delta transform on all error counters
InputErrors : DELTA : {ifInErrors}
OutputErrors : DELTA : {ifOutErrors}
Shouldn't this calculate a delta/difference between checks if an interface
error occurs and give me the difference into "InputErrors / OutputErrors",
for example 2 errors?
With the thresholds file set to:
InputErrors : yellow : >=1 : {ifName}{ifAliasBox} - Input
error ({InputErrors})
OutputErrors : yellow : >=1 : {ifName}{ifAliasBox} - Output
error ({OutputErrors})
I would think the message file below gives me an alert if one or more
errors occur on an interface:
Input Error YELLOW Status if: {InputErrors.thresh:yellow}
Output Error YELLOW Status if: {OutputErrors.thresh:yellow}
TABLE:rrd(DS:ds0:InputErrors:COUNTER; DS:ds1:OutputErrors:COUNTER)
Ifc name|Errors incoming|Errors outgoing
{ifName}{ifAliasBox}|{InputErrors.color}{InputErrors.errors}|{OutputErrors.color}{OutputErrors.errors}
Thanks,
Mario
On 16 March 2012 07:37, Thomas Kähn <tk...@ne...> wrote:
> Hi Mario,
>
> On Thu, Mar 15, 2012 at 05:57:17PM +0100, Mario Valetti wrote:
> > Can someone advise where I'm going wrong? Have I got a syntax errror
> > somewhere, or is the basic configuration wrong?
>
> it seems you are comparing Errors per Second and Bytes per Second.
> The computed values might be too low this way. Try to compare packets
> per second and errors per second like this:
>
> ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch
> ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch
>
> ifHCInUcastPkts : .1.3.6.1.2.1.31.1.1.1.7 : branch
> ifHCInMulticastPkts : .1.3.6.1.2.1.31.1.1.1.8 : branch
> ifHCInBroadcastPkts : .1.3.6.1.2.1.31.1.1.1.9 : branch
> ifInErrors : .1.3.6.1.2.1.2.2.1.14 : branch
>
> ifHCOutUcastPkts : .1.3.6.1.2.1.31.1.1.1.11 : branch
> ifHCOutMulticastPkts : .1.3.6.1.2.1.31.1.1.1.12 : branch
> ifHCOutBroadcastPkts : .1.3.6.1.2.1.31.1.1.1.13 : branch
> ifOutErrors : .1.3.6.1.2.1.2.2.1.20 : branch
>
>
> # Calculating packets per second
> ifHCInPkts : MATH : {ifHCInUcastPkts} +
> {ifHCInMulticastPkts} + {ifHCInBroadcastPkts} + {ifInErrors}
> ifHCOutPkts : MATH : {ifHCOutUcastPkts} +
> {ifHCOutMulticastPkts} + {ifHCOutBroadcastPkts} + {ifOutErrors}
> ifHCInPps : DELTA : {ifHCInPkts}
> ifHCOutPps : DELTA : {ifHCOutPkts}
>
> # Do delta transform on all error counters
> ifInEps : DELTA : {ifInErrors}
> ifOutEps : DELTA : {ifOutErrors}
>
> # Perform error to packets percentage calculations
> ifInErrPct : MATH : ({ifInEps} / {ifHCInPps}) x 100
> ifOutErrPct : MATH : ({ifOutEps} / {ifHCOutPps}) x 100
>
>
> Best regards
> Thomas
> --
> Thomas Kähn
> Technik, Network Engineering & Design; Content Delivery Platform & IP
> ---------------------------------------------------------------------
> NETCOLOGNE Gesellschaft für Telekommunikation mbH
> Am Coloneum 9 | 50829 Köln
>
> www.netcologne.de
>
> Geschäftsführer:
> Dr. Hans Konle (Sprecher)
> Dipl.-Ing. Karl-Heinz Zankel
>
> Vorsitzender des Aufsichtsrates:
> Dr. Andreas Cerbe
>
> HRB 25580, AG Köln
>
>
> Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten
> Sie diese Nachricht versehentlich erhalten haben, bitten wir, den
> Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren
> und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder
> vervielfältigt noch in anderer Weise verwendet werden.
>
> Thomas Kähn
> Content Delivery Server & Dienste
> _________________________________________________________________________
> NETCOLOGNE Gesellschaft für Telekommunikation mbH
> Am Coloneum 9 | 50829 Köln
> Tel: 0221 2222-8718 | Fax: 0221 2222-78718
>
> www.netcologne.de
>
> Geschäftsführer:
> Dr. Hans Konle (Sprecher)
> Dipl.-Ing. Karl-Heinz Zankel
> Vorsitzender des Aufsichtsrates:
> Dr. Andreas Cerbe
> HRB 25580, AG Köln
>
>
> Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie
> diese Nachricht versehentlich erhalten haben, bitten wir, den Absender
> (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die
> Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt
> noch in anderer Weise verwendet werden.
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Devmon-support mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devmon-support
>
|