Icinga / icingaweb2-module-idoreports

Icinga IDO Reports provides host and service availability reports for Icinga based on the monitoring database (IDO).
GNU General Public License v2.0
34 stars 13 forks source link

Total is missing in CSV-report #55

Closed emanuel-b-q closed 2 years ago

emanuel-b-q commented 3 years ago

Describe the bug

When a report is generated and sent by email or downloaded at the end of the report a Total is calculated for all systems (no matter if host or service SLA related) in the webinterface and is also reported in a PDF

Expected behavior

Expected is to have the Total not only available in the PDF but also in the CSV or JSON

Screenshots

CSV Output: Hostname,"SLA in %" "host1.domain.com",100

PDF Output: Screenshot - PDF report including Total

Your Environment

nilmerg commented 2 years ago

This is by design. If you export to CSV or JSON, you'll get the raw data. If you want the total (or rather average) uptime, calculate it with the program you feed the export to. (e.g. Excel if CSV)