New user here. Sorry if this is has been discussed before, but I thought I'd
share in how I fixed what we deemed as major issues with OMD as a monitoring
tool.
After quite a bit of trial & error, I found a fix to keep the graphs showing
true values for yearly graphs. It turned out that the # of data points vs the
width of the graph was causing low values to be dropped. This would make a
server with occasional spikes and an average of 6% end up showing > 50% average
on the yearly graph.
~/etc/pnp4nagios/config.php
$conf['graph_width'] = "974";
#$conf['graph_width'] = "500"; #Old value
$views[] = array('title' => 'One Year', 'start' => (60*60*24*365) );
#$views[] = array('title' => 'One Year', 'start' => (60*60*24*380) ); #Old
value
This will also work with 247 days @ 700 width and 283 @ 800 width. I didn't
take the time to figure out what the formula is to scale, but I'm sure it could
be integrated into an auto-fit width if needed.
P.S., if this doesn't work for you, I also tweaked the granularity of stored
data so we had more than 4 datapoints per day after several months. This
increases the .rrd size to 7MB each.
~/etc/pnp4nagios/rra.cfg
# Define the default RRA Step in seconds
# More Infos on
# http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html
RRA_STEP=60
# PNP default RRA config
# 44,640 with 1 minute step = 1 month (31 days)
RRA:AVERAGE:0.5:1:44640
# 92 days(1 quarter) with 288 5 min steps in a day
RRA:AVERAGE:0.5:5:26496
# 1 year @ 365 days in a year @ 10 minute intervals (144/day) = 52560
RRA:AVERAGE:0.5:10:52560
# 96 15 min intervals in a day for 4 years (1461 days) = 140,256
RRA:AVERAGE:0.5:15:140256
RRA:MAX:0.5:1:44640
RRA:MAX:0.5:5:26496
RRA:MAX:0.5:10:52560
RRA:MAX:0.5:15:140256
RRA:MIN:0.5:1:132480
RRA:MIN:0.5:5:26496
RRA:MIN:0.5:10:52560
RRA:MIN:0.5:15:140256
Allen
---------------------------------------------------------------------------
The information transmitted in this e-mail and in any replies and forwards are
for the sole use of the above individual(s) or entities and may contain
proprietary, privileged and/or highly confidential information. Any
unauthorized dissemination, review, distribution or copying of these
communications is strictly prohibited. If this e-mail has been transmitted to
you in error, please notify and return the original message to the sender
immediately at the above listed address. Thank you for your cooperation.
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users