summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/icli9
1 files changed, 8 insertions, 1 deletions
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 {