Graphing solutions comparision
Joerg Linge
pitchfork at ederdrom.de
Wed Nov 1 08:53:55 CET 2006
Am Dienstag, 31. Oktober 2006 21:20 schrieb Tedman Eng:
> Hi Nagios Users,
Hi Tedman
> I'm attempting to categorize the various graphing solutions and need input
> from people familiar with the various projects.
>
> >From what I can tell, the graphing add-ons are mostly divided into 2
> > schools
>
> of thought:
>
> 1. Let the standard nagios plugin decide the status, and then graph the
> numbers.
> (NagiosGrapher, PNP, others?)
>
> Nagios plugin "check_snmp -w 50" retrieves value "60%"
> Nagios plugin checks 60 > 50, Alarms "Warning!"
> Nagios plugin passes "60%" to be graphed (from perf data, regex of output,
> etc)
> Grapher inserts 60 into RRD
Right. But PNP also extracts additional Informations if a Plugin produces
valid Perfdata. MIN, MAX,WARNUNG and CRITICAL Valuas are also stored for
further usage.
>
> 2. Rewrite the plugin to graph, and then decide the status based on the RRD
> result.
> (Apan, Oreon, others?)
>
> Grapher plugin "check_graph_snmp -w 50" retrieves value "60%"
> Grapher inserts 60 into RRD
> RRD returns "New=60, Previous=50, Avg=55"
> Grapher plugin checks 55 > 50, Alarms "Warning!"
>
>
> The advantage of solution 2 is that thresholds can be based on the RRD
> calculation, which is AFAIK the only way to alarm on COUNT data types. The
> disadvantage is that custom plugins need to be written, or in some cases a
> check_graph wrapper. Also, check latency is increased by the amount of
> time required to insert the values into the RRD file.
Hmmm, i dont think its the only solution. The most traffic Plugins ( for
example check_snmp_int.pl ) use temporary files to store the previous values.
> Please let me know your experiences of which fits into which category, of
> if I've mischaracterized any of the above.
I think graphing should be done by addons and not by the plugins.
The check execution time must be as short as possible.
Jörg
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list