summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-10-14 12:41:56 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2005-10-14 12:41:56 +0000
commit7e390470d930006083d5fe2a8fc28e1487f4d91e (patch)
treeb80f7744d4fcf966f5861adec86508e2b837fa8d
parent7becf6805a26955d75d7f0bb0251d2a7916c1119 (diff)
s/icon/icon_image/g
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@30 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xbuild-nagios4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-nagios b/build-nagios
index 5b534d2..5899bf5 100755
--- a/build-nagios
+++ b/build-nagios
@@ -298,8 +298,8 @@ config['servers'].each_pair{ |name, server|
}
set_complain_if_set server['_extinfo'], 'host_name' , name, 'hostextinfo', name
- set_if_unset server['_extinfo'], 'vrml_image' , server['_extinfo']['icon'] if server['_extinfo'].has_key?('icon')
- set_if_unset server['_extinfo'], 'statusmap_image' , server['_extinfo']['icon'] if server['_extinfo'].has_key?('icon')
+ set_if_unset server['_extinfo'], 'vrml_image' , server['_extinfo']['icon_image'] if server['_extinfo'].has_key?('icon_image')
+ set_if_unset server['_extinfo'], 'statusmap_image' , server['_extinfo']['icon_image'] if server['_extinfo'].has_key?('icon_image')
print_block files['hostextinfo'], 'hostextinfo', server['_extinfo'], %w()
}