Page 1 of 1

Performance Data in Nagios XI

Posted: Wed Oct 19, 2011 2:16 pm
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

Re: Performance Data in Nagios XI

Posted: Wed Oct 19, 2011 2:47 pm
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.

Re: Performance Data in Nagios XI

Posted: Wed Oct 19, 2011 2:50 pm
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

Re: Performance Data in Nagios XI

Posted: Wed Oct 19, 2011 3:06 pm
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