<div dir="ltr">Maybe I have missed something in the scenario template, but it seems you have understood my idea quite correctly :-)<div><br></div><div>See further explanation inline<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jan 8, 2017 at 3:06 PM Afek, Ifat (Nokia - IL) <<a href="mailto:ifat.afek@nokia.com">ifat.afek@nokia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg">
<div class="m_1242506880783174039WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Hi Yujun,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Thanks for the explanation, but I still don’t fully understand.<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Let me start with the current state:<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><span class="gmail_msg">1.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">introduce a flexible `metadata` dict in to ALARM entity<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">[Ifat] Already exists. An alarm is represented as a vertex in the entity graph, with a dictionary of properties.</span></p></div></div></blockquote><div> </div><div> [yujunz] Can the alarm vertex be updated by scenario action? e.g. raise an alarm and set the property `suspect` to true.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><p class="MsoNormal gmail_msg" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><span class="gmail_msg">2.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Allow generating update event[1] on metadata change<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><span class="gmail_msg">3.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Allow using ALARM metadata in scenario condition<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">[Ifat] Already exists. You can define properties in the ‘entities’ section in Vitrage templates</span></p></div></div></blockquote><div> </div><div>[yujunz] How do I specify the condition if one specified alarm is 'suspicious', e.g. condition: host_alarm.suspect ?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><p class="MsoNormal gmail_msg" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">
<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><span class="gmail_msg">4.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Allow setting ALARM metadata in scenario action<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">If I understand correctly, you are suggesting that one scenario will add metadata to an existing alarm, which will trigger an event, and as a result another scenario might be executed?</span></p></div></div></blockquote><div> </div><div>[yujunz] Exactly </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">
<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Can you describe a use case where this behavior will help calculating the root cause?</span></p></div></div></blockquote><div> </div><div>[yujunz] Here's the simplified case derived from YinLiYin's example. Suppose we add a causal relationship from `host_alarm` to `instance_alarm`, i.e. host alarm will cause instance alarm. If an instance alarm is detected (but no host alarm). It is "suspicious" that it may be caused by host alarm. The reason could be event delay or lost. Instead of waiting for snapshot service to update the host status, we want to run a diagnostic action to check it initiatively.</div><div><br></div><div>In this case, we want to set the upstream (host) of a confirmed alarm (instance) to "suspect" and trigger an diagnostic action on this change.</div><div><br></div><div>Hope that I have made the use case clear.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Thanks,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Ifat.<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><b class="gmail_msg"><span style="font-family:Calibri;color:black" class="gmail_msg">From:
</span></b><span style="font-family:Calibri;color:black" class="gmail_msg">Yujun Zhang <<a href="mailto:zhangyujun%2Bzte@gmail.com" class="gmail_msg" target="_blank">zhangyujun+zte@gmail.com</a>></span></p></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg"><p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><span style="font-family:Calibri;color:black" class="gmail_msg"><br class="gmail_msg">
<b class="gmail_msg">Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>><br class="gmail_msg">
</span></p></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg"><p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><span style="font-family:Calibri;color:black" class="gmail_msg"><b class="gmail_msg">Date: </b>Saturday, 7 January 2017 at 09:27</span></p></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg"><p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><span style="font-family:Calibri;color:black" class="gmail_msg"><br class="gmail_msg">
<b class="gmail_msg">To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>><br class="gmail_msg">
</span></p></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg"><p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><span style="font-family:Calibri;color:black" class="gmail_msg"><b class="gmail_msg">Cc: </b>"<a href="mailto:han.jing28@zte.com.cn" class="gmail_msg" target="_blank">han.jing28@zte.com.cn</a>" <<a href="mailto:han.jing28@zte.com.cn" class="gmail_msg" target="_blank">han.jing28@zte.com.cn</a>>, "<a href="mailto:wang.weiya@zte.com.cn" class="gmail_msg" target="_blank">wang.weiya@zte.com.cn</a>" <<a href="mailto:wang.weiya@zte.com.cn" class="gmail_msg" target="_blank">wang.weiya@zte.com.cn</a>>, "<a href="mailto:gong.yahui5@zte.com.cn" class="gmail_msg" target="_blank">gong.yahui5@zte.com.cn</a>" <<a href="mailto:gong.yahui5@zte.com.cn" class="gmail_msg" target="_blank">gong.yahui5@zte.com.cn</a>>, "<a href="mailto:jia.peiyuan@zte.com.cn" class="gmail_msg" target="_blank">jia.peiyuan@zte.com.cn</a>" <<a href="mailto:jia.peiyuan@zte.com.cn" class="gmail_msg" target="_blank">jia.peiyuan@zte.com.cn</a>>, "<a href="mailto:zhang.yujunz@zte.com.cn" class="gmail_msg" target="_blank">zhang.yujunz@zte.com.cn</a>" <<a href="mailto:zhang.yujunz@zte.com.cn" class="gmail_msg" target="_blank">zhang.yujunz@zte.com.cn</a>><br class="gmail_msg">
<b class="gmail_msg">Subject: </b>Re: [openstack-dev] [Vitrage] About alarms reported by datasource and the alarms generated by vitrage evaluator<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg"></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">The two questions raised by YinLiYin is actually one, i.e.
<b class="gmail_msg">how to enrich the alarm properties </b>that can be used as an condition in root cause deducing.
<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">Both 'suspect' or 'datasource' are additional information that may be referred as a condition in general fault model, a.k.a. scenario in vitrage.<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">It seems it could be done by<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div class="gmail_msg"><div class="gmail_msg">
<ol start="1" type="1" class="gmail_msg">
<li class="MsoNormal gmail_msg">
<span style="font-size:10.0pt" class="gmail_msg">introduce a flexible `metadata` dict in to ALARM entity</span><u class="gmail_msg"></u><u class="gmail_msg"></u></li></ol>
</div></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><p class="MsoNormal gmail_msg" style="margin-left:72.0pt">
<u class="gmail_msg"></u><span class="gmail_msg">2.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:10.0pt" class="gmail_msg">Allow generating update event[1] on metadata change</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:72.0pt">
<u class="gmail_msg"></u><span class="gmail_msg">3.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:10.0pt" class="gmail_msg">Allow using ALARM metadata in scenario condition</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:72.0pt">
<u class="gmail_msg"></u><span class="gmail_msg">4.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">
</span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:10.0pt" class="gmail_msg">Allow setting ALARM metadata in scenario action</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div></div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg"><div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">This will leave the flexibility to continuous development by defining a complex scenario template and keep the vitrage evaluator simple and generic.<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">My two cents.<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">[1]: <a href="http://docs.openstack.org/developer/vitrage/scenario-evaluator.html#concepts-and-guidelines" class="gmail_msg" target="_blank">http://docs.openstack.org/developer/vitrage/scenario-evaluator.html#concepts-and-guidelines</a> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div></div></div><div bgcolor="white" lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_1242506880783174039WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">On Sat, Jan 7, 2017 at 2:23 AM Afek, Ifat (Nokia - IL) <<a href="mailto:ifat.afek@nokia.com" class="gmail_msg" target="_blank">ifat.afek@nokia.com</a>> wrote:<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Hi YinLiYin,</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">This is an interesting question. Let me divide my answer to two parts.</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">First, the case that you described with Nagios and Vitrage. This problem depends on the specific Nagios tests that you configure in your system, as well as on the Vitrage templates that
you use. For example, you can use Nagios/Zabbix to monitor the physical layer, and Vitrage to raise deduced alarms on the virtual and application layers. This way you will never have duplicated alarms. If you want to use Nagios to monitor the other layers
as well, you can simply modify Vitrage templates so they don’t raise the deduced alarms that Nagios may generate, and use the templates to show RCA between different Nagios alarms.</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Now let’s talk about the more general case. Vitrage can receive alarms from different monitors, including Nagios, Zabbix, collectd and Aodh. If you are using more than one monitor, it
is possible that the same alarm (maybe with a different name) will be raised twice. We need to create a mechanism to identify such cases and create a single alarm with the properties of both monitors. This has not been designed in details yet, so if you have
any suggestion we will be happy to hear them.</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Best Regards,</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg">Ifat.</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:11.0pt;font-family:Calibri" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:72.0pt">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg"><span style="font-family:Calibri;color:black" class="gmail_msg">From: </span>
</b></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-family:Calibri;color:black" class="gmail_msg">"<a href="mailto:yinliyin@zte.com.cn" class="gmail_msg" target="_blank">yinliyin@zte.com.cn</a>" <<a href="mailto:yinliyin@zte.com.cn" class="gmail_msg" target="_blank">yinliyin@zte.com.cn</a>></span></span><span style="font-family:Calibri;color:black" class="gmail_msg"><br class="gmail_msg">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg">Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>></span><br class="gmail_msg">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg">Date: </b>Friday, 6 January 2017 at 03:27</span><br class="gmail_msg">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg">To: </b>"<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org" class="gmail_msg" target="_blank">openstack-dev@lists.openstack.org</a>></span><br class="gmail_msg">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg">Cc: </b>"<a href="mailto:gong.yahui5@zte.com.cn" class="gmail_msg" target="_blank">gong.yahui5@zte.com.cn</a>" <<a href="mailto:gong.yahui5@zte.com.cn" class="gmail_msg" target="_blank">gong.yahui5@zte.com.cn</a>>, "<a href="mailto:han.jing28@zte.com.cn" class="gmail_msg" target="_blank">han.jing28@zte.com.cn</a>"
<<a href="mailto:han.jing28@zte.com.cn" class="gmail_msg" target="_blank">han.jing28@zte.com.cn</a>>, "<a href="mailto:wang.weiya@zte.com.cn" class="gmail_msg" target="_blank">wang.weiya@zte.com.cn</a>" <<a href="mailto:wang.weiya@zte.com.cn" class="gmail_msg" target="_blank">wang.weiya@zte.com.cn</a>>, "<a href="mailto:jia.peiyuan@zte.com.cn" class="gmail_msg" target="_blank">jia.peiyuan@zte.com.cn</a>"
<<a href="mailto:jia.peiyuan@zte.com.cn" class="gmail_msg" target="_blank">jia.peiyuan@zte.com.cn</a>>, "<a href="mailto:zhang.yujunz@zte.com.cn" class="gmail_msg" target="_blank">zhang.yujunz@zte.com.cn</a>" <<a href="mailto:zhang.yujunz@zte.com.cn" class="gmail_msg" target="_blank">zhang.yujunz@zte.com.cn</a>></span><br class="gmail_msg">
<span class="m_1242506880783174039gmailmsg gmail_msg"><b class="gmail_msg">Subject: </b>[openstack-dev] [Vitrage] About alarms reported by datasource and the alarms generated by vitrage evaluator</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg" style="margin-left:72.0pt">
<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-right:0cm;margin-bottom:0cm;margin-left:72.0pt;margin-bottom:.0001pt;line-height:15.0pt;background:white;box-sizing:border-box;min-height:14px;outline:none!important">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-family:宋体" class="gmail_msg">Hi all, </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-right:0cm;margin-bottom:0cm;margin-left:72.0pt;margin-bottom:.0001pt;line-height:15.0pt;background:white;box-sizing:border-box;min-height:14px;outline:none!important">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-family:宋体" class="gmail_msg"> Vitrage generate alarms acording to the templates. All the alarms raised by vitrage has the type "vitrage". Suppose Nagios has an alarm A. Alarm A is raised by vitrage evaluator according to the action
part of a scenario, type of alarm A is "vitrage". If Nagios reported alarm A latter, a new alarm A with type "Nagios" would be generator in the entity graph. There would be two vertices for the same alarm in the graph. And we have to define two alarm entities,
two relationships, two scenarios in the template file to make the alarm propagation procedure work.</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-right:0cm;margin-bottom:0cm;margin-left:72.0pt;margin-bottom:.0001pt;line-height:15.0pt;background:white;box-sizing:border-box;min-height:14px;outline:none!important">
<span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-family:宋体" class="gmail_msg"> It is inconvenient to describe fault model of system with lot of alarms. How to solve this problem?</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-left:72.0pt"><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:5.5pt;font-family:宋体" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-left:72.0pt"><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:9.0pt;font-family:Calibri;color:#58595b" class="gmail_msg">殷力殷</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:9.0pt;font-family:Times;color:#58595b" class="gmail_msg"> </span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-family:Arial;color:#58595b" class="gmail_msg">YinLiYin</span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-left:72.0pt"><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:5.5pt" class="gmail_msg"> </span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-left:72.0pt"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<table class="m_1242506880783174039MsoNormalTable gmail_msg" border="0" cellpadding="0" width="594" style="width:445.5pt;margin-left:72.0pt">
<tbody class="gmail_msg">
<tr class="gmail_msg">
<td width="94" valign="top" style="width:70.5pt;padding:.75pt .75pt .75pt .75pt" class="gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-family:宋体;color:black" class="gmail_msg"><img border="0" width="130" height="120" id="m_1242506880783174039_x0000_i1035" class="gmail_msg"></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</td>
<td width="494" valign="top" style="width:370.5pt;padding:.75pt .75pt .75pt .75pt" class="gmail_msg">
<p class="MsoNormal gmail_msg" style="word-break:break-all">
<span style="font-family:宋体;color:black" class="gmail_msg"><img border="0" width="115" height="38" id="m_1242506880783174039_x0000_i1036" class="gmail_msg"><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:宋体;color:#58595b" class="gmail_msg">上海市浦东新区碧波路</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Times;color:#58595b" class="gmail_msg">889</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:宋体;color:#58595b" class="gmail_msg">号中兴研发大楼</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Times;color:#58595b" class="gmail_msg">D502 </span></span><span style="font-size:7.5pt;font-family:Times;color:#58595b" class="gmail_msg"><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg">D502, ZTE Corporation R&D Center, 889# Bibo Road,
</span></span><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><br class="gmail_msg">
<span class="m_1242506880783174039m5609626365442085205signedit gmail_msg">Zhangjiang Hi-tech Park, Shanghai, P.R.China, 201203</span><span class="m_1242506880783174039gmailmsg gmail_msg"> </span><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#008fd4" class="gmail_msg">T</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg">:
</span></span><span class="m_1242506880783174039m5609626365442085205signedit gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><a href="tel:+86%2021%206889%206229" class="gmail_msg" target="_blank">+86 21 68896229</a></span></span><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#008fd4" class="gmail_msg">M</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg">:
</span></span><span class="m_1242506880783174039m5609626365442085205signedit gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><a href="tel:+86%20136%204189%205907" class="gmail_msg" target="_blank">+86 13641895907</a></span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg">
</span></span><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#008fd4" class="gmail_msg">E</span></span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg">:
</span></span><span class="m_1242506880783174039m5609626365442085205signedit gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><a href="mailto:yinliyin@zte.com.cn" class="gmail_msg" target="_blank">yinliyin@zte.com.cn</a></span></span><span style="font-size:7.5pt;font-family:Arial;color:#58595b" class="gmail_msg"><br class="gmail_msg">
</span><span class="m_1242506880783174039gmailmsg gmail_msg"><span style="font-size:7.5pt;font-family:Arial;color:#008fd4" class="gmail_msg"><a href="http://www.zte.com.cn/" class="gmail_msg" target="_blank">www.zte.com.cn</a></span></span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="m_1242506880783174039gmailmsg1 gmail_msg" style="margin-left:72.0pt"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
</div>
<p class="MsoNormal gmail_msg" style="margin-left:36.0pt">__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" class="gmail_msg" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div></div>
__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="gmail_msg" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="gmail_msg">
</blockquote></div></div></div>