For a client I have to develop a database connection which uses SNMP responses as input.
I want to try to parse these reponses; but I do not know how to set up SNMP on my local machine only. In other words: I want to query my own machine for its MIB info.
I have already done:
sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
# edit /etc/snmp/snmp.conf and uncomment "mibs :"
How can I query my own local machine?
I found this oneliner, but it gives me a time-out:
snmpwalk -v 2c -c tes90w90wer -O e 127.0.0.1
Note that I did not define tes90w90wer
so maybe that is the issue?