Skip to content

Feature request: Boolean and combinator for service hostgroup_name #524

@snmogl

Description

@snmogl

What is the problem I'd like to solve?

I have a monitoring system that is organized by a host-list and a ruleset for applying checks to those hosts that is based on what traits those hosts have. A webserver running linux using snclient should for example be in the groups OS_Linux, Agent_SNClient and App_Apache2. (There are other operating systems and other monitoring agents and other applications in this system)

This information is pretty complete that the ruleset should automatically apply checks for the webserver that work over snclient on linux.


How I'm currently solving this problem?

Currently, my hostgroup_name for this case would look like this:

hostgroup_name App_Apache2,!Agent_SSH,!Agent_NoAgent,!Agent_NRPE,!OS_Other

All rules are hand optimized to have as little excludes as possible.


What would I like to request?

Instead of having to specify the whole matrix of what a check isn't for it would be pretty awesome if I could specify what it is for in a way that requires a host to be in multiple groups for the service to apply.

Hypothetical simple example:

hostgroup_name App_Apache2 & OS_Linux & Agent_SNClient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions