check_service: UNKNOWN: No handler for that command

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.
Post Reply
Lebenshilfe
Posts: 2
Joined: Tue Apr 23, 2024 7:56 am

check_service: UNKNOWN: No handler for that command

Post by Lebenshilfe »

Hello,

I try the following command:

./check_nrpe -H X.X.X.X -c check_service -a service=spooler

but I get a wrong result:

UNKNOWN: No handler for that command

I don`t understand why, because check_service is includet at check_nrpe

Can someone help me?

Thank you.
User avatar
danderson
Posts: 116
Joined: Wed Aug 09, 2023 10:05 am

Re: check_service: UNKNOWN: No handler for that command

Post by danderson »

Thanks for reaching out @Lebenshilfe,

What version of NRPE are you using and what does the check_service plugin look like?
kg2857
Posts: 242
Joined: Wed Apr 12, 2023 5:48 pm

Re: check_service: UNKNOWN: No handler for that command

Post by kg2857 »

It looks like you can get that response from a host running nsclient and check_service isn't in the nsclient config...
Post Reply