Error: Make install-plugin step in Nrpe2.12 nagios in Ubuntu
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The make commands did NOT give you any errors - the output was informational.
The error you DID get was using check_nrpe and it clearly tells you connection was refused by local host.
The nrpe plugin has both the plugin (nrpe) which needs to be configured on the client host on which it is being installed (UNIX/Linux) and the check_nrpe command which is to be run from Nagios on the master .
Typically the configuration file is in /usr/local/nagios/etc/nrpe.cfg. Default port is 1556.
Since you tried "localhost" presumably you're attempting to test the master itself so it is both the Nagios master AND the NRPE client. First check your nrpe.cfg to see what port it specified. Then check to see if nrpe is running (ps -ef |grep -i nrpe" OR is setup in xinetd.d to run from there (this will also specify port). Run "lsof -i :<port>" to see if anything is listening (e.g. "lsof -i :1556"). If not it means it isn't running nor setup to run in xinetd.
If the port IS listening then it may be a firewall issue but this is less likely on localhost than going to remote hosts. Check iptables to be sure you're not restricting access to the port on localhost that NRPE uses.
Last edited by MensaWater; 04-05-2012 at 08:34 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.