Create SNMP v3 user

To create a SNMP user to monitor your server, follow these steps:

Stop de SNMP daemon:

service snmpd stop

Create the new user:

net-snmp-config --create-snmpv3-user

Or on RedHat like systems:

net-snmp-create-v3-user

Follow the steps for creating a new user:

Enter a SNMPv3 user name to create:
testuser
Enter authentication pass-phrase:
P@s$w0rd
Enter encryption pass-phrase:
  [press return to reuse the authentication pass-phrase]

The user you now created has been added for RW access.

To change this, edit the /etc/snmp/snmpd.conf file.

 

Now start the SNMP daemon again:

service snmpd start