summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/check_volume_status.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_volume_status.py b/plugins/check_volume_status.py
index 8fab7ae..63494ea 100755
--- a/plugins/check_volume_status.py
+++ b/plugins/check_volume_status.py
@@ -42,7 +42,7 @@ def getVolumeStatus(args):
message = "CRITICAL: Volume : %s type is stopped" % \
(volumes[args.volume]["volumeType"])
except glustercli.GlusterLockedException as e:
- out = ("UNKNOWN: temporary error. %s" % '.'.join(e.err))
+ out = ("UNKNOWN: Glusterd cannot be queried. %s" % '.'.join(e.err))
return utils.PluginStatusCode.UNKNOWN, out
except glustercli.GlusterCmdFailedException as e:
out = ("WARNING: Command execution failed. %s" % '.'.join(e.err))
@@ -55,7 +55,7 @@ def getVolumeQuotaStatus(args):
try:
qstatus = glustercli.volumeQuotaStatus(args.volume)
except glustercli.GlusterLockedException as e:
- out = ("UNKNOWN: temporary error. %s" % '.'.join(e.err))
+ out = ("UNKNOWN: Glusterd cannot be queried. %s" % '.'.join(e.err))
return utils.PluginStatusCode.UNKNOWN, out
except glustercli.GlusterCmdFailedException as e:
out = ("QUOTA: Quota status could not be determined. %s"
@@ -87,7 +87,7 @@ def getVolumeSelfHealSplitBrainStatus(args):
try:
volume = glustercli.volumeHealSplitBrainStatus(args.volume)
except glustercli.GlusterLockedException as e:
- out = ("UNKNOWN: temporary error. %s" % '.'.join(e.err))
+ out = ("UNKNOWN: Glusterd cannot be queried. %s" % '.'.join(e.err))
return utils.PluginStatusCode.UNKNOWN, out
except glustercli.GlusterCmdFailedException as e:
out = ("Self heal status could not be determined. %s"
@@ -118,7 +118,7 @@ def getVolumeGeoRepStatus(args):
try:
volume = glustercli.volumeGeoRepStatus(args.volume)
except glustercli.GlusterLockedException as e:
- out = ("UNKNOWN: temporary error. %s" % '.'.join(e.err))
+ out = ("UNKNOWN: Glusterd cannot be queried. %s" % '.'.join(e.err))
return utils.PluginStatusCode.UNKNOWN, out
except glustercli.GlusterCmdFailedException as e:
out = ("Geo replication status could not be determined. %s"