Following the “Support for a new OS” DOCs, I’ve created the following YAML:
os: fs-dwdm
text: ‘Fiberstore DWDM’
type: network
icon: fs
group: fs
discovery:
- sysObjectID:
- .1.3.6.1.4.1.40989.
- sysDescr:
- ‘enterprises’
mib_dir: fs
When I run ./discovery.php -h fs.dwdm.hostname -d
it throws a lot of errors, and ends up discovering 1 device.
I can successfully walk the device with snmpwalk -Cc -v 1 -m ALL -c public fs.dwdm.hostname enterprises
and it dumps the follow snippet:
OAP-C2-OEO::vSFPB2ModeTransmissionRate.0 = INTEGER: 10300
OAP-C2-OEO::vSFPB2ModeTemperature.0 = INTEGER: 4184
OAP-C2-OEO::vSFPB2TxPowerAlarm.0 = INTEGER: normal(1)
OAP-C2-OEO::vSFPB2RxPowerAlarm.0 = INTEGER: normal(1)
OAP-C2-OEO::vSFPB2ModeTemperatureAlarm.0 = INTEGER: normal(1)
OAP-C2-OEO::vSFPB2.13.0 = INTEGER: -2000
OAP-C2-OEO::vSFPC1State.0 = INTEGER: on(1)
OAP-C2-OEO::vSFPC1WorkMode.0 = INTEGER: normal(1)
OAP-C2-OEO::vSFPC1TxPowerControl.0 = INTEGER: auto(2)
OAP-C2-OEO::vSFPC1TxPower.0 = INTEGER: 222
Each OEO has it’s own .my MIB file, and that gets a little confusing later on in the polling the OS section as it seems to allow only 1?
Assistance and guidance would be appreciated.