diff options
author | Timothy Asir Jeyasingh <tjeyasin@redhat.com> | 2014-06-25 15:19:40 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-25 04:52:59 -0700 |
commit | 6af042189cb95932b7f4aafc37a9227f47626433 (patch) | |
tree | 5a456ab0651f3d6ed4266902489caa8e984f5c64 | |
parent | 9f49d1b5bf1918e73794d4492ea5b7f2e7ac4e45 (diff) |
fix brick utilization graph error
Remove unit type from disk utilization plugin perf data which
is not allowed by pnp4nagios which causes failure in
creating RRD file.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1112966
Change-Id: I508f724da5a7896e310699180f319c0195378ca4
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/8170
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
-rwxr-xr-x | plugins/check_disk_and_inode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk_and_inode.py b/plugins/check_disk_and_inode.py index 30e8035..1025d4d 100755 --- a/plugins/check_disk_and_inode.py +++ b/plugins/check_disk_and_inode.py @@ -215,7 +215,7 @@ def showDiskUsage(warn, crit, mountPaths, toListInode, usage=False, crit * inode['used'] / 100, inode['size']) elif disk['path']: - data = "%s=%.2f%%;%s;%s;0;%sGB" % ( + data = "%s=%.2f%%;%s;%s;0;%s" % ( disk['path'], disk['usePcent'], warn, |