[mrtg] MRTG with RRD and RRA:HWPREDICT
Steve Shipway
s.shipway at auckland.ac.nz
Mon Mar 14 00:37:14 CET 2011
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<mailto: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<http://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/9d9d8ec4/attachment.htm
More information about the mrtg
mailing list