<p dir="ltr">Hi Roland,</p>
<p dir="ltr">I had a chat with people on IRC about it and I understood that in order for my use case to work the Monasca software needs to implement "non-periodic" metrics (because the monitored box sends out the event only on health change and not periodicaly) and I understood that this enhancement is currently being designed.</p>
<p dir="ltr">Is that correct?</p>
<p dir="ltr">Cheers,<br>
Prema</p>
<div class="gmail_quote">On 22 Jan 2016 01:04, "Hochmuth, Roland M" <<a href="mailto:roland.hochmuth@hpe.com">roland.hochmuth@hpe.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Prema, SNMP isn't handled in Monasca and I have little experience in<br>
that area. This would be new development.<br>
<br>
It is possible to map binary data, such as health/status of a system or<br>
component. The usual way is to use the value 0 for up/OK and 1 for<br>
down/NOT_OK. A component would need to be developed to handle SNMP traps,<br>
then translate and send them to the Monasca API as binary data. Possibly,<br>
this component could be added to the Agent.<br>
<br>
Using the Monasca Alarm API, an alarm could be defined, such as<br>
max(snmp{}) > 0.<br>
<br>
The latency for a min/max alarm expression in Monasca is very low.<br>
<br>
Regards --Roland<br>
<br>
<br>
On 1/18/16, 9:07 AM, "Premysl Kouril" <<a href="mailto:premysl.kouril@gmail.com">premysl.kouril@gmail.com</a>> wrote:<br>
<br>
>Hello,<br>
><br>
>we are just evaluating Monasca for our new cloud infrastructure and I<br>
>would like to ask if there are any possibilities in current Monasca or<br>
>some development plans to address following use case:<br>
><br>
>We have a box which we need to monitor and when something goes wrong<br>
>with the box, it sends out and SNMP trap indicating that it is in bad<br>
>condition and when the box is fixed it sends out SNMP trap indicating<br>
>that it is OK and operational again (in other words: the box is<br>
>indicating health state transitions by sending events - in this case<br>
>SNMP traps).<br>
><br>
>Is it possible in Monasca to define such alarm which would work on top<br>
>of such events? In other words - Is it possible to have a Monasca<br>
>alarm which would go red on some external event go back green on some<br>
>other external event? By alarm I really mean a stateful entity in<br>
>monasca database not some notification to administrator.<br>
><br>
>Best regards.<br>
>Prema<br>
><br>
>__________________________________________________________________________<br>
>OpenStack Development Mailing List (not for usage questions)<br>
>Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>