check_http_proxy error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
piktoy
Posts: 24
Joined: Fri Jul 06, 2012 10:13 am

check_http_proxy error

Post by piktoy »

Hi, have tried to download the plugins, but seems having error when trying to run. please help.


[root@Centos libexec]# ./
File "./check_http_proxy", line 103
except urllib2.URLError as e:
^
SyntaxError: invalid syntax
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http_proxy error

Post by scottwilkerson »

Can you show the full command you ran.

Also, what version of python do you have

Code: Select all

 python -V
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked