pnp4nagios xport - how to run from shell
Posted: Thu Apr 09, 2015 11:49 am
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?
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?