icingadb-web icon indicating copy to clipboard operation
icingadb-web copied to clipboard

Add link to header of tactical for full list of hosts/services

Open gbin2265 opened this issue 2 years ago • 5 comments

Description

Sometimes they are asked to get a complete list of all hosts or services behind a particular tactical view. Currently I select a status , then remove everything from the status in the filter and then I have the complete list and can I do an export in pdf/csv/...

Suggestion

It would be helpful if i could click direct on the HOST/SERVICES title (or the total number) in the header and get the total list of the services or hosts regardless of their status.

screen_one_tacticak_view

Question

Is this something that can be customized ?

regards, Geert

gbin2265 avatar Jul 27 '23 10:07 gbin2265

Just click in the sidebar on Overview -> Hosts or Overview -> Services?

nilmerg avatar Jul 27 '23 11:07 nilmerg

Sorry for my bad (google) english ;-)

Full -> I want to say , all hosts/services that are behind the donut with no filter of their status.

Now I click on one status of the donut and then in the filter I delete everything except the group filter. And so i have the list of alle te host or services.

  • Click on the status critical hosts i have this filter hosts?(host.state.soft_state=1&host.state.is_handled=n&host.state.is_reachable=y)&hostgroup.name=hostgroup_all_linux

  • Just leave this in the filter and you have all the hosts who are behind the donut hosts?hostgroup.name=hostgroup_all_linux

In order not to have to do this every time when they ask what hosts/services are behind the donut, I thought to ask for placing the latest filtering behind the TOTAL or TITLE.

Otherwise I'm going to have to make a list in my doc system of all the donuts I have but without status filtering. (solution https://github.com/Icinga/icingaweb2/issues/5070#issuecomment-1652984348 :-) ) To avoid that, and perhaps also interesting for others, I ask that it is possible to make the link behind the total.

gbin2265 avatar Jul 27 '23 11:07 gbin2265

all hosts/services that are behind the donut with no filter of their status.

That's excactly what you'll find there.

Now I click on one status of the donut and then in the filter I delete everything except the group filter.

The tactical overview does not filter for groups. What seem to be talking about is the hostgroup overview and their donuts. There the list item itself is clickable, you don't have to click on the badges, then you'll also see all hosts of that particular hostgroup.

nilmerg avatar Jul 27 '23 12:07 nilmerg

I have now given an example with a tactical overview based on a hostgroup, but I have (most) many other tactical views based on variables. And then if I want the total list I have to make a manual filter. I ask this to avoid making a line in my doc for all donuts based on variables.

Our 200 sites (administrators) each have their own devices and their own tactical views. And centrally we have tactical views per type of environment (servers, network, storage, f5,....) or type of services (web, sql servers,...) and the central operators have their central views

Most tactical views are based on variables. I think variables are the only solution to group devices. Each object is in multiple groups. Variable to say it's about a linux server, or window server; ... . Then for the same object a variable to say that server is in physical site x Then a variable to say that it is about a web-, postgres server.... Then... And behind every question are other people who monitor their job.

If I had to create a hostgroup or servicegroup for all variables first.... then I don't know how long the EDB POSTGRES SQL server will take when I ask for the list of the hostgroups/servicegroups. :-)

That's why I also followed the case https://github.com/Icinga/icingadb-web/issues/711. I created the index manually and now it uses the index when filtering based on a variable.

Maybe you understand why in our environment that I ask questions as the cases https://github.com/Icinga/icingadb-web/issues/818 en https://github.com/Icinga/icingadb-web/issues/763

gbin2265 avatar Jul 27 '23 12:07 gbin2265

Oh gosh, you filter for hostgroups manually :man_facepalming:

Of course, heck, why not?

nilmerg avatar Jul 27 '23 13:07 nilmerg