Page 1 of 1

No clear cut instructions available for adding remote host.

Posted: Sun Jun 26, 2016 6:18 pm
by jim
Hello All,

Specifically Nagios Core Product Owners,

There are no clear cut instructions available to add CentOS 7/6 as remote host to Nagios Core Server.

Everyone seems to have different flavour of compilation, It is quiet frustrating for newbies.
1.
https://www.digitalocean.com/community/ ... n-centos-7
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
2.https://gist.github.com/lokesh-webonise/5848201
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu
3. http://www.tecmint.com/how-to-add-linux ... ng-server/
./configure

Just to compile the application 3 different instructions on 3 different site.

Moreover I do not have /usr/lib/x86_64-linux-gnu

Code: Select all

[root@agent1 nagios-plugins-2.1.1]# ls /usr/lib/x86_64-linux-gnu
ls: cannot access /usr/lib/x86_64-linux-gnu: No such file or directory
So I did google and they say install openssl-devel

Code: Select all

[root@agent1 /]# find / -xdev -type d -iname "linux"
/var/lib/pcp/pmdas/linux
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2.x86_64/include/linux
/usr/lib64/perl5/linux
/usr/share/systemtap/tapset/linux
/usr/share/systemtap/runtime/linux
/usr/include/linux
/usr/src/kernels/3.10.0-327.el7.x86_64/include/config/logo/linux
/usr/src/kernels/3.10.0-327.el7.x86_64/include/generated/uapi/linux
/usr/src/kernels/3.10.0-327.el7.x86_64/include/linux
/usr/src/kernels/3.10.0-327.el7.x86_64/include/uapi/linux
/usr/src/kernels/3.10.0-327.22.2.el7.x86_64/include/config/logo/linux
/usr/src/kernels/3.10.0-327.22.2.el7.x86_64/include/generated/uapi/linux
/usr/src/kernels/3.10.0-327.22.2.el7.x86_64/include/linux
/usr/src/kernels/3.10.0-327.22.2.el7.x86_64/include/uapi/linux
/opt/VBoxGuestAdditions-5.0.22/src/vboxguest-5.0.22/vboxguest/r0drv/linux
/opt/VBoxGuestAdditions-5.0.22/src/vboxguest-5.0.22/vboxsf/r0drv/linux
[root@agent1 /]# 

Code: Select all

[root@agent1 nagios-plugins-2.1.1]# yum -y install openssl-devel 

WOuld appreciate if someone can throw light on what is correct and precise way.

I want two remote host having nagios plugins + NRPE Install. Once with CentOS 6 and other with 7

Re: No clear cut instructions available for adding remote ho

Posted: Mon Jun 27, 2016 1:52 am
by Box293
The steps in this guide do all of the NPRE + Plugin steps for you (even though it's titled XI, it also works for Core).

https://support.nagios.com/kb/article.php?id=218

Then you just need to create the host and service objects in core in the text config files.

There is a new release of NRPE v3 soon, along with that is a guide for installing NRPE on all different versions of Linux.

You should also check out the Nagios KB:

https://support.nagios.com/kb/category.php?id=10