Skip to content

Instantly share code, notes, and snippets.

Last active Nov 3, 2021
What would you like to do?
snmp v3 clients for LibreNMS
Do this on the snmpd client:
service snmpd stop
net-snmp-config --create-snmpv3-user -ro -A 'AuthPass' -X 'PrivPass' -a SHA -x AES MyRoGroup
chmod go-rwx /var/net-snmp/snmpd.conf /usr/local/share/snmp/snmpd.conf
verify MyRoGroup is in /usr/local/share/snmp/snmpd.conf
service snmpd start
snmpwalk -v3 -l authPriv -u MyRoGroup -a SHA -A 'AuthPass' -x AES -X 'PrivPass' HOSTNAME_OR_IP_ADDRESS SNMPv2-MIB::sysDescr.0
Sample output from the walk:
SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 amd64
see also
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment