dsa-check-hpasm: Fix a typo and add myself to (c)
authorPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 18:27:55 +0000 (19:27 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 18:27:55 +0000 (19:27 +0100)
dsa-nagios-checks/checks/dsa-check-hpasm
dsa-nagios-checks/debian/changelog

index 8d3339e..e458283 100755 (executable)
@@ -9,6 +9,7 @@ use Getopt::Long;
 # requires hpasmcli
 
 # Copyright (c) 2009 Stephen Gran <steve@lobefin.net>
+# 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";
index b363746..458e9ab 100644 (file)
@@ -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 <weasel@debian.org>  Sun, 16 Dec 2012 10:49:48 +0100
+ -- Peter Palfrader <weasel@debian.org>  Wed, 19 Dec 2012 19:27:39 +0100
 
 dsa-nagios-checks (92.1) unstable; urgency=low