mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
640136fbdb
commit
c25a7d580b
@ -433,7 +433,8 @@ sub parse_icinga1_object_cfg {
|
|||||||
$attr =~ /groups/ ||
|
$attr =~ /groups/ ||
|
||||||
$attr =~ /members/ ||
|
$attr =~ /members/ ||
|
||||||
$attr =~ /use/ ||
|
$attr =~ /use/ ||
|
||||||
$attr =~ /parents/
|
$attr =~ /parents/ ||
|
||||||
|
$attr =~ /_period/
|
||||||
) {
|
) {
|
||||||
$val = strip_object_name($val);
|
$val = strip_object_name($val);
|
||||||
}
|
}
|
||||||
@ -479,7 +480,7 @@ sub parse_icinga1_objects_cache {
|
|||||||
|
|
||||||
my $cfg_obj_cache = {};
|
my $cfg_obj_cache = {};
|
||||||
|
|
||||||
print "Processing file '$cfg_file'...\n";
|
print "Processing file '$object_cache_file'...\n";
|
||||||
$cfg_obj_cache = parse_icinga1_object_cfg($cfg_obj_cache, $object_cache_file);
|
$cfg_obj_cache = parse_icinga1_object_cfg($cfg_obj_cache, $object_cache_file);
|
||||||
|
|
||||||
#say Dumper($cfg_obj_cache);
|
#say Dumper($cfg_obj_cache);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user