PNP4Nagios and RRD peaks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cptcrush
Posts: 2
Joined: Thu Nov 20, 2014 8:20 pm

PNP4Nagios and RRD peaks

Post by cptcrush »

I would like to keep all of the peaks and valleys that RRD collects over time. Is there a way to keep them in the graph data?
Specifically see attached Pnp4nagios graphs. You can see that 25 hour(datasource time) shows max value of .51 while "one week" max value is .46 and "one month" is .24.
Attachments
file-page3.jpg
file-page2.jpg
file-page1.jpg
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: PNP4Nagios and RRD peaks

Post by Box293 »

This is just how RRD files work as the data is averaged and this reduces the peaks.

When an RRD file is first created, it has defined how much data can be stored in it. These values determine the size it consumes on the disk.

I've not played around with this, but you can change these parameters, which allows you to keep more granular data for longer, but in turn increasing disk space consumed.

Here's an example rrd.cfg file:

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
I suggest joining the mailing lists mentioned here on the PNP4Nagios website and ask them a question about it:
http://docs.pnp4nagios.org/pnp-0.6/about

Or even do some more web searching on it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked