Home » Categories » Products » NRPE » Troubleshooting » Common Problems

NRPE - CHECK_NRPE: Error Receiving Data From Daemon

Problem Description

This KB article addresses the following NRPE error:

CHECK_NRPE: Error Receiving Data From Daemon

 

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

 

Troubleshooting The Error

This error is not to be confused with the error "CHECK_NRPE: Received 0 bytes from daemon" as they have separate causes.

Most often, this error is experienced when using the no ssl switch (-n) with check_nrpe even though NRPE on the remote host was compiled with ssl enabled. There are very few instances where NRPE is best run without ssl, so if you added the -n switch to your check for testing reasons, make sure to remove the switch before deploying the check. If you have a reason for not using ssl, do note that you will have to compile NRPE without ssl to avoid this error when using the -n switch. Detailed compile instructions can be found in the following KB article:

NRPE - How To Install NRPE v3 From Source

 

The other general cause of this error, though rare, happens when your check's check_nrpe timeout is set too low. To increase the timeout, refer to the following KB article:

NRPE - CHECK_NRPE: Socket Timeout After n Seconds

 

 

Final Thoughts

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

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

0 (0)
Article Rating (No 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 - Return Code Of 126 Is Out Of Bounds - Plugin May Not Be Executable
Viewed 5733 times since Fri, Jul 14, 2017
NRPE - Connection Refused Or Timed Out
Viewed 6634 times since Mon, Jul 17, 2017
NRPE - Linux Cached Memory Not Added to Free Memory
Viewed 6753 times since Wed, Jan 27, 2016
NRPE - Agent and Plugin Explained
Viewed 45740 times since Fri, Jul 14, 2017
CHECK_NRPE: Error - Could not connect to xxx.xxx.xxx.xxx: Connection reset by peer
Viewed 19761 times since Fri, Jul 14, 2017
NRPE - UNKNOWN: No Handler For That Command
Viewed 11031 times since Mon, Jul 17, 2017
NRPE - v3/v4 Compatibility With Previous Versions
Viewed 32587 times since Fri, Jun 24, 2016
NRPE - Warning: This Plugin Must Be Either Run As Root Or Setuid
Viewed 7422 times since Mon, Jul 17, 2017
NRPE - No Output Returned From Plugin
Viewed 12289 times since Mon, Jul 17, 2017
NRPE - NRPE: Unable To Read Output
Viewed 61400 times since Mon, Jul 17, 2017