Nagios忽略父母

我已经build立了一个Nagios服务器来轮询我公司的服务器。 监控工作很好,但在networking地图上我得到了一个带有问号的平面布局。 我已经将父指令添加到某些主机,但在绘制地图或工具提示时,nagios似乎并不在意。 当我向configuration中添加拼写错误时,出现validation错误,所以我确定读取了configuration文件。

这是我的configuration:

define host { use generic-host host_name storage-control address [ip-address] icon_image database.gif statusmap_image database.gd2 hostgroups storages } define host { use generic-host host_name storage-sp1 address [ip-address] icon_image database.gif statusmap_image database.gd2 hostgroups storages parents storage-control } define host { use generic-host host_name storage-sp2 address [ip-address] hostgroups storages parents storage-control } 

我错过了什么?

干杯,AC

我find了解决scheme。 我唯一要做的就是停止nagios,删除nagios.cfg文件中的object_cache_file指令中指定的objects.cache文件并重新启动它。