Hi Team,
I wanted to know if I can pull the raw report (like utilization , availability) using any method (like script or jobs).
I am aware that we can download the PDF graphs and the csv as well, but the csv is not in an understand format, hence I want to know if I can just pull the polled info and store it somewhere so that we can perform the calculations and present the reports in the required format.
Pull the raw utilization report
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm
Re: Pull the raw utilization report
Hello @sneha.irali
Thanks for reaching out, the option to send api call via command and/or implement into script is certainly an option. I understand the data import will not understand csv format. The api does have an option to pull the data into XML format adding "&outputtype=xml" to the api string.
Please checkout the api options within the Nagios XI web console for reference:
https://yourhostaddresshere/nagiosxi/help/
https://yourhostaddresshere/nagiosxi/he ... erence.php
To curl the raw Availability report:
Please review the options listed and let us know if you have further questions,
Perry
Thanks for reaching out, the option to send api call via command and/or implement into script is certainly an option. I understand the data import will not understand csv format. The api does have an option to pull the data into XML format adding "&outputtype=xml" to the api string.
Please checkout the api options within the Nagios XI web console for reference:
https://yourhostaddresshere/nagiosxi/help/
https://yourhostaddresshere/nagiosxi/he ... erence.php
To curl the raw Availability report:
My ticket with your "insecure backend API ticket". The Backend ticket needs to be enabled from the Admin -> System Settings in XI -> Backward Compatibility tab. Then you can get the actual ticket by clicking on the username at the top right corner. It will be listed on the page.
Please review the options listed and let us know if you have further questions,
Perry