diff options
-rwxr-xr-x | plugins/check_volume_status.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_volume_status.py b/plugins/check_volume_status.py index 2a1e051..04f3738 100755 --- a/plugins/check_volume_status.py +++ b/plugins/check_volume_status.py @@ -116,10 +116,10 @@ def getVolumeGeoRepStatus(args): if (volume[args.volume]['status'] == glustercli.GeoRepStatus.PARTIAL_FAULTY): exitstatus = utils.PluginStatusCode.WARNING - message = "Partially faulty - %s" % volume[args.volume]['detail'] + message = "Partially faulty\n %s" % volume[args.volume]['detail'] elif volume[args.volume]['status'] == glustercli.GeoRepStatus.FAULTY: exitstatus = utils.PluginStatusCode.CRITICAL - message = "Faulty - %s" % volume[args.volume]['detail'] + message = "Faulty\n %s" % volume[args.volume]['detail'] elif (volume[args.volume]['status'] == glustercli.GeoRepStatus.NOT_STARTED): exitstatus = utils.PluginStatusCode.WARNING |