Warn if the parent zone has DS records for keys we do not have
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-hpasm
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";