Closed kucharst closed 4 years ago
@kucharst I think the command you want is like:
check_service service=Termservice
checkServiceState is deprecated and doesn't have the same syntax.
Thanks @mintsoft,
Unfortunately it didn't worked :( It just shows status of all services, not the one i want to check. :( I tried with and without quotes, setting warn and crit, but no changes.
_./check_nrpe -H rds_windows_server -c check_service service=Termservice_ CRITICAL: RemoteRegistry=stopped (auto), WbioSrvc=stopped (auto), delayed (gupdate=stopped (delayed), MapsBroker=stopped (delayed))
@kucharst The service=Termservice
is an argument to the command, so either -a service=Termservice
or add it into the nsclient.ini as an alias. I can't remember the exact format for check_nrpe
but it's something like that
Thank you so much for help and patience :) it works with an alias :)
Have a nice week!
Issue and Steps to Reproduce
Hello,
I would like to ask if there is a possibility to check a separate service? I'm mainly interested to check by my nagios core server the RDP service (Termservice) placed on windows terminal server. I can easily check all services with some exceptions:
_aliasservice checkServiceState "service=Termservice"