NRPE installation

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: NRPE installation

Post by tgriep »

@Box293 is correct, you need to add the --enable-command-args option to the configure script before you compile the NRPE Agent.
Rerun the configure command like the example below
./configure --enable-command-args --with-nagios-user=nagios --with-nagios-group=nagios --prefix=/opt/nagios
The run the "make all" and "make install" to rebuild and reinstall the Agent.
Restart the NRPE Agent and the check_nrpe command should be able to pass arguments to the agent.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked