It is failing name resolution to the repo servers. . . .cokj72 wrote:[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Agent On Oracle VM server release 3.2.3
Re: Agent On Oracle VM server release 3.2.3
Does it have access to the internet though?
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.
"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.
Re: Agent On Oracle VM server release 3.2.3
try again, today I made the 'upgrade to version 2012R2.5 and I have a problem with the Oracle server monitoring
-
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
The issue you were seeing was with installing the agent on the host oracle VM's correct? So upgrading Nagios XI would have no effect on this.
Re: Agent On Oracle VM server release 3.2.3
This output from install.log after linux-nrpe-agent/fullinstall
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
NSCA-POST
real 0m9.345s
user 0m3.144s
sys 0m3.888s
INSTALLING EXTRA PLUGINS...
real 0m0.008s
user 0m0.000s
sys 0m0.004s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
NSCA-POST
real 0m9.345s
user 0m3.144s
sys 0m3.888s
INSTALLING EXTRA PLUGINS...
real 0m0.008s
user 0m0.000s
sys 0m0.004s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
You do not have the required permissions to view the files attached to this post.
Re: Agent On Oracle VM server release 3.2.3
You are still having massive repo issues. Is this connected to the internet?
The xinetd installation most likely had an issue. What are the permissions on:
The xinetd installation most likely had an issue. What are the permissions on:
Code: Select all
ls -la /etc/xinetd.d/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.
"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.
Re: Agent On Oracle VM server release 3.2.3
[root@ovmn ~]# ls -la /etc/xinetd.d/
total 192
drwxr-xr-x 2 root root 4096 Oct 18 05:03 .
drwxr-xr-x 96 root root 12288 Oct 19 04:02 ..
-rw-r--r-- 1 root root 1157 Jun 6 2007 chargen-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 chargen-stream
-rw-r--r-- 1 root root 1157 Jun 6 2007 daytime-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 daytime-stream
-rw-r--r-- 1 root root 1157 Jun 6 2007 discard-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 discard-stream
-rw-r--r-- 1 root root 1148 Jun 6 2007 echo-dgram
-rw-r--r-- 1 root root 1150 Jun 6 2007 echo-stream
-rw-r--r-- 1 root root 323 Jan 12 2010 eklogin
-rw-r--r-- 1 root root 347 Jan 12 2010 ekrb5-telnet
-rw-r--r-- 1 root root 326 Jan 12 2010 gssftp
-rw-r--r-- 1 root root 310 Jan 12 2010 klogin
-rw-r--r-- 1 root root 323 Jan 12 2010 krb5-telnet
-rw-r--r-- 1 root root 308 Jan 12 2010 kshell
-rw------- 1 root root 448 Oct 18 05:03 nsca
-rw-r--r-- 1 root root 722 Feb 11 2010 rmcp
-rw-r--r-- 1 root root 317 Jun 6 2007 rsync
-rw-r--r-- 1 root root 1212 Jun 6 2007 tcpmux-server
-rw-r--r-- 1 root root 510 Jul 28 2009 tftp
-rw-r--r-- 1 root root 1149 Jun 6 2007 time-dgram
-rw-r--r-- 1 root root 1150 Jun 6 2007 time-stream
total 192
drwxr-xr-x 2 root root 4096 Oct 18 05:03 .
drwxr-xr-x 96 root root 12288 Oct 19 04:02 ..
-rw-r--r-- 1 root root 1157 Jun 6 2007 chargen-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 chargen-stream
-rw-r--r-- 1 root root 1157 Jun 6 2007 daytime-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 daytime-stream
-rw-r--r-- 1 root root 1157 Jun 6 2007 discard-dgram
-rw-r--r-- 1 root root 1159 Jun 6 2007 discard-stream
-rw-r--r-- 1 root root 1148 Jun 6 2007 echo-dgram
-rw-r--r-- 1 root root 1150 Jun 6 2007 echo-stream
-rw-r--r-- 1 root root 323 Jan 12 2010 eklogin
-rw-r--r-- 1 root root 347 Jan 12 2010 ekrb5-telnet
-rw-r--r-- 1 root root 326 Jan 12 2010 gssftp
-rw-r--r-- 1 root root 310 Jan 12 2010 klogin
-rw-r--r-- 1 root root 323 Jan 12 2010 krb5-telnet
-rw-r--r-- 1 root root 308 Jan 12 2010 kshell
-rw------- 1 root root 448 Oct 18 05:03 nsca
-rw-r--r-- 1 root root 722 Feb 11 2010 rmcp
-rw-r--r-- 1 root root 317 Jun 6 2007 rsync
-rw-r--r-- 1 root root 1212 Jun 6 2007 tcpmux-server
-rw-r--r-- 1 root root 510 Jul 28 2009 tftp
-rw-r--r-- 1 root root 1149 Jun 6 2007 time-dgram
-rw-r--r-- 1 root root 1150 Jun 6 2007 time-stream
Re: Agent On Oracle VM server release 3.2.3
Did you run the ./fullinstall script as root? It looks like the agent did not install the necessary nrpe definition for xinetd.
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.
"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.
Re: Agent On Oracle VM server release 3.2.3
Yes, I use user = "root".abrist wrote:Did you run the ./fullinstall script as root? It looks like the agent did not install the necessary nrpe definition for xinetd.
Re: Agent On Oracle VM server release 3.2.3
Lets check the services file required by xinetd:
If the above command does not output something similar to:
You will need to add the above entries to the file.
Additionally, the contents of the file:
Should be:
As that file most likely does not exist, you will need to create it and copy the above text into it.
Afterwards, restart xinetd:
Code: Select all
cat /etc/services | grep 566 | grep -v '#'Code: Select all
nrpe 5666/tcp
nsca 5667/tcp
ndo2db 5668/tcp
Additionally, the contents of the file:
Code: Select all
cat /etc/xinetd.d/nrpeCode: Select all
# 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
only_from = 127.0.0.1 192.168.74.134
}Afterwards, restart xinetd:
Code: Select all
service xinetd restartFormer 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.
"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.
Re: Agent On Oracle VM server release 3.2.3
Ok, I' have create the file:
/etc/xinetd.d/nrpe
Start the service:
[root@ovmn xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
But created agent from GUI "Linux Server" I receive:
Connection refused by host
I followed the procedure "NRPE Troubleshooting and Common Solutions" in step 3, but the problem persists, I have not run the "SSL not compiled in:" because I do not have directory:
/tmp/nrpe-2.14
but:
/tmp/linux-nrpe-agent
--
for the procedure in step 4, I do not have the file:
/usr/local/nagios/libexec/check_nrpe
/etc/xinetd.d/nrpe
Start the service:
[root@ovmn xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
But created agent from GUI "Linux Server" I receive:
Connection refused by host
I followed the procedure "NRPE Troubleshooting and Common Solutions" in step 3, but the problem persists, I have not run the "SSL not compiled in:" because I do not have directory:
/tmp/nrpe-2.14
but:
/tmp/linux-nrpe-agent
--
for the procedure in step 4, I do not have the file:
/usr/local/nagios/libexec/check_nrpe
You do not have the required permissions to view the files attached to this post.