alarms = c.describe_alarms()
for alarm in alarms:
print alarm.name
print alarm.metric
print alarm.namespace
I have got all the alarms associated with the RDS. Now i need to find the threshold values for these alarms. Can anyone help me with it?
I'm not sure it can be retrieved with
boto. You might have to useboto3, which shows the full datastructure in the docs.If you must use
boto, you might try grabbing one alarm and doingprint repr(alarm)and seeing if the threshold is in the output somewhere.