我正在尝试让 openNMS (v1.12) 从 DNS 服务器获取节点列表。首先,我尝试添加requisition-def
我provisiond-configuration.xml
的 withdns://mydnsServerIP/myZone
和以下,我执行:
/opt/opennms/bin/send-event.pl uei.opennms.org/internal/reloadDaemonConfig --parm 'daemonName Provisiond'
以避免重新启动。没啥事儿。
接下来,我尝试configure discovery
在管理页面的 URL 中添加 dns URL。保存后,discovery.log
开始有这样的条目:
2014-02-24 20:54:53,919 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '<node building="MYZONE_HERE" foreign-id="520105224"
node-label="CORRECTNODELABEL_HERE">' inside discovery include file:
address ignored
2014-02-24 20:54:53,920 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '<interface descr="DNS-AAAA" ip-addr="IPV6_HERE" managed="true" status="1"
snmp-primary="P">' inside discovery include file: address ignored
2014-02-24 20:54:53,922 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '<monitored-service service-name="SNMP"/>' inside discovery include
file: address ignored
2014-02-24 20:54:53,925 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '<monitored-service service-name="ICMP"/>' inside discovery include
file: address ignored
2014-02-24 20:54:53,927 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '</interface>' inside discovery include file: address ignored
2014-02-24 20:54:53,929 WARN [OpenNMS.Discovery-Thread] DiscoveryConfigFactory:
Unknown host '</node>' inside discovery include file: address ignored
我还需要做什么才能让它从 DNS 服务器自动发现节点?
提前致谢!