[英]Zabbix SNMPv3 Agent Discovery
I have a network emulation with Zabbix server, pc-1 with Zabbix-Agent and pc-2 with SNMPv3 Agent in VirtualBox. 我在VirtualBox中使用Zabbix服务器进行网络仿真,使用Zabbix-Agent使用pc-1,使用SNMPv3代理使用pc-2。
With this discovery rule and action Zabbix easily discovers Agent on pc-1 and adds it to the hosts.
通过此发现规则和操作,Zabbix可以轻松地在pc-1上发现代理并将其添加到主机。
I tried to make Zabbix to discover SNMPv3 Agent (pc-2). 我试图让Zabbix发现SNMPv3代理(pc-2)。 SNMP and all that needed is installed on both sides.
SNMP和所有需要的东西都安装在两侧。 With this command from Zabbix server:
从Zabbix服务器使用以下命令:
snmpget -u <username> -l authPriv -a MD5 -x DES -A <password> -X <password> 192.168.2.1 1.3.6.1.2.1.1.1.0
I get: 我得到:
SNMPv2-MIB::sysDescr.0 = STRING: Linux pc2 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64
But discovery rule and action don't work and Zabbix isn't adding 192.168.2.1 as host. 但是发现规则和操作不起作用,Zabbix没有添加192.168.2.1作为主机。
Here are discovery rule with action for SNMPv3 Agent: 以下是对SNMPv3代理执行操作的发现规则:
Maybe I missed something? 也许我错过了什么? There are no normal manuals for this.
没有正常的手册。 Thanks for help!
感谢帮助!
使用的发现范围非常大-发现可能很慢,并且如果指定了狭窄的目标范围,则发现可能会起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.