Exporting values from RRD

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Exporting values from RRD

Post by MSPk »

Hi,

When we run the command to get the memory usage for a windows server using check_nt, I see the below output which I believe captures values like the warning, critical, min & Max values of memory (in this case total available memory, i.e 16381.43) as well to be written into the graph.

Code: Select all

Memory usage: total:16381.43 MB - used: 5108.22 MB (31%) - free: 11273.21 MB (69%) | 'Memory usage'=[color=#FFFF00]5108.22MB;13105.15;14743.29;0.00;16381.43[/color]
I'm trying to export data from an rrd file to a csv, which I have done successfully using the rrd fetch command. however on the CSV I see only the performance data that is being collected from the end server but dont see the other values, I'm more interested in getting the max memory available on the server to be checked against the current utilisation. Please help.

RRD commands used - rrdtool fetch memory_usage.rrd AVERAGE –r 300 –s -24h
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Exporting values from RRD

Post by Box293 »

Usually the other information like warning and critical are stored in the corresponding XML file (one per RRD file).

Using fetch you can also use MIN and MAX instead of AVERAGE.

Have a look at this tool I created called the Performance Data Tool.

http://exchange.nagios.org/directory/Ad ... ol/details

Upload it into Nagios XI via Admin > System Extensions > Manage Components.

Access it via the Tools Menu.

You can click an RRD file and it'll show you a page of all the different data you can fetch, along with the command used to execute the fetch. It also shows the XML I am talking about.

Does this help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked