Re: NRPE installation
Posted: Mon Apr 10, 2017 3:06 pm
@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.
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.