mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
235 stars 91 forks source link

check_service with name filter not working #743

Open garavitov opened 3 years ago

garavitov commented 3 years ago

Issue and Steps to Reproduce

I' trying to check two services, one that has a diferent termination with a series of number 'servicename01' and one that has spaces in the name 'RemoteWare Client', I ne I'm using nsclient++ 0.5.2.35

PLEASE PROVIDE COMMAND HERE
./check_nrpe -H host -c check_service -a "filter=name like 'OlcasHost0'"
./check_nrpe -H host -c check_service -a "filter=name like 'RemoteWare'"

### Expected Behavior

This shoud return 

OK: All 1 service(s) are ok

### Actual Behavior

I get the message:
CHECK_NRPE: Invalid packet type received from server.

### Details

* NSClient++ version: 0.5.2
* OS and Version: Windows Server 2012
* Checking from: Centreon, Icinga, OP5, ...
* Checking with: check_nrpe, check_nt, ...

### Additional Details

NSClient++ log:

PLEASE PASTE LOG HERE