summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Seifert <nine@detonation.org>2017-04-10 18:55:50 +0200
committerStefan Seifert <nine@detonation.org>2017-04-10 18:55:50 +0200
commit453fa29e1d5283255cc2c3eb61feb139028a7f03 (patch)
tree299f7664f12faf5a1d1a5f2f25566ce81ee2a1b9
parenta0deb624f3f5ba21cf0ded713d746cfceddfa96e (diff)
Fix acknowledging outages
The internal command name is lower cased like the other commands. Fixes "Cannot run action 'acknowledge'" errors.
-rwxr-xr-xbin/icli2
1 files changed, 1 insertions, 1 deletions
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]";