Linuxfabrik / monitoring-plugins

220+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
https://linuxfabrik.ch
The Unlicense
220 stars 51 forks source link

Icinga Director: Add service groups to expose service-sets in the Icingaweb2 monitoring and icingadb-web modules #666

Open slalomsk8er opened 1 year ago

slalomsk8er commented 1 year ago

Describe the solution you'd like

This way one could quickly filter by, for example the chronyd service-set, with /icingaweb2/monitoring/list/services?host=hostname&servicegroup=chronyd in stead of /icingaweb2/monitoring/list/services?host=hostname&(service=%2Achrony%2A|service=%2Antp%2A).

Resulting in:

image

Additional context

No response

markuslf commented 1 year ago

Nice idea.

markuslf commented 1 year ago

Currently not possible. If I try to define a "ServiceGroup" with "assign_filter: service.service_set=="My Service Set", I get Error: Invalid field access (for value of type 'Service'): 'service_set'.