From 1443713e528daf0adfca8a3b097d81d09fc6be5d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 19 Dec 2012 19:27:55 +0100 Subject: [PATCH] dsa-check-hpasm: Fix a typo and add myself to (c) --- dsa-nagios-checks/checks/dsa-check-hpasm | 3 ++- dsa-nagios-checks/debian/changelog | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dsa-nagios-checks/checks/dsa-check-hpasm b/dsa-nagios-checks/checks/dsa-check-hpasm index 8d3339e..e458283 100755 --- a/dsa-nagios-checks/checks/dsa-check-hpasm +++ b/dsa-nagios-checks/checks/dsa-check-hpasm @@ -9,6 +9,7 @@ use Getopt::Long; # requires hpasmcli # Copyright (c) 2009 Stephen Gran +# Copyright (c) 2009,2010,2012 Peter Palfrader # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -285,7 +286,7 @@ for my $line (@output) { } if ($exit_status & 2) { - print "CRTICAL: $ret\n"; + print "CRITICAL: $ret\n"; exit 2; } elsif ($exit_status & 1) { print "WARNING: $ret\n"; diff --git a/dsa-nagios-checks/debian/changelog b/dsa-nagios-checks/debian/changelog index b363746..458e9ab 100644 --- a/dsa-nagios-checks/debian/changelog +++ b/dsa-nagios-checks/debian/changelog @@ -19,6 +19,7 @@ dsa-nagios-checks (9X) Xnstable; urgency=low * dsa-check-backuppg: Ignore .dotfiles and *.old in rootdir. * dsa-check-hpacucli: Add --no-battery to ignore battery/capacitor failures and disabled caches. + * dsa-check-hpasm: Typo fix. [ Stephen Gran ] * dsa-check-udldap-freshness: check new last_update.trace if it @@ -31,7 +32,7 @@ dsa-nagios-checks (9X) Xnstable; urgency=low [ Martin Zobel-Helas ] * Add dsa-check-drbd, taken from http://code.google.com/p/ganeti/wiki/DrbdDevicesMonitoring - -- Peter Palfrader Sun, 16 Dec 2012 10:49:48 +0100 + -- Peter Palfrader Wed, 19 Dec 2012 19:27:39 +0100 dsa-nagios-checks (92.1) unstable; urgency=low -- 2.20.1