...
Install snmpd and snmp
Code Block language bash theme RDark root@linux# sudo apt install snmpd snmp
.
The file /etc/snmp/snmpd.conf contains the configuration of SNMPD. To query the SNMP from different sources, comment the below line:
Code Block language bash theme RDark title /etc/snmp/snmpd.conf #agentaddress 127.0.0.1,[::1]
.
Restart the snmp service
Code Block language bash theme RDark root@linux# /etc/init.d/snmpd restart
.
Now you can create a snmpwalk by using snmpbulkwalk. This will work locally as well as remotely.
Code Block language bash theme RDark root@linux# snmpbulkwalk -v2c -c public mysnmpdtesthost01
...