Thruk - Hostgroup Availability Report without Host Groups

(Monitor Junkie) #1


Centos : 7.5
Icinga 2 : 2.10.2
Thruk : 2.24-2

I’m trying to create in Thruk HostGroup Availability Report, but that only works if I select html report.
With the mode CSV, JSON and XLS does not work.
I only get report from hosts without hostgroups.

Permanent url for this report:

Does anyone have the solution?


(Sven Nierlein) #2

so if you change the &view_mode=csv into &view_mode=html it works?

(Monitor Junkie) #3

I first start from the menu (Avalibility Hostgroupe CSV REPORT)


Then I change from URL link “view_mode” into & “view_mode=csv”

It does not work.


(Sven Nierlein) #4

I cannot reproduce that, if you try the link from your first post, i get a csv file for all hosts.

(Monitor Junkie) #5


if I change the &view_mode=csv into &view_mode=html, then I have current HostGroup Availability report.

and at CSV Report, creates a file that has no hostgroups, only one report sorted alphabetically
(SEE attachment!)

thruckavailreportcsv.txt (1.6 KB)

Maybe I forgot to install certain (CSV modules, plugins, etc) at Thruk installation?
Or is it missing the correct setting?


(Sven Nierlein) #6

no, thats just how it works. The csv export simply uses the hostgroup to filter the hosts, but then puts all hosts into a simple csv.
You could iterate over the required hostgroups and generate separate csv files for each if thats what you need.

(Monitor Junkie) #7

Can you show the structure of correct CSV file?
how about your correct http link for CSV HostGroup Availability Report?