diff --git a/check_http_json.py b/check_http_json.py index cb98427..7bc4daf 100755 --- a/check_http_json.py +++ b/check_http_json.py @@ -11,6 +11,8 @@ import httplib, urllib, urllib2 import json import argparse from pprint import pprint +from urllib2 import HTTPError +from urllib2 import URLError class NagiosHelper: