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

SNMP items return 0 instead of the required value in case if executed right after snmpd restart

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.37, 7.0.8, 7.2.2
    • Proxy (P), Server (S)

      A solution is needed to prevent zabbix from retrieving SNMP values right after snmpd restart, as it results in retrieving wrong data: "0" is returned instead of the corresponding OID value if item is executed right after snmpd restart. If this occurs when actually collecting the data, it afterwards will be reflected in item history and corresponding graphs.

      Steps to reproduce:

      1. Create a host with an SNMPv3 interface
      2. Create an item that would retrieve some numeric value that is not equal to 0
      3. Execute test item functionality for this item - some numeric value is retrieved
      4. Restart snmpd
      5. Right after the restart (do it as fast as You can) execute test item once again

      Result: "0" is received instead of the item value.
      Expected: the actual value of the corresponding OID should be received.

      Example:

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: