the update to the new version doesn't work if the nagios server can access the
internet only through a proxy.
Previous updates worked if yum and wget were configured to use a proxy.
The error:
Code: Select all
Traceback (most recent call last):
File "./install", line 19, in <module>
filename , urlobject = urllib.urlretrieve( url )
File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.6/urllib.py", line 239, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.6/urllib.py", line 346, in open_http
h.endheaders()
File "/usr/lib/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 720, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 567, in create_connection
raise error, msg
IOError: [Errno socket error] [Errno 110] Connection timed out
Code: Select all
# Download file and retrieve the filename
filename , urlobject = urllib.urlretrieve( url )