Skip to content

executor/pdu: stop hardcoding the enterprise oid prefix + add a Cisco PDU

Martin Roukala requested to merge mupuf/ci-tron:cisco_pdu into main

The original assumption when we first implemented the SNMP driver was that the controls would always be in the enterprise part... which turned out to be wrong in the case of the Cisco/Linksys PoE Switches...

Let's stop making assumptions by dropping the mandatory OID prefixes such as the entreprise OID and the system ID, and simply ask for the full path for every attribute. This will be a little more verbose but should provide the maximum flexibility.

Compatibility with existing config files is however preserved, but left undocumented since I do not believe anyone is actually using the manual SNMP PDU driver.

Merge request reports

Loading