From 453fa29e1d5283255cc2c3eb61feb139028a7f03 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Mon, 10 Apr 2017 18:55:50 +0200 Subject: Fix acknowledging outages The internal command name is lower cased like the other commands. Fixes "Cannot run action 'acknowledge'" errors. --- bin/icli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/icli b/bin/icli index 7435797..cac57b4 100755 --- a/bin/icli +++ b/bin/icli @@ -1291,7 +1291,7 @@ sub action_on_service { time() ); say "Scheduled forced check of '$service' on '$host'"; } - when ('Acknowledge') { + when ('acknowledge') { dispatch_command( 'ACKNOWLEDGE_SVC_PROBLEM', $host, $service, 2, 1, 1, 'cli', $action_args[0] ); say "Acknowledged $host/$service: $action_args[0]"; -- cgit v1.2.3