diff options
-rwxr-xr-x | build-nagios | 4 |
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() } |