Ad Widget

Collapse

SNMPv3 not working - Cannot connect to ": Unknown user name.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sweedcorn
    Junior Member
    • Jul 2021
    • 13

    #1

    SNMPv3 not working - Cannot connect to ": Unknown user name.

    Hi, Iam trying to use SNMPv3 on my IBMC to poll some data but zabbix refuses to work with me.



    It works on the linux where zabbix is installed on but in the zabbix it says "Cannot connect to "172.25.2.20:161": Unknown user name."



    Linux:



    altepro@zabbix:~$ snmpwalk -v3 -l authPriv -u zabbix -a SHA -A "public" -x AES -X "public" 172.25.2.20



    SNMPv2-MIB::sysDescr.0 = STRING: Hardware management system

    SNMPv2-MIB::sysObjectID.0 = OID: HUAWEI-MIB::hwProducts.235

    DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (8699920) 1 day, 0:09:59.20

    SNMPv2-MIB::sysContact.0 = STRING: http://enterprise.huawei.com/

    SNMPv2-MIB::sysName.0 = STRING: iBMC

    SNMPv2-MIB::sysLocation.0 = STRING:

    SNMPv2-MIB::sysServices.0 = INTEGER: 64

    SNMPv2-MIB::sysORLastChange.0 = Timeticks: (42) 0:00:00.42

    SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance

    SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance

    SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance

    SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB

    SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup

    SNMPv2-MIB::sysORID.6 = OID: TCP-MIB::tcpMIB

    SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB

    SNMPv2-MIB::sysORID.8 = OID: SNMP-NOTIFICATION-MIB::snmpNotifyFullCompliance

    SNMPv2-MIB::sysORID.9 = OID: NOTIFICATION-LOG-MIB::notificationLogMIB

    SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.

    SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.

    SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.

    SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities

    SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.



    Screenshots from zabbix in attachments.





    Thank you so much for help.

    Click image for larger version

Name:	zabbix_help2.PNG
Views:	7592
Size:	78.9 KB
ID:	431698
    Click image for larger version

Name:	zabbix_help.PNG
Views:	7184
Size:	73.3 KB
ID:	431699
  • derli1988
    Member
    • Apr 2021
    • 60

    #2
    From what I see you may have different protocols set on your zabbix environment from your snmpwalk... Which Zabbix Version are you running? Can't you choose your Privacy Protocol to just AES and the Authentication Protocol to SHA?

    Comment


    • sweedcorn
      sweedcorn commented
      Editing a comment
      Hello and thank you for your response, i am running the newest zabbix 5.4.4, i can choose between SHA 1, 224, 256 for privacy protocol there is just AES so it should be right... but as you can see in the linux cmd it works with sha 1 and aes, but as i did my research the template doesn't support snmpv3 ... omg anyway thanks for reply and have a nice day
  • Inewthinker
    Junior Member
    • May 2023
    • 7

    #3
    same issue here
    zabbix 6.0.2 -snmpv3 - to cisco 9300.
    the SNMP icon is GREEN light but getting "cannot connect to <X.X.X.X>:.Unknow user name"
    I have duble check the user and password as wekk the protocols.

    Please assist

    Comment

    • Rudlafik
      Senior Member
      • Nov 2018
      • 144

      #4
      Try to change level of privacy/authentication protocol try change check/uncheck use combined requests and last level is chnge simpler password. Any host has problem with implementation SNMPv3 must us only SNMPv2.I experienced that the manufacturer declared SNMPv3 support on the website and as a result, even after the FW update, the remedy did not occur. Chinese manufacturer.
      Last edited by Rudlafik; 03-06-2024, 14:44.

      Comment

      Working...