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$
}
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.