Replies: 6 comments
-
IIRC check_nrpe needs a -a before the arguments. But your assumption works: |
Beta Was this translation helpful? Give feedback.
-
Hello ty for your comment From the host i have like you so it works so i can do this but i can't specify a service name the -a you talk about where do i put this? tx |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello ./check_nrpe -2 -H srv -c check_service -a service=LanmanServer |
Beta Was this translation helpful? Give feedback.
-
NSClient++ is not configured to allow arguments if you check the docs I linked: https://nsclient.org/docs/howto/nrpe/#nsclient-configuration-revisited To better understand the security implications of the various argument configurations I created this page: https://nsclient.org/docs/howto/external_scripts/#arguments |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, you saved it! Tx again |
Beta Was this translation helpful? Give feedback.
-
Hello,
First use of nsclient on a windows for checking some specific services.
So from the nagios i can do this
./check_nrpe -2 -H server -c check_service
CRITICAL: GoogleUpdaterInternalService132.0.6806.0=stopped (auto), GoogleUpdaterService132.0.6806.0=stopped (auto), RemoteRegistry=stopped (auto), WbioSrvc=stopped (auto), delayed (BITS=stopped (delayed), edgeupdate=stopped (delayed), gupdate=stopped (delayed), MapsBroker=stopped (delayed), sppsvc=stopped (delayed))
from this i have no idea how to check for a speciofic service
I tried
./check_nrpe -2 -H server -c check_service service=snmp
doesn't get something relevant, am i missing something?
tx
Beta Was this translation helpful? Give feedback.
All reactions