START usr.sbin/snmpd 2021-02-23T09:44:26Z ==== run-regress-snmpd ==== env OBJDIR=/usr/src/regress/usr.sbin/snmpd/obj sh /usr/src/regress/usr.sbin/snmpd/snmpd.sh Configuration: default community strings, trap receiver, trap handle ======= snmp walk -Oq -v2c -cpublic localhost 1.3 ======= snmp get -Oqv -v2c -cpublic localhost 1.3.6.1.2.1.1.5.0 ======= snmp get -On -v2c -cpublic localhost 1.3.6.1.4.1.30155.6.1.1.0 ======= snmp getnext -Onq -v2c -cpublic localhost 1.3.6.1.4.1.30155.6.1.1 ======= snmp trap -v2c -cpublic 127.0.0.1 '' 1.2.3.4 ======= snmp set -c private -v 1 localhost system.sysContact.0 s puffy@openbsd.org ======= snmp get -v2c -cpublic localhost 1.3.6.1.2.1.1.4.0 Configuration: seclevel auth ======= snmp get -r2 -v2c -cpublic localhost 1.3.6.1.2.1.1.5.0 ======= snmp get -v3 -Oq -l authNoPriv -u hans -a SHA -A password123 localhost system.sysDescr.0 Configuration: seclevel enc ======= snmp get -v3 -Oq -l authPriv -u hans -a SHA -A password123 -x AES -X 321drowssap localhost system.sysDescr.0 Configuration: non-default community strings, custom oids ======= snmp get -OfQ -v2c -c non-default-ro localhost 1.3.6.1.4.1.30155.6.1.1.0 ======= snmp set -c non-default-rw -v 1 localhost system.sysContact.0 s puffy@openbsd.org ======= snmp get -Oqv -v2c -cnon-default-ro localhost 1.3.6.1.2.1.1.4.0 ======= snmp get -Oqv -v2c -cnon-default-rw localhost 1.3.6.1.4.1.30155.42.1.0 ======= snmp get -Oqv -v2c -c non-default-rw localhost 1.3.6.1.4.1.30155.42.2.0 ======= snmp set -c non-default-rw -v 1 localhost 1.3.6.1.4.1.30155.42.1.0 s "bula" ======= snmp get -Oqv -v2c -c non-default-rw localhost usmUserSecurityName.1.0 ======= snmp get -Oqv -v2c -c non-default-rw localhost usmUserSecurityName.2.0 PASS usr.sbin/snmpd Duration 0m09.22s