snmp_quote_string_value() fails on BITS values

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Blocker
    • None
    • Affects Version/s: 7.0.15
    • Component/s: Proxy (P), Server (S)
    • S25-W50/51/52/01

      Proxy logs have a lot of similar entries:

      1674932:20250708:183549.368 0: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](_start+0x2e) [0x563b68138d1e]
      zabbix_proxy [1674932]: ERROR [file and function: <checks_snmp.c,snmp_quote_string_value>, revision:d72b831a577, line:2612] Something unexpected has just happened.
      1674932:20250708:183549.682 snmp_quote_string_value() expected 'STRING' type in buffer '.1.3.111.2.802.1.1.8.1.7.1.1.37.1.1.2 = BITS: 00 00 00 00 '
      1674932:20250708:183549.682 === Backtrace: ===
      1674932:20250708:183549.683 15: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](zbx_backtrace+0x41) [0x563b6817a601]
      1674932:20250708:183549.683 14: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](+0x2d0e3c) [0x563b68366e3c]
      1674932:20250708:183549.683 13: /lib64/libnetsnmp.so.35(+0x50aaa) [0x7f10617d5aaa]
      1674932:20250708:183549.683 12: /lib64/libnetsnmp.so.35(_sess_read+0x606) [0x7f10617d6b06]
      1674932:20250708:183549.683 11: /lib64/libnetsnmp.so.35(snmp_sess_read2+0xd) [0x7f10617d763d]
      1674932:20250708:183549.683 10: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](+0x2ce527) [0x563b68364527]
      1674932:20250708:183549.683 9: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](+0xb8fe7) [0x563b6814efe7]
      1674932:20250708:183549.683 8: /lib64/libevent_core-2.1.so.6(+0x1fa05) [0x7f10609a7a05]
      1674932:20250708:183549.683 7: /lib64/libevent_core-2.1.so.6(event_base_loop+0x51f) [0x7f10609a83ef]
      1674932:20250708:183549.684 6: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](zbx_async_poller_thread+0x447) [0x563b6834de37]
      1674932:20250708:183549.684 5: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](zbx_thread_start+0x27) [0x563b682050c7]
      1674932:20250708:183549.684 4: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](MAIN_ZABBIX_ENTRY+0xed5) [0x563b6837fd95]
      1674932:20250708:183549.684 3: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](zbx_daemon_start+0x10d) [0x563b6817bd0d]
      1674932:20250708:183549.684 2: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](main+0x3d1) [0x563b68132191]
      1674932:20250708:183549.684 1: /lib64/libc.so.6(__libc_start_main+0xe5) [0x7f105e9357e5]
      1674932:20250708:183549.684 0: /usr/sbin/zabbix_proxy: snmp poller #1 [got 32 values, queued 25 in 5 sec, awaiting 51](_start+0x2e) [0x563b68138d1e]
      zabbix_proxy [1674932]: ERROR [file and function: <checks_snmp.c,snmp_quote_string_value>, revision:d72b831a577, line:2612] Something unexpected has just happened. 

       

        1. Screenshot 2025-12-23 132959.png
          46 kB
          Mikhail Korotkov
        2. Screenshot 2025-12-23 132946.png
          46 kB
          Mikhail Korotkov

            Assignee:
            Vladislavs Sokurenko
            Reporter:
            Piotr Wegrzyn
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: