<div dir="ltr">Hello Ifat,<div><br></div><div>Thank you for your help!</div><div>I really appreciate it. Thanks again!</div><div><br></div><div>Best Regards,</div><div>Won</div></div><br><div class="gmail_quote"><div dir="ltr">2018년 9월 27일 (목) 오후 10:00, Ifat Afek <<a href="mailto:ifatafekn@gmail.com">ifatafekn@gmail.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>You can use the Prometheus datasource in Vitrage starting from Rocky release.</div><div><br></div><div>In order to use it, follow these steps:</div><div><br></div><div>1. Add 'prometheus' to 'types' configuration under /etc/vitrage/vitrage.conf</div><div>2. In alertmanager.yml add a receiver as follows:</div><div><br></div><div>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none">- name: </span><span class="m_-6092211179781384642gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><receiver name></i></span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> webhook_configs:</span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> - url: </span><span class="m_-6092211179781384642gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><vitrage event url></i></span><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> # example: '<a href="http://127.0.0.1:8999/v1/event" target="_blank"><span class="m_-6092211179781384642gmail-s3" style="font-kerning:none;color:rgb(5,99,193)">http://127.0.0.1:8999/v1/event</span></a>'</span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> send_resolved: true</span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> http_config:</span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> basic_auth:</span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> username: </span><span class="m_-6092211179781384642gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><an admin user known to keystone ></i></span></p>
<p class="m_-6092211179781384642gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="m_-6092211179781384642gmail-s1" style="font-kerning:none"> password: </span><span class="m_-6092211179781384642gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><user’s password></i></span></p></div><div><p class="m_-6092211179781384642gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 1in;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></p><p class="m_-6092211179781384642gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 1in;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></p></div><div>Br,</div><div>Ifat</div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 2:38 PM ddaasd <<a href="mailto:wjstk16@gmail.com" target="_blank">wjstk16@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>I would like to know how to link vitrage and prometheus.</div><div>Is there a way to receive alert information from vitrage that occurred in prometheus and Alert manager like zabbix-vitrage?</div><div>I wonder ,if i can, receive prometheus's alert and place it on the entity graph in vitrage.</div></div></div>
__________________________________________________________________________<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></div></div>
__________________________________________________________________________<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>