summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhendu Tripathi <shtripat@redhat.com>2014-04-03 12:50:28 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commitb0f3cfc18011f149e1ce4b885fd47a6828a3c2ca (patch)
tree57805b0df485105cd201bb8c689598db07ee537c
parent26b98e7239222704bb7438bcc47793fc6be60f2c (diff)
rhsc-nagios-addon: Fixed build errors
Fixed build errors Change-Id: I5720d5b2366ade742011597834470ad9ee0e32d1 Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22418 Reviewed-by: Sahina Bose <sabose@redhat.com>
-rw-r--r--plugins/Makefile.am1
-rwxr-xr-xplugins/gluster_host_service_handler.py.in2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index ef199f0..3787e9a 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -6,7 +6,6 @@ dist_glusternagiosplugins_PYTHON = \
gluster_host_service_handler.py \
livestatus.py \
notify_ovirt_engine_handler.py \
- server_utils.py \
$(NULL)
EXTRA_DIST = \
diff --git a/plugins/gluster_host_service_handler.py.in b/plugins/gluster_host_service_handler.py.in
index 2d5bff0..db7cdad 100755
--- a/plugins/gluster_host_service_handler.py.in
+++ b/plugins/gluster_host_service_handler.py.in
@@ -20,10 +20,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA
#
-import os
import sys
import datetime
import argparse
+import json
import livestatus
from glusternagios import utils