I am using nagios for monitoring my infrastructure. the nagios server is on OEL 7 whereas the client is OEL 6. After setting up both the servers, i’m getting error “NRPE: Unable to read output”. The port 5666 is open from client. I am able connect the client as well using command “/usr/local/nagios/libexec/check_nrpe -H <IP_Address>” and getting the output as well.
please help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @joshimithilesh02,
There is a good article on the Nagios website with steps on how to troubleshoot that error:
https://support.nagios.com/kb/article/nrpe-nrpe-unable-to-read-output-620.html
In most cases, I believe that it is the plugin that requires sudo privileges. To allow that you could use the visudo command and add the following:
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/<plugin>
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.