No clear cut instructions available for adding remote host.

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.
Locked
jim
Posts: 37
Joined: Wed Jun 08, 2016 11:18 am

No clear cut instructions available for adding remote host.

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: No clear cut instructions available for adding remote ho

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked