Page 1 of 1

info check_nrpe service_state

Posted: Wed Feb 19, 2020 11:56 am
by albertig
Hi all,
I need a info about the command "service_state" of check_nrpe.
I need to exclude some services with "filter=name not like 'XXXXXXX'".
The exclusion works but I need more exceptions like "filter=name not like 'XXXXXXX' and 'YYYYYYY'".
If I try the system returns:
Failed to validate filter see log for details: Filter expression is not valid: name not like ('XXXXX', 'YYYYY')
Are there any suggestions about syntax or other filters to use?

VM Windows 2012R2 monitored with NSClient version 0.5.2.35.

Looking forward to your reply.
Regards.
Giacomo.

Re: info check_nrpe service_state

Posted: Wed Feb 19, 2020 12:05 pm
by scottwilkerson
NSClient++ isn't our project, but I think this is the documentation you are looking for

https://docs.nsclient.org/reference/win ... ck_service