WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    SNMPv3 Steup

    Linux
    1
    1
    8
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      apt install snmpd snmp libsnmp-dev
      

      Edit the Config and add the agent address:

      nano /etc/snmp/snmpd.conf
      
      agentAddress  udp:127.0.0.1:161,udp:192.168.43.188:161
      

      To create a snmpv3 user we need to follow this syntax:
      net-snmp-create-v3-user [-ro] [-A authpass] [-a MD5|SHA] [-X privpass][-x DES|AES] [username]

      systemctl stop snmpd
      
      net-snmp-create-v3-user -ro -A SecUREDpass -a SHA -X StRongPASS -x AES snmpreadonly
      

      SNMP anschalten und Testen:

      systemctl start snmpd
      systemctl enable snmpd
      
      snmpwalk -v3 -a SHA -A SecUREDpass -x AES -X StRongPASS -l authPriv -u snmpreadonly localhost | head -10
      

      DONE!!!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors