diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-07-02 20:48:54 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-07-02 20:48:54 +0200 |
commit | b217a6fa1302ecbc0d9625486bf0d2c2dfbc507c (patch) | |
tree | 3c73ed2d6177fb596131e742f44e630d26867cc1 /bin/icli | |
parent | 1bba19544b7f558a8b9faffead741d750a345480 (diff) | |
parent | ff8b45613669da70c2a204213f5095c911aeccc6 (diff) |
Diffstat (limited to 'bin/icli')
-rwxr-xr-x | bin/icli | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1195,7 +1195,7 @@ sub display_overview { } sub dispatch_command { - my $str = join( ';', @_ ); + my $str = join( ';', @_ ) . "\n"; open( my $cmd_fh, '>', $rw_file ) or die( "Failed to open icinga command file ($rw_file): $!\n" @@ -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]"; |