Hi,
Not only for CPLD but for everything you need, the proper way to do that is download Device´s MIB on Cisco website and open up using some kind of SNMP parser. Then, you can walk through all the possible OID a device have. There are many SNMP parser free on the internet.
-If I helped you somehow, please, rate it as useful.-