info check_nrpe service_state

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
albertig
Posts: 1
Joined: Wed Feb 19, 2020 11:26 am

info check_nrpe service_state

Post 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.
Attachments
exceptionerror.JPG
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: info check_nrpe service_state

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked