From 0241480494653c38878092869b4de61defffc6ec Mon Sep 17 00:00:00 2001 From: Maciej Sawicki Date: Fri, 23 May 2014 02:33:22 +0200 Subject: [PATCH] Update check_http_json.py --- check_http_json.py | 2 ++ 1 file changed, 2 insertions(+) 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: