mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
29115f4fd3
commit
b67cf1f0cb
@ -1609,6 +1609,9 @@ sub convert_checkcommand {
|
||||
# split by ! and take only the check command
|
||||
my ($real_command_name_1x, @command_args_1x) = split /!/, $check_command;
|
||||
|
||||
# sanitize object name
|
||||
$real_command_name_1x = strip_object_name($real_command_name_1x);
|
||||
|
||||
# ignore objects with empty check_command attribute
|
||||
#return if (!defined($real_command_name_1x));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user