<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello
<div class=""><br class="">
</div>
<div class="">We recently transitioned from ‘legacy’ Ceilometer to Ceilometer+AODH+Gnocchi in our Mitaka cloud. One thing I noticed is that the alarm-action HTTP POSTs don’t seem to contain data about the alarm. In our old config, we used to receive information
like this from the POST from Ceilometer’s alarm notifier:
<div class=""><br class="">
</div>
<div class=""> <QueryDict: <br class="">
{"severity": "low”,<br class="">
"alarm_name": "cpu_high”,<br class="">
"current": "alarm”,<br class="">
"alarm_id": "70d5faff-2062-4bb1-bcbc-3f389fb9c6dc”,<br class="">
"reason": "Transition to alarm due to 2 samples outside threshold,<br class="">
most recent: 116.628333333",<br class="">
"reason_data": <br class="">
{"count": 2,<br class="">
"most_recent": 116.62833333333332,<br class="">
"type": "threshold",<br class="">
"disposition": "outside"},<br class="">
"previous": "ok"}<br class="">
}><br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class=""><br class="">
</div>
<div class="">The POSTs that come from the AODH notifier look like this:</div>
<div class=""><br class="">
</div>
<div class=""><QueryDict: {}></div>
<div class=""><br class="">
</div>
<div class="">The AODH notifier log about the alarm shows:</div>
<div class=""><br class="">
</div>
<div class="">2017-04-04 08:22:15.151 64223 INFO aodh.notifier.rest [-] Notifying alarm clubo:cpu_low c97e05ad-d85c-464f-8026-765c372fdce5 with severity low from alarm to alarm with action SplitResult(scheme=u'https', netloc=u'XXX', path=u'/api/scaling/remove/XXX/',
query='', fragment='') because Remaining as alarm due to 1 samples outside threshold, most recent: 9.59306036578. request-id: req-e676dab8-664a-4891-af69-2a2753e1a65d </div>
<div class=""><br class="">
</div>
<div class="">Is this expected? Is there a way to configure AODH to include this type of information in it’s POST payload for the alarm-actions?</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class=""><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div class=""><br class="Apple-interchange-newline">
Mike Smith</div>
<div class="">Lead Cloud Systems Architect</div>
<div class=""><a href="http://overstock.com" class="">Overstock.com</a></div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
</body>
</html>