From: Joey Schulze Date: Mon, 2 Jun 2014 12:54:14 +0000 (+0200) Subject: Add warning output X-Git-Url: https://git.infodrom.org/?p=infodrom%2Ficinga-plugins;a=commitdiff_plain;h=4bf2c4e69b421be2b76fb04df11e3dc7f408d05f Add warning output --- diff --git a/check_infocon b/check_infocon index d92af73..83f0d54 100755 --- a/check_infocon +++ b/check_infocon @@ -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'}; }