<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="gmail-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="gmail-s1" style="font-kerning:none">- name: </span><span class="gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><receiver name></i></span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">  webhook_configs:</span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">  - url: </span><span class="gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><vitrage event url></i></span><span class="gmail-s1" style="font-kerning:none">  # example: '<a href="http://127.0.0.1:8999/v1/event"><span class="gmail-s3" style="font-kerning:none;color:rgb(5,99,193)">http://127.0.0.1:8999/v1/event</span></a>'</span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">    send_resolved: true</span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">    http_config:</span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">      basic_auth:</span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">        username: </span><span class="gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><an admin user known to keystone ></i></span></p>
<p class="gmail-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="gmail-s1" style="font-kerning:none">        password: </span><span class="gmail-s2" style="text-decoration-line:underline;font-kerning:none"><i><user’s password></i></span></p></div><div><p class="gmail-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="gmail-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">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>