Performance Data in Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
pryker
Posts: 15
Joined: Wed Jul 27, 2011 11:33 pm

Performance Data in Nagios xi

Post by pryker »

Is there a way for me to get the actual data used to draw the performance graphs in Nagios xi? In Cacti you can get it by clinkong on a little icon that will then import it into a CSV file that you can save. I am wondering if their is a way to do this in Nagios xi? If I cannot do it through the web interface how can I do it through the command line?

Thanaks

Phil
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Performance Data in Nagios xi

Post by agriffin »

Nagios xi doesn't currently have this feature, however you can use rrdtool to get the data in XML format. The performance data is located in files under the /usr/local/nagios/share/perfdata/ directory. Simply run 'rrdtool dump /usr/local/nagios/share/perfdata/hostname/servicefile.rrd' and you will get the data in XML.
pryker
Posts: 15
Joined: Wed Jul 27, 2011 11:33 pm

Re: Performance Data in Nagios xi

Post by pryker »

Will you have a method to perform this from the interface in the future? This would be a huge plus for my customers.

Thanks

Phil
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Performance Data in Nagios xi

Post by nscott »

Phil,

While its not available from the interface, there is a utility called rrd2csv located in the nagiosxi/tools directory that you can use. Typical call to rrd2csv is:

./rrd2csv.php --host=localhost --service='Current_Load' > Current_Load.csv
Nicholas Scott
Former Nagios employee