Re: check_by_ssh
Posted: Fri Feb 07, 2014 3:30 pm
It should have been installed as a part of XI, but let's make sure you have the openssl dev package
Code: Select all
rpm -qa | grep opensslSupport for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
rpm -qa | grep opensslsreinhardt wrote:It should have been installed as a part of XI, but let's make sure you have the openssl dev packageCode: Select all
rpm -qa | grep openssl
Code: Select all
cd /tmp
wget https://github.com/nagios-plugins/nagios-plugins/archive/master.zip
unzip master.zip
cd nagios-plugins-master
./tools/setup
./configure
make all
cp plugins/check_by_ssh /usr/local/nagios/libexecabrist wrote:Well, for some reason you do not have it. Lets download the nagios-plugins tarball, build it, and then copy it to libexec:Code: Select all
cd /tmp wget https://github.com/nagios-plugins/nagios-plugins/archive/master.zip unzip master.zip cd nagios-plugins-master ./tools/setup ./configure make all cp plugins/check_by_ssh /usr/local/nagios/libexec
Thank you again. I followed the procedure. Here the latest messages off make al command. Some plugins were compiled but not the check_by_sshtmcdonald wrote:yum -y install automake
You may have an issue with gettext:opensys wrote:make[3]: *** [fr.gmo] Error 1
make[3]: Leaving directory `/tmp/nagios-plugins-master/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/tmp/nagios-plugins-master/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nagios-plugins-master'
make: *** [all] Error 2
Code: Select all
yum install gettext -yCode: Select all
./configure
make clean
make allCode: Select all
./configure | grep ssh
make clean
make all | grep ssh[root@srvnagios nagios-plugins-master]# ./configure | grep sshabrist wrote:Lets run a grep on the configure and compile:Post the output of the greps.Code: Select all
./configure | grep ssh make clean make all | grep ssh