CentOS and NRPE inconsistent with Nagios Host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
huskgrah
Posts: 19
Joined: Tue Apr 26, 2016 10:28 am

CentOS and NRPE inconsistent with Nagios Host

Post by huskgrah »

I seem to be muddled in version issues and nrpe commands. When I try to configure a new (my first actually) CentOS 7.3 server to be monitored with nrpe, there are two issues that confuse me:

1. Some articles say to compile nrpe with ./configuration to -enable_command_args. I used the following article which does not compile:
https://kb.op5.com/display/HOWTOs/Insta ... S+and+RHEL
Other articles state that all that is required is to add the setting dont_blame_nrpe=1
Also since the windows check_nt download from the XI console was so outdated I expected the same for the nrpe download.

2. The commands used by NagiosXI are not available to the nrpe install we performed on CentOS
examples check_nrpe!check_cpu_stats and check_npre!check_mem.
These are commands showing in the configuration of Nagios Host, but do not appear as available commands that can be run by nrpe on the Linux server.

If I could get guidance on these issues and a defined course of action to allow me to work with Linux and nrpe I would be eternally greatful

Thanks
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: CentOS and NRPE inconsistent with Nagios Host

Post by dwhitfield »

1. I would stick to documentation on the nagios site. For example:
https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
https://assets.nagios.com/downloads/nag ... utions.pdf

There's also difference in what you need to do if you are compiling or using the pre-compiled, and of course between versions, so at this point it's difficult to say what you need to do other than what is in #2. It might be easiest to stick with the pre-compiled so you don't have to worry about the compile flags. Was there a specific feature you were looking for in the new versions? Also, what version of XI are you using?

2. You need to install the checks on CentOS. What's the output of ll /usr/local/nagios/libexec on the remote server? Also, the output of find / -name nrpe* on the remote server will be useful.

Do you get a specific error? That will help us be more specific with the fix.
Locked