X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=dsa-nagios-checks%2Fchecks%2Fdsa-check-hpasm;h=e4582833e074bb39ceba1284918faa04a0c4a51b;hb=f295d1e8f6e63e63cac4802dff5087e8a699790e;hp=8d3339efc774cb9fc59558063943064901f6dcb4;hpb=43972d48a875819dd3d85a5f98057942883cf2b7;p=mirror%2Fdsa-nagios.git 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";