ConSol-Monitoring / snclient

SNClient+ - Cross platform monitoring agent
MIT License
48 stars 9 forks source link

check_service, service filter doesn’t seems to work #47

Closed BenoitPoulet closed 11 months ago

BenoitPoulet commented 11 months ago

Hello,

check_service, service filter by service or name, doesn’t seems to work

$ /usr/lib64/nagios/plugins/check_nrpe -H 10.128.10.7 -c check_service service=snclient
CRITICAL: critical(RemoteRegistry=stopped (auto)), delayed (warning(sppsvc=stopped (delayed)))

$ /usr/lib64/nagios/plugins/check_nrpe -H 10.128.10.7 -c check_service 'name=snclient'
CRITICAL: critical(RemoteRegistry=stopped (auto)), delayed (warning(sppsvc=stopped (delayed)))

Installed from : snclient-0.08-windows-amd64.msi OS : Windows Server 2019 (1809, build 17763.4851)

Regards.

BenoitPoulet commented 11 months ago

I’m stupid I forgot the «-a»

sni commented 11 months ago

glad you got it working, did we miss that anywhere in the examples?

BenoitPoulet commented 11 months ago

No it’s ok, that is only me. Sorry for the noise.