Page 4 of 4

Re: Agent On Oracle VM server release 3.2.3

Posted: Wed Oct 30, 2013 12:29 pm
by slansing
Is your nagios server still listed in the allow_hosts section of nrpe.cfg?

Re: Agent On Oracle VM server release 3.2.3

Posted: Mon Nov 04, 2013 8:21 am
by cokj72
Yes. IP for my nagios Server is 192.168.110.150

Code: Select all

cat /usr/local/nagios/etc/nrpe.cfg

Code: Select all

# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.
#
# Note: The daemon only does rudimentary checking of the client's IP
# address.  I would highly recommend adding entries in your /etc/hosts.allow
# file to allow only the specified host to connect to the port
# you are running this daemon on.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd

allowed_hosts=127.0.0.1,192.168.110.150

Re: Agent On Oracle VM server release 3.2.3

Posted: Mon Nov 04, 2013 4:25 pm
by sreinhardt
Just an fyi, I think your "ps | grep nrpe" is failing as nrpe is actually run under xinet.d daemon. I forget if it actually is listed as its own (sub)process too. Otherwise, with nrpe running, from the nagios server can we get an nmap scan and validate the port is open correctly?

Code: Select all

nmap -p 5666 [host\IP]

Re: Agent On Oracle VM server release 3.2.3

Posted: Wed Nov 06, 2013 8:53 am
by cokj72
[root@nagios ~]# nmap -p 5666 192.168.110.218

Starting Nmap 5.51 ( http://nmap.org ) at 2013-11-06 14:51 CET
Nmap scan report for ovmm.fpf.local (192.168.110.218)
Host is up (0.00030s latency).
PORT STATE SERVICE
5666/tcp closed nrpe
MAC Address: 00:21:F6:00:00:06 (Virtual Iron Software)

Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds

Re: Agent On Oracle VM server release 3.2.3

Posted: Wed Nov 06, 2013 1:10 pm
by scottwilkerson
cokj72 wrote:...
Start the service:

Code: Select all

[root@ovmn init.d]# service nrpe restart
Starting NRPE: OK
[root@ovmn init.d]# ps -ef |grep -i nrpe
root     10849  9933  0 05:54 pts/0    00:00:00 grep -i nrpe
..
When you ran this, it is showing that nrpe isn't running

Run this combination and show the output:

Code: Select all

service nrpe start
cat /var/log/nessages|grep nrpe

Re: Agent On Oracle VM server release 3.2.3

Posted: Tue Nov 12, 2013 9:40 am
by cokj72
Hi,
the virtual machine ovmn is destroyed :( , reinstall the SO and start over l 'installation of Nagios! :mrgreen:
stay tuned please ;)

Re: Agent On Oracle VM server release 3.2.3

Posted: Tue Nov 12, 2013 1:28 pm
by abrist
We are all ears!