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

    Details

    • Type: Problem report
    • Status: Confirmed
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 5.0.5
    • Fix Version/s: None
    • Component/s: Proxy (P)
    • Labels:
      None
    • Environment:
      zabbix_server (Zabbix) 5.0.5 with mysql
      zabbix_proxy (Zabbix) 5.0.5 with sqlite3 (Active mode)

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            zabbix.dev Zabbix Development Team
            Reporter:
            bogus Bogusław Sikora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: