Open jeremyj opened 5 years ago
Hi @jeremyj
can you give us more information about the SNMP server ? OS ? version ?
Thanks.
Hi @nicolargo
So this is the device I'm trying to query: https://wiki.teltonika.lt/view/RUT955
The OS is RutOS which I believe is based on OpenWRT: https://wiki.teltonika.lt/view/RutOS
and the snmp server version is:
root@Teltonika-RUT955:~# opkg list | grep snmp
teltonika-snmpd - 5.7.3-9
maybe the MIB file could be of help? https://wiki.teltonika.lt/wiki/images/e/e4/TLT-MIB_RUT9XX.txt
Not easy to investigate without the device...
Can you try the following command and pastebin use the result ?
$ python
>>> from pysnmp.entity.rfc3413.oneliner import cmdgen
>>> cmdGen = cmdgen.CommandGenerator()
>>> i, s, x, v = cmdGen.getCmd(cmdgen.CommunityData('public'), cmdgen.UdpTransportTarget(('10.0.0.1', 161)), '1.3.6.1.4.1.2021.11.9.0')
>>> exit()
Hi @nicolargo Sorry for the late reply. I tried the command as you asked:
>>> print(i)
None
>>> print(s)
0
>>> print(x)
0
>>> for name, val in v:
... print('%s = %s' % (name.prettyPrint(), val.prettyPrint()))
...
SNMPv2-SMI::enterprises.2021.11.9.0 = 2
>>>
Hello,
I'm trying to monitor a device via SNMP but I'm not getting any output, just a blank screen for a few moments.
This is the command I'm running:
Here is the debug log: https://pastebin.com/raw/PeeZvTnU
The relevant message seems to be
2019-01-23 15:37:45,366 -- CRITICAL -- 'hostname'
but I don't understand what it means.A
tcpdump
shows normal flow between glances and the device:Software versions:
Any help on this issue would be much appreciated.