Answer the question
In order to leave comments, you need to log in
Why is no information visible when querying via SNMP protocol?
Good evening.
There was a question regarding the operation of SNMP. Let's start with what I installed on Windows 10 - SNMP Agent Simulator ( snmplabs.com/snmpsim/quickstart.html).
And also, having connected via SSH, I entered the Raspbian system, where I installed the SNMP client (snmpwalk, snmpget, ...).
According to the snmplabs.com/snmpsim/quickstart.html#simulate-exis... instructions, I first downloaded the SNMP Emulator source archive - https://github.com/etingof/snmpsim/releases and uploaded it to a separate folder on the desktop. After installing SNMP Emulator (using the command pip install snmpsim
) I, being in the folder with the unpacked archive with SNMP Emulator sources, I launched it with the command
snmpsimd.py --data-dir=./data --agent-udpv4-endpoint=10.0.1.18:1024
snmpwalk -v2c -c public 10.0.1.18:1024 system
to read requests from the SNMP Simulator. As a result - I get, without saying that an error, but such a message:SNMPv2-MIB::system = No more variables left in this MIB View (It is past the end of the MIB tree)
, which means that no information comes from SNMP Simulator. $ snmpwalk -v2c -c public 127.0.0.1:1024 system
SNMPv2-MIB::sysDescr.0 = STRING: Linux zeus 4.8.6.5-smp #2 SMP Sun Nov 13 14:58:11 CDT 2016 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (126714301) 14 days, 15:59:03.01
SNMPv2-MIB::sysContact.0 = STRING: SNMP Laboratories, [email protected]
SNMPv2-MIB::sysName.0 = STRING: new system name
SNMPv2-MIB::sysLocation.0 = STRING: San Francisco, California, United States
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (126714455) 14 days, 15:59:04.55
Answer the question
In order to leave comments, you need to log in
Problems with the network, turn off the firewall, etc.
Just check for a ping to 10.0.1.18 and check if port 1024 is open.
But I guess there won't even be a ping.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question