Add warning output
[infodrom/icinga-plugins] / check_infocon
index d92af73..83f0d54 100755 (executable)
@@ -82,7 +82,7 @@ if ($row->{open} > $config->{crit}) {
 }
 
 if ($row->{open} > $config->{warn}) {
-
+    printf "WARNING: %s - EUR %.2f (%.2fh)\n", $config->{customer}, $row->{open}, $row->{hours};
     exit $ERRORS{'WARNING'};
 }