A device using the Cisco FRU Power Supply Vendor Certification is showing a power supply has failed but the device command line (sh env all) does not reflect a failed power supply
CA Performance Management 3.5
Cisco ASR 1002-X Router
The Cisco FRU Power Supply vendor certification calculates Time in Bad State as follows:
Percent Time in Bad State from the vendor certification:
The snmpConstArrayMap function maps a value (index) to a set of constant values (array). If necessary, this function rounds the input value to nearest integer value. Then, it uses the integer value as an index to the set of constant values (array) that are shown as c0, c1, up to cn -1. The c values must be integers. This function checks these values when the expression is parsed and returns cx. If the value is not in the domain from 0 to n-1 (inclusive), the result is 0 (without an error message). Use this function to certify devices.
Actual OID polled from the Cisco FRU Power Supply vendor certification
<Attribute name="cefcFRUPowerOperStatus" type="Long">
The cefcFRUPowerOperStatus returns values 1-12 that map to states as follows:
The MIB values for the power supply returned a value of 8 which indicates failed as noted above.
As the MIB value returned does not match what the device command line is reporting, this would need to be addressed by the device vendor