This is a cache of https://support.nagios.com/kb/article/nrpe-unknown-no-handler-for-that-command-627.html. It is a snapshot of the page at 2025-05-14T00:12:29.993+0000.
NRPE - UNKNOWN: No Handler For That Command
Home » Categories » Multiple Categories

NRPE - UNKNOWN: No Handler For That Command

Problem Description

This KB article addresses the following NRPE error or variants of this error:

UNKNOWN: No Handler For That Command
No handler for command:
Unknown command(s):

 

Assumed Knowledge

The following KB article contains an explanation of how NRPE works and may need to be referenced to completely understand the problem and solution that is provided here:

NRPE - Agent and Plugin Explained

In addition to this, NSClient++ must be correctly installed and configured, please refer to the following KB article on enabling the NRPE listener in NSClient++:

Documentation - Enabling The NRPE Listener In NSClient++ 0.4.x

 

Troubleshooting The Error

This is usually caused by a missing or incorrectly spelled handler (external alias) in the remote host's C:\Program Files\NSClient++\nsclient.ini file.

Check the spelling of the check_nrpe command for the service check in Nagios xi (the name of the command after the "-c").  It should match the spelling of the external alias in the nsclient config file.  For example:

[/settings/external scripts/alias]
alias_cpu = checkCPU warn=80 crit=90 time=5m time=1m time=30s

 

In the example above, the "alias_cpu" is the handler and therefore the service check in Nagios xi should specify the check_nrpe command as "alias_cpu".

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

3 (3)
Article Rating (3 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
NRPE - General Troubleshooting Tips
Viewed 18439 times since Mon, Jul 17, 2017
NRPE - v3/v4 Compatibility With Previous Versions
Viewed 46593 times since Fri, Jun 24, 2016
Nagios xi - Problems with $ Signs in the Check Command
Viewed 8688 times since Tue, Jan 26, 2016
NRPE - CHECK_NRPE: Error - Could Not Complete SSL Handshake
Viewed 124212 times since Fri, Jul 14, 2017
CHECK_NRPE: Error - Could not connect to xxx.xxx.xxx.xxx: Connection reset by peer
Viewed 26875 times since Fri, Jul 14, 2017
NRPE - Remote does not support Version 3 Packets
Viewed 25126 times since Mon, Nov 27, 2017
NRPE - Return Code Of 127 Is Out Of Bounds - Plugin May Be Missing
Viewed 29130 times since Fri, Jul 14, 2017
NRPE - Connection Refused Or Timed Out
Viewed 9996 times since Mon, Jul 17, 2017
NRPE - CHECK_NRPE: Received 0 Bytes From Daemon. Check The Remote Server Logs For Error Messages
Viewed 10833 times since Mon, Jul 17, 2017
NRPE - Agent and Plugin Explained
Viewed 68775 times since Fri, Jul 14, 2017