I know you won't accept my PR anymore. Well, it would be nice if you could take a look at it.
In this case. IOS-XE on Cisco 4331 supports both. The CISCO-ENTITY-FRU-CONTROL-MIB and the CISCO-ENTITY-SENSOR-MIB mib. The Control Mib only reports the status of the swapable modules like fan try or power supply, but nothing more. When we also query the sensors mib that would give us access to all the others sensors like temperature, fan speed, voltages, watt usages, etc.
Maybe another combination of checking supported env mibs could make sense to avoid code duplication. That's up to you.
I know you won't accept my PR anymore. Well, it would be nice if you could take a look at it.
In this case. IOS-XE on Cisco 4331 supports both. The CISCO-ENTITY-FRU-CONTROL-MIB and the CISCO-ENTITY-SENSOR-MIB mib. The Control Mib only reports the status of the swapable modules like fan try or power supply, but nothing more. When we also query the sensors mib that would give us access to all the others sensors like temperature, fan speed, voltages, watt usages, etc.
Maybe another combination of checking supported env mibs could make sense to avoid code duplication. That's up to you.
Thanks