Page 1 of 1

pnp4nagios xport - how to run from shell

Posted: Thu Apr 09, 2015 11:49 am
by michalwozniakm
We can call wget http://localhost/pnp4nagios/xport/<form ... ervicedesc>

but is there any way not to use TCP on the way?
For example I can call "php /var/www/file.php" and get the result.

With PNP4Nagios I cannot even locate /xport/csv file - (is it file)?

or, maybe there is other easy way to export data from nagios 3 to csv/json in bash?

Re: pnp4nagios xport - how to run from shell

Posted: Thu Apr 09, 2015 4:56 pm
by abrist
What version of pnp4nagios are you running?
You could just export from rrdtool:
http://oss.oetiker.ch/rrdtool/doc/rrdxport.en.html