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 - Linux Cached Memory Not Added to Free Memory
Viewed 1864 times since Wed, Jan 27, 2016
CHECK_NRPE: Error - Could not connect to xxx.xxx.xxx.xxx: Connection reset by peer
Viewed 7418 times since Fri, Jul 14, 2017
NRPE - Return Code Of 127 Is Out Of Bounds - Plugin May Be Missing
Viewed 3948 times since Fri, Jul 14, 2017
NRPE - Connection Refused Or Timed Out
Viewed 2092 times since Mon, Jul 17, 2017
NRPE - Agent and Plugin Explained
Viewed 13549 times since Fri, Jul 14, 2017
NRPE - NRPE: Unable To Read Output
Viewed 16811 times since Mon, Jul 17, 2017
NRPE - No Output Returned From Plugin
Viewed 4278 times since Mon, Jul 17, 2017
NRPE - Command ’[Your Plugin]’ Not Defined
Viewed 1607 times since Mon, Jul 17, 2017
NRPE - Warning: This Plugin Must Be Either Run As Root Or Setuid
Viewed 1887 times since Mon, Jul 17, 2017
NRPE - Turn Off XINETD Logging On Success
Viewed 2585 times since Tue, Mar 7, 2017