Enabling command line arguments in NRPE 2.15

In their infinate wisdom when NRPE was updated we again lost command line arguments. If you are like me and run Nagios commands with arguments from the main server you will need to re-enable this on new servers you install for it to work properly.

# apt-get update

# apt-get install build-essential devscripts debhelper libssl-dev dpatch libwrap0-dev autotools-dev

# ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so

# cd /root

# apt-get source nagios-nrpe-server

# cd nagios-nrpe-2.15/

# vi debian/rules

Add this line to the bottom of the list remeber to add the \ to the last option when you add this as the last option



# ./configure

# make all

# dpkg-buildpackage

# cd..

# dpkg -i nagios-nrpe-server_2.15*.deb

This entry was posted in Linux How-To, News and Security and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *