<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:24.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri Light";
        color:#2F5496;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri Light";
        color:#4472C4;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri Light";
        color:#4472C4;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri Light";
        color:#4472C4;
        font-style:italic;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri Light";
        color:#1F3763;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri Light";
        color:#1F3763;
        font-weight:normal;
        font-style:italic;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {mso-style-priority:9;
        mso-style-link:"Heading 7 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Calibri Light";
        color:#404040;
        font-style:italic;}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
        {mso-style-priority:9;
        mso-style-link:"Heading 8 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:10.0pt;
        font-family:"Calibri Light";
        color:#4472C4;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {mso-style-priority:9;
        mso-style-link:"Heading 9 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:10.0pt;
        font-family:"Calibri Light";
        color:#404040;
        font-style:italic;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {mso-style-priority:35;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:Calibri;
        color:#4472C4;
        font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {mso-style-priority:10;
        mso-style-link:"Title Char";
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:15.0pt;
        margin-left:0cm;
        mso-add-space:auto;
        font-size:26.0pt;
        font-family:"Calibri Light";
        color:#323E4F;
        letter-spacing:.25pt;}
p.MsoTitleCxSpFirst, li.MsoTitleCxSpFirst, div.MsoTitleCxSpFirst
        {mso-style-priority:10;
        mso-style-link:"Title Char";
        mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:26.0pt;
        font-family:"Calibri Light";
        color:#323E4F;
        letter-spacing:.25pt;}
p.MsoTitleCxSpMiddle, li.MsoTitleCxSpMiddle, div.MsoTitleCxSpMiddle
        {mso-style-priority:10;
        mso-style-link:"Title Char";
        mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:26.0pt;
        font-family:"Calibri Light";
        color:#323E4F;
        letter-spacing:.25pt;}
p.MsoTitleCxSpLast, li.MsoTitleCxSpLast, div.MsoTitleCxSpLast
        {mso-style-priority:10;
        mso-style-link:"Title Char";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:15.0pt;
        margin-left:0cm;
        mso-add-space:auto;
        font-size:26.0pt;
        font-family:"Calibri Light";
        color:#323E4F;
        letter-spacing:.25pt;}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {mso-style-priority:11;
        mso-style-link:"Subtitle Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri Light";
        color:#4472C4;
        letter-spacing:.75pt;
        font-style:italic;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        mso-style-link:"No Spacing Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:Calibri;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:Calibri;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:Calibri;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:Calibri;}
p.MsoQuote, li.MsoQuote, div.MsoQuote
        {mso-style-priority:29;
        mso-style-link:"Quote Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;
        color:black;
        font-style:italic;}
p.MsoIntenseQuote, li.MsoIntenseQuote, div.MsoIntenseQuote
        {mso-style-priority:30;
        mso-style-link:"Intense Quote Char";
        margin-top:10.0pt;
        margin-right:46.8pt;
        margin-bottom:14.0pt;
        margin-left:46.8pt;
        font-size:11.0pt;
        font-family:Calibri;
        color:#4472C4;
        font-weight:bold;
        font-style:italic;}
span.MsoSubtleEmphasis
        {mso-style-priority:19;
        color:gray;
        font-style:italic;}
span.MsoIntenseEmphasis
        {mso-style-priority:21;
        color:#4472C4;
        font-weight:bold;
        font-style:italic;}
span.MsoSubtleReference
        {mso-style-priority:31;
        font-variant:small-caps;
        color:#ED7D31;
        text-decoration:underline;}
span.MsoIntenseReference
        {mso-style-priority:32;
        font-variant:small-caps;
        color:#ED7D31;
        letter-spacing:.25pt;
        font-weight:bold;
        text-decoration:underline;}
span.MsoBookTitle
        {mso-style-priority:33;
        font-variant:small-caps;
        letter-spacing:.25pt;
        font-weight:bold;}
p.MsoTocHeading, li.MsoTocHeading, div.MsoTocHeading
        {mso-style-priority:39;
        margin-top:24.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Calibri Light";
        color:#2F5496;
        font-weight:bold;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Calibri Light";
        color:#2F5496;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Calibri Light";
        color:#4472C4;
        font-weight:bold;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Calibri Light";
        color:#4472C4;
        font-weight:bold;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Calibri Light";
        color:#4472C4;
        font-weight:bold;
        font-style:italic;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Calibri Light";
        color:#1F3763;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Calibri Light";
        color:#1F3763;
        font-style:italic;}
span.Heading7Char
        {mso-style-name:"Heading 7 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 7";
        font-family:"Calibri Light";
        color:#404040;
        font-style:italic;}
span.Heading8Char
        {mso-style-name:"Heading 8 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 8";
        font-family:"Calibri Light";
        color:#4472C4;}
span.Heading9Char
        {mso-style-name:"Heading 9 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 9";
        font-family:"Calibri Light";
        color:#404040;
        font-style:italic;}
span.TitleChar
        {mso-style-name:"Title Char";
        mso-style-priority:10;
        mso-style-link:Title;
        font-family:"Calibri Light";
        color:#323E4F;
        letter-spacing:.25pt;}
span.SubtitleChar
        {mso-style-name:"Subtitle Char";
        mso-style-priority:11;
        mso-style-link:Subtitle;
        font-family:"Calibri Light";
        color:#4472C4;
        letter-spacing:.75pt;
        font-style:italic;}
span.NoSpacingChar
        {mso-style-name:"No Spacing Char";
        mso-style-priority:1;
        mso-style-link:"No Spacing";}
span.QuoteChar
        {mso-style-name:"Quote Char";
        mso-style-priority:29;
        mso-style-link:Quote;
        color:black;
        font-style:italic;}
span.IntenseQuoteChar
        {mso-style-name:"Intense Quote Char";
        mso-style-priority:30;
        mso-style-link:"Intense Quote";
        color:#4472C4;
        font-weight:bold;
        font-style:italic;}
span.EmailStyle46
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle47
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle48
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle49
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle50
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle51
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle52
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle53
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle54
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1169752324;
        mso-list-type:hybrid;
        mso-list-template-ids:1706072254 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Now with the file attached<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Afek, Ifat (Nokia - IL/Kfar Sava)" <ifat.afek@nokia.com><br>
<b>Date: </b>Friday, 7 July 2017 at 12:41<br>
<b>To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Cc: </b>"Tahhan, Maryam" <maryam.tahhan@intel.com><br>
<b>Subject: </b>Re: [openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal">Hi Volodymyr,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Can you please enable debug information in vitrage.conf, restart vitrage-graph, and send me the vitrage-graph.log file (in the time where the alarm is raised)? I’ll try to understand why the alarm is not connected to the port. The definitions
 in collectd_conf.yaml seem correct. <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I did find some issues with the template file – in the alarm definition, you specified the name of the resource instead of the name/rawtext of the alarm. Also, the name of the port was missing in the port definition. See the attached template
 (which I haven’t checked, but I believe should work). In any case, this will not fix the problem with the alarm being connected to the resource; it is relevant only for the next phase after we fix the first problem.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
<p class="MsoNormal">Ifat.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Mytnyk, VolodymyrX" <volodymyrx.mytnyk@intel.com><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Friday, 7 July 2017 at 10:35<br>
<b>To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Cc: </b>"Tahhan, Maryam" <maryam.tahhan@intel.com><br>
<b>Subject: </b>Re: [openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Ifat,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">                Sorry, I forgot to attach the topology dump. Attaching it now.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Also, I’ve checked the topology, and looks like there is no relationship between neutron port and the alarm for some reason.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks and Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Volodymyr</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Afek, Ifat (Nokia - IL/Kfar Sava) [mailto:ifat.afek@nokia.com]
<br>
<b>Sent:</b> Friday, July 7, 2017 12:15 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org><br>
<b>Cc:</b> Tahhan, Maryam <maryam.tahhan@intel.com><br>
<b>Subject:</b> Re: [openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hi Volodymyr,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Seems like the problem is that the alarm does not get connected to the port. In your collectd_conf.yaml, you should write:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">collectd:<o:p></o:p></p>
<p class="MsoNormal">- collectd_host: silpixa00399503/ovs_events/qvo818dd156-be   (collectd resource name)<o:p></o:p></p>
<p class="MsoNormal">   type: neutron.port<o:p></o:p></p>
<p class="MsoNormal">   name: qvo818dd156      (openstack neutron port name)<b> </b>
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">By doing this, you cause any Collectd alarm that is raised on the Collectd source named silpixa00399503/ovs_events/qvo818dd156-be to be connected in Vitrage to a resource of type neutron.port with name qvo818dd156.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Try to look in the output of ‘vitrage topology show’ (you did not attach it to the mail) and see the exact details of the port.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Let me know if it helped,<o:p></o:p></p>
<p class="MsoNormal">Ifat.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Mytnyk, VolodymyrX" <<a href="mailto:volodymyrx.mytnyk@intel.com">volodymyrx.mytnyk@intel.com</a>><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Date: </b>Thursday, 6 July 2017 at 23:59<br>
<b>To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Cc: </b>"Tahhan, Maryam" <<a href="mailto:maryam.tahhan@intel.com">maryam.tahhan@intel.com</a>><br>
<b>Subject: </b>Re: [openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal">Hi Ifat,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">                Thank you for your help. See my response on your questions below:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the neutron port in your entity graph, and it is connected to the VM<o:p></o:p></p>
<p class="MsoNormal">V:  yes, it’s correct.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the alarm on the alarms view, and its resources is the neutron port<o:p></o:p></p>
<p class="MsoNormal">V: I see the alarm, sent by collectd , on the alarm page (or vitrage alarm list).  Not sure how to check the alarm resources?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the alarm in the entity graph, connected to the neutron port<o:p></o:p></p>
<p class="MsoNormal">V: The Alarm is show on the entity graph, but it’s NOT connected to the neutron port.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You are asking why the neutron port in the entity graph is green and not red?<o:p></o:p></p>
<p class="MsoNormal">V: The neutron port doesn’t change the color at all.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I’ve validated and tried the suggested template but unfortunately it doesn’t help. I still see the alarm on the graph but it is not connected to neutron port. Also, the neutron port desn’t change the state. Please
 note, that I’m using master branch for the Vitrage in my environment.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Also, attaching the topology dump with raised alarm.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Used configurations :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">====================</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">collectd:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">- collectd_host: silpixa00399503/ovs_events/qvo818dd156-be</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">   type: neutron.port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">   <span style="background:yellow;mso-highlight:yellow">
name: qvo818dd156</span>                  <b># What name we should use here in case of neutron.port?
</b></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">metadata:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">name: ovs_interface_down</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">description: ovs interface down</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">definitions:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">entities:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">  - entity:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     category: ALARM</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     type: collectd</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     <span style="background:yellow;mso-highlight:yellow">
name: qvo818dd156</span></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     template_id: collectd_alarm</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">  - entity:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     category: RESOURCE</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     type: neutron.port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     template_id: port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">relationships:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">  - relationship:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     source: collectd_alarm</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     relationship_type: on</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     target: port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     template_id: collectd_alarm_on_port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">scenarios:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">- scenario:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">    condition: collectd_alarm_on_port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">    actions:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     - action:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">        action_type: set_state</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">        action_target:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">         target: port</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">        properties:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">         state: ERROR</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks and Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Volodymyr</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Afek, Ifat (Nokia - IL/Kfar Sava) [<a href="mailto:ifat.afek@nokia.com">mailto:ifat.afek@nokia.com</a>]
<br>
<b>Sent:</b> Thursday, July 6, 2017 10:01 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions) <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Cc:</b> Tahhan, Maryam <<a href="mailto:maryam.tahhan@intel.com">maryam.tahhan@intel.com</a>><br>
<b>Subject:</b> Re: [openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hi Volodymyr,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Let me see if I understood the problem correctly. Are my assumptions right?<o:p></o:p></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the neutron port in your entity graph, and it is connected to the VM<o:p></o:p></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the alarm on the alarms view, and its resources is the neutron port<o:p></o:p></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You see the alarm in the entity graph, connected to the neutron port<o:p></o:p></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span dir="LTR"></span>You are asking why the neutron port in the entity graph is green and not red?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The template that you used as an example is not what you are asking for. This template states that if there is an alarm on the host (in your case, the alarm is on the neutron port), and the host contains an instance -> raise an alarm on
 the instance and set its state to suboptimal. The template that (I think) you need is more simple: if there is an alarm on a neutron port, set its state to error.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Below is the template that I think you should use. Note that I haven’t tested it locally (because I don’t have the same environment as yours), so there could be errors. As a first step, make sure you are using the correct collectd alarm
 name (use ‘name’ and not ‘rawtext’ which is Zabbix-specific), and then run ‘vitrage template validate’ to verify its correctness.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">metadata:<o:p></o:p></p>
<p class="MsoNormal"> name: ovs_interface_down<o:p></o:p></p>
<p class="MsoNormal"> description: ovs interface is down <o:p></o:p></p>
<p class="MsoNormal">definitions:<o:p></o:p></p>
<p class="MsoNormal"> entities:<o:p></o:p></p>
<p class="MsoNormal">  - entity:<o:p></o:p></p>
<p class="MsoNormal">     category: ALARM<o:p></o:p></p>
<p class="MsoNormal">     type: collectd<o:p></o:p></p>
<p class="MsoNormal">     name: <put the collectd alarm name here><o:p></o:p></p>
<p class="MsoNormal">     template_id: collectd_alarm<o:p></o:p></p>
<p class="MsoNormal">  - entity:<o:p></o:p></p>
<p class="MsoNormal">     category: RESOURCE<o:p></o:p></p>
<p class="MsoNormal">     type: neutron.port<o:p></o:p></p>
<p class="MsoNormal">     template_id: port<o:p></o:p></p>
<p class="MsoNormal"> relationships:<o:p></o:p></p>
<p class="MsoNormal">  - relationship:<o:p></o:p></p>
<p class="MsoNormal">     source: collectd_alarm<o:p></o:p></p>
<p class="MsoNormal">     relationship_type: on<o:p></o:p></p>
<p class="MsoNormal">     target: port<o:p></o:p></p>
<p class="MsoNormal">     template_id : collectd_alarm_on_port<o:p></o:p></p>
<p class="MsoNormal">scenarios:<o:p></o:p></p>
<p class="MsoNormal"> - scenario:<o:p></o:p></p>
<p class="MsoNormal">    condition: collectd_alarm_on_port<o:p></o:p></p>
<p class="MsoNormal">     - action:<o:p></o:p></p>
<p class="MsoNormal">        action_type: set_state<o:p></o:p></p>
<p class="MsoNormal">        action_target:<o:p></o:p></p>
<p class="MsoNormal">         target: port<o:p></o:p></p>
<p class="MsoNormal">        properties:<o:p></o:p></p>
<p class="MsoNormal">         state: ERROR<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Let me know if it helped,<o:p></o:p></p>
<p class="MsoNormal">Ifat.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Mytnyk, VolodymyrX" <</span><a href="mailto:volodymyrx.mytnyk@intel.com">volodymyrx.mytnyk@intel.com</a><span style="color:black">><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><span style="color:black">><br>
<b>Date: </b>Thursday, 6 July 2017 at 17:18<br>
<b>To: </b>"</span><a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><span style="color:black">" <</span><a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><span style="color:black">><br>
<b>Cc: </b>"Tahhan, Maryam" <</span><a href="mailto:maryam.tahhan@intel.com">maryam.tahhan@intel.com</a><span style="color:black">><br>
<b>Subject: </b>[openstack-dev] [Vitrage] Collectd notification isn't shown on the Vitrage Graph</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">                We are trying to configure the collectd and Vitrage service to raise an alarm in the Vitrage and show the alarm on the graph if a VM interface goes down. The collectd & collectd_vitrage plugin have been configured to send
 the notification if the OvS interface connected to VM  goes down (using OvS events plugin). In our case, when interface goes down, the collectd event is sent to Vitrage and we’re able to see it on the Alarm page. But we would like to show the alarm on the
 Entity Graph (highlighting the neutron port) but for some reason it doesn’t work. The
<a href="https://github.com/openstack/vitrage/blob/master/tools/load_generator/templates/vm_0.yaml">
https://github.com/openstack/vitrage/blob/master/tools/load_generator/templates/vm_0.yaml</a> template has been used as a base for our scenario (changing `zabbix` datasource to `collectd` in the file). Our collectd datasource configuration (collectd_conf.yaml)
 looks like this (tried both variants):<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">collectd:<o:p></o:p></p>
<p class="MsoNormal">- collectd_host: silpixa00399503/ovs_events/qvo818dd156-be<o:p></o:p></p>
<p class="MsoNormal">   type: neutron.port<o:p></o:p></p>
<p class="MsoNormal">   name: qvo818dd156-be<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">collectd:<o:p></o:p></p>
<p class="MsoNormal">- collectd_host: silpixa00399503/ovs_events/qvo818dd156-be<o:p></o:p></p>
<p class="MsoNormal">   type: nove.host<o:p></o:p></p>
<p class="MsoNormal">   name: silpixa00399503<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Our setup configuration looks like this:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">|HOST| ---->  |VM| ---> |NEUTRON.PORT|---> |NEUTRON.NETWOR|<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Any help on the issue would be much appreciated.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks and Regards,<o:p></o:p></p>
<p class="MsoNormal">Volodymyr<o:p></o:p></p>
</div>
</body>
</html>