-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
5.0.5
-
None
-
zabbix_server (Zabbix) 5.0.5 with mysql
zabbix_proxy (Zabbix) 5.0.5 with sqlite3 (Active mode)
Steps to reproduce:
- Add host with unavailable SNMP interface. Monitor it via proxy.
- Wait until host will become unavailable by SNMP in zabbix UI ( )
Result:
Host has snmp_available = 2 but snmp_errors_from and snmp_disable_until are equal 0 in hosts table.
select host, proxy_hostid ,hostid, snmp_disable_until, snmp_available, snmp_errors_from from hosts where snmp_available=2 and host like 'snmp_test%';
+-----------------+--------------+--------+--------------------+----------------+------------------+
| host | proxy_hostid | hostid | snmp_disable_until | snmp_available | snmp_errors_from |
+-----------------+--------------+--------+--------------------+----------------+------------------+
| snmp_test | NULL | 46197 | 1603887702 | 2 | 1603884062 |
| snmp_test_proxy | 22960 | 46198 | 0 | 2 | 0 |
+-----------------+--------------+--------+--------------------+----------------+------------------+
2 rows in set (0.00 sec)
Expected:
Host monitored via proxy should have filled snmp_errors_from and snmp_disable_until properties in hosts table, when it's unavailable, like it's for hosts monitored directly via zabbix server.