Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18577

Empty snmp_errors_from and snmp_disable_until fields for unavailable hosts checked by proxy

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.5
    • Proxy (P)
    • None
    • zabbix_server (Zabbix) 5.0.5 with mysql
      zabbix_proxy (Zabbix) 5.0.5 with sqlite3 (Active mode)

      Steps to reproduce:

      1. Add host with unavailable SNMP interface. Monitor it via proxy.
      2. 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.

            zabbix.dev Zabbix Development Team
            bogus Bogusław Sikora
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: