[mrtg] MRTG with RRD and RRA:HWPREDICT

Leandro Souza leandrotoledodesouza at gmail.com
Mon Mar 14 01:16:32 CET 2011


Hi Steve,

   Thanks! Now I can go on.
   However, the only thing that I have not know is... How to add a new
RRA:HWpredict with 'rrdtool tune'?
   Before to ask this, I read the rrdtune manpage , and I saw only options
to change values for DS, RRA existing... Can you show me an example, please?

Thanks for help! I'm very appreciated.

-- Leandro Toledo de Souza
www.leandrotoledo.com.br

*"Se eu tiver uma maçã e você também tiver uma maçã, e trocarmos de maçãs,
cada um ficará com uma maçã. Se eu tiver uma ideia e você também tiver uma
ideia, e trocarmos ideias, cada um ficará com duas ideias."*

*George Bernard Shaw *



2011/3/13 Steve Shipway <s.shipway at auckland.ac.nz>

> You would probably need to make your plugin do something like this –
>
>
>
> 1.       Test rrd format (rrdtool info)
>
> 2.       If rrd file has HWpredict RRAs defined goto 5
>
> 3.       Create HWpredict RRAs (rrdtool tune)
>
> 4.       Exit with unknown status
>
> 5.       Find current aberrant behaviour status (rrdtool fetch)
>
> 6.       Check if it is 1 or zero; if aberrant then exit status 2 showing
> value
>
> 7.       Else exit status 0 (possibly showing value?)
>
>
>
> Steve
>
>
> ------------------------------
>
> *Steve Shipway*
>
> ITS Unix Services Design Lead
>
> University of Auckland, New Zealand
>
> Floor 1, 58 Symonds Street, Auckland
>
> *Phone: +64 (0)9 3737599 ext 86487*
>
> *DDI: +64 (0)9 924 6487*
>
> *Mobile: +64 (0)21 753 189*
>
> *Email: s.shipway at auckland.ac.nz*
>
> P Please consider the environment before printing this e-mail
>
> * *
>
>
>
> *From:* mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [mailto:
> mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] *On Behalf Of *Leandro
> Souza
> *Sent:* Monday, 14 March 2011 12:00 p.m.
> *To:* mrtg at lists.oetiker.ch
> *Subject:* [mrtg] MRTG with RRD and RRA:HWPREDICT
>
>
>
> Hi,
>
>
>
>    I'm using MRTG with RRD. But I'm trying to do a plugin for Nagios to
> detect aberrant behaviour. So, what I want to know is, is it possible? I
> mean, how to create, or to change, a RRD base for use with MRTG and in same
> time add a RRA:HWPREDICT support?
>
>
>
>    Thanks,
>
>
> -- Leandro Toledo de Souza
> www.leandrotoledo.com.br
>
> *"Se eu tiver uma maçã e você também tiver uma maçã, e trocarmos de maçãs,
> cada um ficará com uma maçã. Se eu tiver uma ideia e você também tiver uma
> ideia, e trocarmos ideias, cada um ficará com duas ideias."*
>
> *George Bernard Shaw *
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20110313/71aa19a9/attachment-0001.htm 


More information about the mrtg mailing list