[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 02/07: small fix: oos is in KiB and not sectors

Bernd Zeimetz bernd at bzed.de
Fri Apr 25 13:35:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 13ace27bad72243f6d0ee6b479dff4f0c2cee50c
Author: Stanislav German-Evtushenko <ginermail at gmail.com>
Date:   Wed Mar 19 09:01:28 2014 +0300

    small fix: oos is in KiB and not sectors
---
 check_drbd/check_drbd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_drbd/check_drbd b/check_drbd/check_drbd
index 45a4441..77d26e5 100644
--- a/check_drbd/check_drbd
+++ b/check_drbd/check_drbd
@@ -272,7 +272,7 @@ sub parse_drbd_devices {
 		}
 		$check{$device} = 1;
 		if (defined($oos{$device}) and $oos{$device} > 0) {
-			&myexit('WARNING',"Out of sync on device $device: $oos{$device} sectors");
+			&myexit('WARNING',"Out of sync on device $device: $oos{$device} KiB");
 		}
 	}
 	if (int(keys %check) == 0) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib



More information about the Pkg-nagios-changes mailing list