您好,我尝试为这个 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 上使用该补丁。