From 7e390470d930006083d5fe2a8fc28e1487f4d91e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 14 Oct 2005 12:41:56 +0000 Subject: s/icon/icon_image/g git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@30 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- build-nagios | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-nagios') 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() } -- cgit v1.2.3