From 0749985ac7014ae0664783ce8f32c85eb46165db Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Sep 2010 17:22:49 +0200 Subject: Add hostdowntime & servicedependency to known objects --- bin/icli | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/icli b/bin/icli index 4dd19c9..229d85a 100755 --- a/bin/icli +++ b/bin/icli @@ -71,6 +71,9 @@ sub read_objects_line { when ('contactstatus') { push(@{${$ref}->{contacts}}, $cache); } + when ('hostdowntime') { + push(@{${$ref}->{downtimes}}, $cache); + } when ('hostgroup') { ${$ref}->{hostgroups}->{$cache->{hostgroup_name}} = $cache; } @@ -80,7 +83,11 @@ sub read_objects_line { when ('servicecomment') { # TODO } - when ([qw[timeperiod command contactgroup contact host service]]) { + when ([qw[ + timeperiod command contactgroup contact host service + servicedependency + ]]) + { # skipped for now } default { -- cgit v1.2.3