diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2010-09-12 17:22:49 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2010-09-12 17:22:49 +0200 | 
| commit | 0749985ac7014ae0664783ce8f32c85eb46165db (patch) | |
| tree | 48a3e807ae1f7e6a499364ca978951f32a6bfdd4 | |
| parent | fdca5cb6f1414cd8f7eea928c380ba8f0ab56774 (diff) | |
Add hostdowntime & servicedependency to known objects
| -rwxr-xr-x | bin/icli | 9 | 
1 files changed, 8 insertions, 1 deletions
| @@ -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 { | 
