Team
We are getting nrpe issue on nagios server.Can you let us know what is the probelm.
Below is output
tmproot@usa7061lv955>./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
tmproot@usa7061lv955>telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
nrpe issue on nagios server
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nrpe issue on nagios server
Hello ravish, please take a look at the following document, it outlines the most common errors you will see with NRPE and how to best resolve them:
http://assets.nagios.com/downloads/nagi ... utions.pdf
http://assets.nagios.com/downloads/nagi ... utions.pdf
Re: nrpe issue on nagios server
Most probably, you haven't added 127.0.0.1 to "/etc/xinetd.d/nrpe" file:
After you add it, restart the daemon:
and try your check again.
Why do you want to run check_nrpe against localhost anyway?
Code: Select all
only_from = 127.0.0.1Code: Select all
service xinetd restartWhy do you want to run check_nrpe against localhost anyway?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nrpe issue on nagios server
Issue was solved .You can close this.
Problem is with /usr/local/nagios/etc/nrpe.cfg file.
Some unknown characters we re added.Removing them and restrating worked
Problem is with /usr/local/nagios/etc/nrpe.cfg file.
Some unknown characters we re added.Removing them and restrating worked