THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Products » NRPE » Troubleshooting » Common Problems

NRPE - No Output Returned From Plugin

Problem Description

This KB article addresses the following NRPE error:

No Output Returned From Plugin

 

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

There are multiple solutions to this problem depending on the cause.

 

Permissions

The most common solution is to check the permissions on the check_nrpe binary on the Nagios XI server:

ls -la /usr/local/nagios/libexec/check_nrpe

 

The expected permissions should resemble:

-rwxrwxr-x. 1 nagios nagios  75444 Nov 21 01:38 check_nrpe


If not, change ownership to user/group "nagios" and fix up the permissions:

chown nagios:nagios /usr/local/nagios/libexec/check_nrpe
chmod u+rwx /usr/local/nagios/libexec/check_nrpe
chmod u+rx /usr/local/nagios/libexec/check_nrpe

 

Missing Plugin

Another cause is a missing plugin file, though, in order to receive this error, you usually have to also be experiencing a secondary configuration issue. In order to resolve issues relating to missing plugins, please refer to the following KB article:

NRPE - Return Code Of 127 Is Out Of Bounds - Plugin May Be Missing

 

 

Mismatch of Arguments between Nagios XI and nrpe.cfg

The final cause, and usually the secondary issue for those who found their plugin missing from the expected location, is an argument usage mismatch between the remote host's nrpe.cfg command directive and the arguments passed by Nagios XI through check_nrpe.   Please refer to the following KB article to help troubleshoot this:

NRPE - CHECK_NRPE: Received 0 Bytes From Daemon. Check The Remote Server Logs For Error Messages

 

 

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!

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 - Remote does not support Version 3 Packets
Viewed 26234 times since Mon, Nov 27, 2017
NRPE - v3/v4 Compatibility With Previous Versions
Viewed 50391 times since Fri, Jun 24, 2016
NRPE - Turn Off XINETD Logging On Success
Viewed 14544 times since Tue, Mar 7, 2017
CHECK_NRPE: Error - Could not connect to xxx.xxx.xxx.xxx: Connection reset by peer
Viewed 28851 times since Fri, Jul 14, 2017
NRPE - CHECK_NRPE: Socket Timeout After n Seconds
Viewed 105521 times since Sun, Jul 16, 2017
NRPE - Linux Cached Memory Not Added to Free Memory
Viewed 10984 times since Wed, Jan 27, 2016
NRPE - Connection Refused By Host
Viewed 16632 times since Mon, Jul 17, 2017
NRPE - NRPE: Unable To Read Output
Viewed 94797 times since Mon, Jul 17, 2017
NRPE - CHECK_NRPE: Error Receiving Data From Daemon
Viewed 12905 times since Mon, Jul 17, 2017
NRPE - General Troubleshooting Tips
Viewed 19976 times since Mon, Jul 17, 2017