Page 1 of 1

Identification of RRD files in Nagios XI.

Posted: Wed Nov 19, 2014 8:36 am
by prateekagr1988
Hi,

We require to extract the raw data files from Nagios XI, and as per the information we have, RRD files present in Nagios should suffice for this.
Please suggest how are the RRD files generated, from where can they be accessed, and how can they be analzyed.

We see a variety of plug-ins available for analysis of those files, but we are unable to understand where are the files located and what exactly is the usage.
KIndly share a reference location which would help us understand the above.


Regards,
Prateek

Re: Identification of RRD files in Nagios XI.

Posted: Wed Nov 19, 2014 12:16 pm
by slansing
The RRD files are generated as part of the performance data processing chain, data comes in from plugin check returns, is stripped off of the returns, then spooled and reaped in bulk by NPCD. After that, rrd files are created in a couple directories by default, and the data is dumped into them:

Code: Select all

/usr/local/nagios/share/perfdata/
/var/lib/mrtg/
You can look at dumping the rrdfiles by using rrdtool:

http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html