From 0d8ea38e4c296dd9f74e1a5d8b6405fa914fd8b2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 18 Apr 2009 01:26:53 +0200 Subject: [PATCH] dsa-check-hpacucli: Slots need not be all numeric --- dsa-nagios-checks/checks/dsa-check-hpacucli | 2 +- dsa-nagios-checks/debian/changelog | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dsa-nagios-checks/checks/dsa-check-hpacucli b/dsa-nagios-checks/checks/dsa-check-hpacucli index a347388..ac8c9b4 100755 --- a/dsa-nagios-checks/checks/dsa-check-hpacucli +++ b/dsa-nagios-checks/checks/dsa-check-hpacucli @@ -68,7 +68,7 @@ my @controllers; for (@$ctrlallshow) { chomp; next if /^$/; - if (/in Slot ([0-9]+) /) { + if (/in Slot ([0-9a-z]+)/) { push @controllers, $1; next; }; diff --git a/dsa-nagios-checks/debian/changelog b/dsa-nagios-checks/debian/changelog index a41068c..432888a 100644 --- a/dsa-nagios-checks/debian/changelog +++ b/dsa-nagios-checks/debian/changelog @@ -2,8 +2,9 @@ dsa-nagios-checks (70) XXstable; urgency=low * No longer check nrpe config in postinst - puppet fixes it for us anyway. * Only run weak keys check if there is no prior weak key status. + * dsa-check-hpacucli: Slots need not be all numeric. - -- Peter Palfrader Tue, 31 Mar 2009 23:25:31 +0200 + -- Peter Palfrader Sat, 18 Apr 2009 01:26:37 +0200 dsa-nagios-checks (69) unstable; urgency=low -- 2.20.1