[mrtg] Re: Percentage Reporting

Barry_Young at interliant.com Barry_Young at interliant.com
Wed Feb 19 19:50:47 MET 2003



You could call an external routine that feeds 2 fixed values (preferably
100) to mrtg.  It will then create graphs that show a permanent 100%
availability and satisfy management needs :-)

Seriously though, availability monitoring may be better obtained by using
BigBrother, WhatsUp Gold or tools of that nature, so that you have
appropriate monthly report capabilities at your disposal.

You *may* be able to use mrtg if you were to poll the loopback interface
and graph the OperStatus. mrtg has embedded code to use OperHack which
returns 1-up and 0-down instead of the multiple status values normally
returned by the OperStatus oid.  As the loopback interface is generally up
when the switch is available, mrtg should graph it as a gauge value and
calculate the daily/weekly/monthly percentage values.  If the switch fails
and cannot be polled, the loopback interface information cannot be
obtained, therefore mrtg *should* record the values as zero.

This is theorical interpretation, so please test.  There are some drawbacks
in this approach because you do not get true availability stats bearing in
mind that the polling is by default performed every 5 mins, so outages less
than this (ie. a switch reload etc) would not be identified.

I am sure others on this list may have alternate or better suggestions, but
thats my 5 cents for what its worth.

Regards,


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list