Page 1 of 1
MRTG WithPeak option
Posted: Thu Feb 02, 2012 2:32 pm
by cwscribner
Hi all.
Is there a way in Nagios XI to enable the WithPeak MRTG option for a bunch of devices? My client would like to use Nagios to assist in planning future architecture and would to see the 5m peaks as well as the average.
Re: MRTG WithPeak option
Posted: Thu Feb 02, 2012 3:09 pm
by scottwilkerson
this is actually already enabled by default. The settings are in
/usr/local/nagios/pnp/rra.cfg
Code: Select all
#
# PNP default RRA config
#
# you will get 400kb of data per datasource
#
# 2880 entries with 1 minute step = 48 hours
#
RRA:AVERAGE:0.5:1:2880
#
# 2880 entries with 5 minute step = 10 days
#
RRA:AVERAGE:0.5:5:2880
#
# 4320 entries with 30 minute step = 90 days
#
RRA:AVERAGE:0.5:30:4320
#
# 5840 entries with 360 minute step = 4 years
#
RRA:AVERAGE:0.5:360:5840
RRA:MAX:0.5:1:2880
RRA:MAX:0.5:5:2880
RRA:MAX:0.5:30:4320
RRA:MAX:0.5:360:5840
RRA:MIN:0.5:1:2880
RRA:MIN:0.5:5:2880
RRA:MIN:0.5:30:4320
RRA:MIN:0.5:360:5840
You must note that there is not "peak" unless you are looking at a time scale long enough that all points aren't already shown. So if you click the graph and choose a longer timescale, you should see the peaks.
Re: MRTG WithPeak option
Posted: Thu Feb 02, 2012 3:14 pm
by cwscribner
Thanks! Question answered.