Hi,
actually rrd might be slightly misleading here, because while rrd is
responsible for creating the rrd database files - pnp4nagios actually
defines what parameters are used to create the rrd.
The configuration files you want to look at to have different RRA
definitions for different services are (on a RHEL/Centos setup, paths
might differ slightly but from you posted it seems yours might match):
/etc/pnp4nagios/<check_command_name>.rra.cfg (without the <> ;)
Format is the same as the global rra.cfg you posted. Note that this will
only apply new rrd files, existing rrd DBs will not change.
Should it look like your configuration file is not being used, I suggest
increasing the LOG_LEVEL in /etc/pnp4nagios/process_perfdata.log
(LOG_FILE will tell you where to find the log output :))
or checking out the parse_rra_config() function in
/usr/libexec/pnp4nagios/process_perfdata.pl
Cheers, Gerd
On 22.05.2014 21:54, Wolfgang wrote:
As you already mentioned you found files in the PNP4Nagios folder (not
Icinga) so I'd take a look at
http://oss.oetiker.ch/rrdtool/doc/rrdresize.en.html and similar
rrdtool programs ;-)
Am 22.05.2014 18:54, schrieb John Roberts:
Hi All
We have installed Icinga in our company on a test server and are
currently configuring it.
I'm currently investigating how to change how the data is held in the
Round Robin Archives of the RRD databases.
I can see that the following file in the pnp4nagios folder holds the
default settings:
/etc/pnp4nagios/rra.cfg
RRA_STEP=60
RRA:AVERAGE:0.5:1:2880
RRA:AVERAGE:0.5:5:2880
RRA:AVERAGE:0.5:30:4320
RRA:AVERAGE:0.5:360:5840
The default is fine for the majority of our services.
However, I would like different settings for a subset of services
which retains the 5 minute data for 90 days rather than 10 days and
extends the 30 minute data to 180 days as below.
RRA_STEP=60
RRA:AVERAGE:0.5:1:2880
RRA:AVERAGE:0.5:5:25920
RRA:AVERAGE:0.5:30:8640
RRA:AVERAGE:0.5:360:5840
I can't see how to do this for a subset of services. Is it possible
to change the settings for a subset rather than universally? If so, how?
Many thanks in advance
John
P.S. I have just joined the list, so apologies if I'm not conforming
to the list etiquette in any way!
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users