[mrtg] Using 95th percentile with mrtg configs

Mersberger, Robert robert.mersberger at goldenliving.com
Wed Jul 14 23:59:28 CEST 2010


Are you saying that (--global="routers.cgi*Options[_]: scaled nopercentile") will work to turn it off per target after it is turned on in routers2.conf.

If that is true I would need to redo all my configs prior to turning this on.  I only want to test it on a few devices as starters.


Thanks for getting back.


________________________________
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz]
Sent: Wednesday, July 14, 2010 4:53 PM
To: Mersberger, Robert; mrtg at lists.oetiker.ch
Subject: RE: Using 95th percentile with mrtg configs

Routers2 allows you to selectively turn off calculation of 95th Percentile and Totals on a per-target basis using

routers.cgi*Options[]: nopercentile
routers.cgi*Options[]: nototal

You need to first globally enable the total/percentile module in the routers2.conf, though, by using the directive:

percentile = yes

There is not currently an option to selectively turn it on, because of the way the calculation module is linked into the code, but you can use a global default (as in your example) to globally disable and then selectively enable if you want. Originally this module was computationally expensive, but currently this additional loading is minimal due to improvements in Routers2 and RRDTool.

The percentile calculations use the best RRA available; therefore you lose accuracy on higher granularity (eg, monthly graphs).  You can fix this by using the RRDRowCount[] directive, or RRDRowCount2h[] (if you have MRTG 2.16.4 or better) to set the row count to 9600 or better (this only affects NEW RRD files, with existing RRD files you'll need to use rrdtune to expand the first RRA to have the same effect)

Steve

From: Mersberger, Robert [mailto:robert.mersberger at goldenliving.com]

I am looking to try this but noticed that it is a variable in routers2.conf that need to be turned on. If I under stand this correctly this will have a global effect on all my current configs, which at the present is something I don't want. Is there a way to turn this option on in cfgmaker ?  Would it go here ? (--global="routers.cgi*Options[_]: scaled percentile")  I believe that this can be used to turn it off if it is on in the .conf file.   This is how I understood it from reading your first edition of Using MRTG with RRDtool and Routers2?


________________________________
Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively,
this 'Email') are intended only for the confidential use of
the recipient(s) named above. If the reader of this message
is not the intended recipient named above or an agent
responsible for delivering it to the intended recipient
named above, you have received this Email in error.
Please notify the sender immediately and permanently delete
this Email and any copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100714/44f3b28d/attachment-0001.htm 


More information about the mrtg mailing list