![SNMP 生成器 zabbix 2.2.1](https://linux22.com/image/638213/SNMP%20%E7%94%9F%E6%88%90%E5%99%A8%20zabbix%202.2.1.png)
您好,我尝试为这个 repo 的 zabbix 实现 snmpbuilderhttps://github.com/atimonin/snmpbuilder但是当我尝试打开 zabbix(配置 -> SNMP Builder)时,看到此错误:
屏幕:
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
Undefined index: hostid [snmp_builder.php:464 → get_templates() in /usr/share/zabbix/snmp_builder.php:961]
有人知道出了什么问题吗?
问候 Mick
答案1
根据存储库历史记录,该补丁似乎是为最新版本的 Zabbix 2.0.5 提供的,而您尝试在 Zabbix 2.2.3 上使用该补丁。