Hello,
is there a possibilty to change the name of the availability csv export to a "timestamp" oder something like that?
Or maybe to let a file growth?
For example: I want a avail. report for the whole year. Can I get a csv with data from january and february and so on, instead of the actual data?
I'm looking for a possibility to customize the csv.
Thank you
Report: Availability - csv
Re: Report: Availability - csv
I apologize, I'm having trouble understanding what specifically you're trying to do.
Customize the CSV how specifically? You could query the XI API endpoints and then process that into a CSV, see the Help menu item in the XI web interface for working examples:
https://YOURXISERVER/nagiosxi/help/api- ... ailability
Another option is the JSON Query endpoints:
https://YOURXISERVER/nagios/jsonquery.html
Are you saying instead of the actual data (like the Event Log report) you are looking for the Availability data from that report in CSV format?Can I get a csv with data from january and february and so on, instead of the actual data?
Customize the CSV how specifically? You could query the XI API endpoints and then process that into a CSV, see the Help menu item in the XI web interface for working examples:
https://YOURXISERVER/nagiosxi/help/api- ... ailability
Another option is the JSON Query endpoints:
https://YOURXISERVER/nagios/jsonquery.html
-
Nuggel1234
- Posts: 23
- Joined: Mon May 28, 2018 2:39 am
Re: Report: Availability - csv
No need to apologize, maybe I explained it wrong.
First question / painpoint:
Wenn we schedule a report, we get a csv with the follwing name 164478843-availibility_report.csv
Where does that nameing come from and is it possible to customize it? for example use of the actual date, instead of a (from my point of view) random number. For example %date% %hostgroup%.csv
That would help us a lot
Second question / painpoint:
The other thing is to get a csv from data today. If the same schedule runs tomorrow, we need the data from yesterday and the actual data, so the csv will growth with time.
Thank you
First question / painpoint:
Wenn we schedule a report, we get a csv with the follwing name 164478843-availibility_report.csv
Where does that nameing come from and is it possible to customize it? for example use of the actual date, instead of a (from my point of view) random number. For example %date% %hostgroup%.csv
That would help us a lot
Second question / painpoint:
The other thing is to get a csv from data today. If the same schedule runs tomorrow, we need the data from yesterday and the actual data, so the csv will growth with time.
Thank you
Re: Report: Availability - csv
Thank you for clarifying, it definitely helped! 
1. Unfortunately, the report name is not currently modifiable as it is hardcoded in the source code.
I have submit a feature-request to development on your behalf:
Please keep in mind that the decision to implement the enhancement is at the discretion of our development team
2. For this one, do you have Today selected in the Period dropdown when running the report?
Are you trying to aggregate multiple "today" CSVs together?
Or are you wanting the Period to increase as time progresses?
1. Unfortunately, the report name is not currently modifiable as it is hardcoded in the source code.
I have submit a feature-request to development on your behalf:
Code: Select all
XI - Sending Reports - Add options such as host/service/hostgroup/servicegroup that were selected to the attachment name2. For this one, do you have Today selected in the Period dropdown when running the report?
Are you trying to aggregate multiple "today" CSVs together?
Or are you wanting the Period to increase as time progresses?