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

Test item form does not connect correctly to SNMPv3

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      Zabbix: 6.2.9

       

      229:20230328:112907.232 zbx_snmp_walk() snmp_synch_response() status:1 s_snmp_errno:-35 errstat:-1 max_vars:1
         229:20230328:112907.232 End of zbx_snmp_walk():NOTSUPPORTED
         229:20230328:112907.232 End of zbx_snmp_process_discovery():NOTSUPPORTED
         229:20230328:112907.232 In zbx_snmp_close_session()
         229:20230328:112907.232 End of zbx_snmp_close_session()
         229:20230328:112907.233 getting SNMP values failed: Cannot connect to "xx.xx.xx.xxx:161": Authentication failure (incorrect password, community or key).
         229:20230328:112907.233 End of get_values_snmp()
         229:20230328:112907.233 End of zbx_trapper_item_test_run():FAIL   229:20230328:112907.234 zbx_trapper_item_test() json.buffer:'{"response":"success","data":{"error":"Cannot connect to \"xx.xx.xx.xxx:161\": Authentication failure (incorrect password, community or key)."}}'   229:20230328:112907.234 End of zbx_trapper_item_test()
         229:20230328:112907.234 zbx_setproctitle() title:'trapper #4 [processed data in 1.346557 sec, waiting for connection]' 

       

      The host connects with the same parameters as the host config form. But there is something wrong in the code of this test form.

      See my wireshark captures:

      Test from:

      Normal other requests from Zabbix:

       

      snmpwalk -v3 -a SHA-512 -u monitor.xxx.xxxx -A mysecretreplacedhere -l authNoPriv xx.xx.xx.xx
      

      snmpwalk also works with a `privacy protocol pass phrase` but unsurprisingly the form does not. That made me waste a lot of time thinking Zabbix could not connect. But it's ONLY the test form.

       

      Test form: 

       

       

            tbross Tomass Janis Bross
            williamdes William Desportes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: