Skip to content

Feature Request - Support wildcards in exclude arguments #282

Description

@ne-lgute

When services need to be excluded, and the service name includes things like version numbers, the exclude argument needs to be changed every time the version number is updated.

Add support for wild cards and/or head/tail type matching rules, so the exclude argument does not need to be changed.

define command {
    command_name check_some_services
    command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c CheckServiceState -a CheckAlc 
    exclude=XYZService122.0.6253.9 exclude=$ARG1$ exclude=$ARG2$ exclude=$ARG3$ exclude=$ARG4$ exclude=$ARG5$
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions