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
Performance Data in Nagios xi
-
- Posts: 876
- Joined: Mon May 09, 2011 9:36 am
Re: Performance Data in Nagios xi
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.
-
- Posts: 15
- Joined: Wed Jul 27, 2011 11:33 pm
Re: Performance Data in Nagios xi
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
Thanks
Phil
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: Performance Data in Nagios xi
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
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
Former Nagios employee