Search found 9 matches

by Tim7473
Tue Feb 23, 2016 10:36 am
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

Thanks for the suggestions. # sestatus SELinux status: disabled # ldd /usr/local/nagios/bin/nrpe linux-vdso.so.1 => (0x00007fff2a7ff000) libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fbadc8d6000) libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fbadc4f3000) libnsl.so.1 => /lib64/libnsl.so.1 (...
by Tim7473
Sat Feb 20, 2016 1:05 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

Here is the output: Feb 17 11:09:03 <<FREEPBX HOSTNAME>> xinetd[5784]: START: nrpe pid=10144 from=::1 Feb 17 11:09:03 <<FREEPBX HOSTNAME>> xinetd[10144]: FAIL: nrpe address from=::1 Feb 17 11:09:03 <<FREEPBX HOSTNAME>> xinetd[5784]: EXIT: nrpe status=0 pid=10144 duration=0(sec) Feb 17 16:57:09 <<FRE...
by Tim7473
Thu Feb 18, 2016 7:14 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

# default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no onl...
by Tim7473
Thu Feb 18, 2016 1:43 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

It's running under xinetd. I've restarted the service and the whole VM several times. Just rebooted again before running ps -ef|grep nrpe. Result: root 1956 1903 0 13:15 pts/0 00:00:00 grep nrpe Also tried: # service xinetd status xinetd (pid 2094) is running... I tried ./check_nrpe -H <FREEPBXIP> -...
by Tim7473
Thu Feb 18, 2016 9:29 am
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

Host is up (0.061s latency). Not shown: 987 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 80/tcp open http 81/tcp open hosts2-ns 83/tcp open mit-ml-dev 84/tcp open ctf 85/tcp open mit-ml-dev 443/tcp open https 5222/tcp open xmpp-client 5269/tcp open xmpp-server 5280/tcp open xmp...
by Tim7473
Wed Feb 17, 2016 5:03 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

# ./check_nrpe -H localhost -n
CHECK_NRPE: Error receiving data from daemon.

Trying to check and make sure it's running:
netstat -at | grep nrpe
tcp 0 0 *:nrpe *:* LISTEN

I'm not sure if the netstat output looks correct?
by Tim7473
Wed Feb 17, 2016 11:27 am
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

Installing OpenSSL-devel allowed me to compile and install, but now I'm getting the error "CHECK_NRPE: Error - Could not complete SSL handshake." when I try ./check_nrpe -H localhost. I'm also getting an error "connect to address <NAGIOS SERVER IP> port 5666: No route to host" wh...
by Tim7473
Mon Feb 15, 2016 4:39 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Re: Installing NRPE on FreePBX Distro

I'm hitting an issue with SSL when I try to compile. Running ./configure gives me the error "checking for SSL headers... configure: error: Cannot find ssl headers" When I try #which openssl I see it's installed at /usr/bin/openssl so I tried ./configure --with-ssl=/usr/bin/openssl and I'm ...
by Tim7473
Thu Feb 11, 2016 8:57 pm
Forum: Nagios XI
Topic: Installing NRPE on FreePBX Distro
Replies: 18
Views: 7474

Installing NRPE on FreePBX Distro

I'm just getting started with Nagios XI and I'm trying to install NRPE to monitor a FreePBX server. I'm getting an error on install that the OS version can't be determined. The FreePBX distro is based on CentOS, but it is reported as SHMZ release 6.6 (Final) instead of CentOS when I do cat /etc/redh...