icingaweb2 icon indicating copy to clipboard operation
icingaweb2 copied to clipboard

Send action for Hostgroup/Servicegroup

Open widhalmt opened this issue 8 years ago • 3 comments

Hi, A customer of mine asks for a feature to send an action to a hostgroup/servicegroup at once. They have rather large hostgroups so scrolling and selecting is rather cumbersome. I could think of a small bar above the list of hosts in the detailview of the hostgroup. So it will still look like it does now but with small buttons/keywords for "plan downtime", "check now" and so on on top of the list. Maybe it could be a good idea to send the actions in batches because I know some users really do have very big groups and as far as I remember Icinga 2 can not take an action based on membership but wants to have all host-/servicenames sent individually. Cheers, Thomas

widhalmt avatar Jan 04 '18 09:01 widhalmt

This feature is already available with usage of the API(e.g. filtering for host.group: https://server:5665/v1/objects/hosts?filter="yourhostgrouphere" in host.groups).

Iirc icingaweb2 has a problem with scheduling anything if there are more than x hosts involved(because the URL is way to long).

thammw avatar Jan 08 '18 14:01 thammw

Thanks for pointing that out. We have some customers who can only use Icinga Web 2 for sending commands for various reasons. So I'm afraid this won't fix the issue.

widhalmt avatar Jan 09 '18 08:01 widhalmt

Hi,

Thanks for the report. I close this as duplicate of #2344.

Best regards, Eric

lippserd avatar Jan 15 '18 08:01 lippserd