Agent On Oracle VM server release 3.2.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Agent On Oracle VM server release 3.2.3

Post by slansing »

Is your nagios server still listed in the allow_hosts section of nrpe.cfg?
cokj72
Posts: 47
Joined: Thu Jul 11, 2013 8:40 am

Re: Agent On Oracle VM server release 3.2.3

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Agent On Oracle VM server release 3.2.3

Post 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]
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
cokj72
Posts: 47
Joined: Thu Jul 11, 2013 8:40 am

Re: Agent On Oracle VM server release 3.2.3

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Agent On Oracle VM server release 3.2.3

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cokj72
Posts: 47
Joined: Thu Jul 11, 2013 8:40 am

Re: Agent On Oracle VM server release 3.2.3

Post by cokj72 »

Hi,
the virtual machine ovmn is destroyed :( , reinstall the SO and start over l 'installation of Nagios! :mrgreen:
stay tuned please ;)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Agent On Oracle VM server release 3.2.3

Post by abrist »

We are all ears!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked