Repository navigation
Releases
Releases · eizedev/aiosnmpswitch
v0.3.0
Added
get_temperatures(): temperature sensors from the ENTITY-SENSOR-MIB, in degrees Celsius with
name and status. On the HPE Instant On 1930 8G 2SFP (JL680A), which has no standard sensor
table, from its vendor table (measured on firmware 3.4.0.0; read only on that model). A sensor
that reports itself not ok, or a scale or precision outside RFC 3433, gives no reading.
Diagnostics count the sensors; recordings include these tables.
Fixed
- A value directly under a table column, without a row index, no longer makes a getter raise
(found by the robustness test, for example in the address table).
Documentation: https://aiosnmpswitch.eize.dev/
v0.2.0
Added
get_chassis(): product name, model name and firmware of the chassis from the ENTITY-MIB, for
switches whosesysDescrdoes not split into model and firmware. The diagnostics show it, and
recordings include these three columns (no serial numbers).
Documentation: https://aiosnmpswitch.eize.dev/
v0.1.0
First release.
Added
SnmpSwitchwith one getter per MIB group: system, interfaces (ifTable,ifXTable), bridge
ports, address table (Q-BRIDGE-MIB, BRIDGE-MIB), spanning tree, LLDP, trunks (LAG-MIB), PoE
(POWER-ETHERNET-MIB) and the neighbour cache (IP-MIB).- SNMPv1, v2c and v3 (all authentication and privacy protocols pysnmp offers).
helpers.locate_macs(): the port every device is connected to, across several switches, with
uplinks found through LLDP and trunk members located on their trunk.create_engine(): a pysnmp engine prepared in a worker thread, to share between switches.aiosnmpswitch-diagnostics: a report without addresses or port names, and recordings for test
fixtures.- Tested on HPE OfficeConnect 1920S (PD.02.22) and HPE Instant On 1930 (3.4.0.0).
Documentation: https://aiosnmpswitch.eize.dev/