<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;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
@font-face
        {font-family:"Apple Color Emoji";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.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:12.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:12.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:12.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:12.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:12.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:12.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:12.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:12.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:12.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:12.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:12.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;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0cm;
        margin-bottom:.0001pt;
        background:#FEF49C;
        font-size:9.0pt;
        font-family:Menlo;
        color:black;}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        margin:0cm;
        margin-bottom:.0001pt;
        background:#FEF49C;
        font-size:9.0pt;
        font-family:Menlo;
        color:black;}
span.EmailStyle48
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
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:windowtext;}
span.EmailStyle52
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle55
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle56
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle57
        {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;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Greg,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">There is an exception in vitrage-graph, since the configuration for devstack-vitrage/cpu/0 was not found.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Please verify that your collectd_conf.yaml looks like that:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">collectd:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">- collectd_host: <b>devstack-vitrage/cpu/0<o:p></o:p></b></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">   type: <openstack resource type, e.g. nova.host><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">   name: <openstack resource name, e.g. host1><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">- collectd_host: …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If this doesn’t help, please send me the file and I’ll have a look.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ifat.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></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">"Waines, Greg" <Greg.Waines@windriver.com><br>
<b>Date: </b>Tuesday, 5 September 2017 at 15:38<br>
<b>To: </b>"Afek, Ifat (Nokia - IL/Kfar Sava)" <ifat.afek@nokia.com>, "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 - to - Vitrage setup issues<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"><span style="font-size:11.0pt">Hi Ifat,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I was able to fix and verify that my collectd configuration is correct and working with the help of volodomyr ... i.e. I have a much simpler collectd.conf with a threshold set on cpu-0 idle percentage and
 a simple python plugin to dump notifications to a file.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I added in the vitrage collectd plugin to this simple setup ... but still don’t see vitrage alarms displayed on the vitrage dashboard
</span><span style="font-size:11.0pt;font-family:"Apple Color Emoji"">☹</span><span style="font-size:11.0pt"> .</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have attached the vitrage-graph.log
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have attached my now much simpler collectd.conf file
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have also attached the only templates I have defined under /etc/vitrage/templates  ... wondering if I need updated templates for working with collectd notifications ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">let me know if you have any ideas,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Greg.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><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>Sunday, September 3, 2017 at 3:20 AM<br>
<b>To: </b>Greg Waines <Greg.Waines@windriver.com>, "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Cc: </b>"TAHHAN, MARYAM" <maryam.tahhan@intel.com><br>
<b>Subject: </b>Re: [openstack-dev] [vitrage] Collectd - to - Vitrage setup issues</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="font-size:11.0pt">Hi Greg,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">You should access the vitrage-graph.log using journalctl:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">sudo journalctl --no-pager --unit <a href="mailto:devstack@vitrage-graph.service">devstack@vitrage-graph.service</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ifat.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">"Waines, Greg" <Greg.Waines@windriver.com><br>
<b>Date: </b>Thursday, 31 August 2017 at 20:10<br>
<b>To: </b>"Afek, Ifat (Nokia - IL/Kfar Sava)" <ifat.afek@nokia.com>, "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 - to - Vitrage setup issues</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi Ifat,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I actually have ‘debug = true’ in /etc/vitrage/vitrage.conf .</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">However I don’t see vitrage-graph.log anywhere ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Where is it suppose to be ?   in /var/log/ ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Greg.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">root@devstack-vitrage:/# more /etc/vitrage/vitrage.conf</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt;text-indent:36.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[DEFAULT]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">debug = True</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">transport_url = rabbit://stackrabbit:admin@10.10.10.13:5672/</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[oslo_policy]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">policy_file = /etc/vitrage/policy.json</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[service_credentials]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">auth_url = http://10.10.10.13/identity</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">region_name = RegionOne</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">project_name = admin</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">password = admin</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">project_domain_id = default</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">user_domain_id = default</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">username = vitrage</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">auth_type = password</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[datasources]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">types = nova.host,nova.instance,nova.zone,static,static_physical,aodh,cinder.volume,neutron.network,neutron.port,doctor,collectd</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[keystone_authtoken]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">memcached_servers = 10.10.10.13:11211</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">signing_dir = /var/cache/vitrage</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">cafile = /opt/stack/data/ca-bundle.pem</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">project_domain_name = Default</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">project_name = admin</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">user_domain_name = Default</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">password = admin</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">username = vitrage</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">auth_url = http://10.10.10.13/identity</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">auth_type = password</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[api]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">pecan_debug = False</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">[collectd]</span><o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">config_file = /etc/vitrage/collectd_conf.yaml</span><o:p></o:p></p>
<p class="p2" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="p1" style="margin-left:108.0pt"><span class="s1">root@devstack-vitrage:/#</span><span class="apple-converted-space"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><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>Thursday, August 31, 2017 at 3:52 AM<br>
<b>To: </b>Greg Waines <Greg.Waines@windriver.com>, "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Cc: </b>"TAHHAN, MARYAM" <maryam.tahhan@intel.com><br>
<b>Subject: </b>Re: [openstack-dev] [vitrage] Collectd - to - Vitrage setup issues</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi Greg,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Vitrage listens to Collectd notifications, not statistics.
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Can you please turn on the debug option in /etc/vitrage/vitrage.conf (set “debug = true”), and send me the vitrage-graph.log?
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Ifat.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">"Waines, Greg" <Greg.Waines@windriver.com><br>
<b>Date: </b>Wednesday, 30 August 2017 at 22:17<br>
<b>To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Cc: </b>"Afek, Ifat (Nokia - IL/Kfar Sava)" <ifat.afek@nokia.com>, "TAHHAN, MARYAM" <maryam.tahhan@intel.com><br>
<b>Subject: </b>Re: [openstack-dev] [vitrage] Collectd - to - Vitrage setup issues</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi Ifat,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">thanks for the reply ... just got around to trying your suggestions.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><i><u><span style="font-size:11.0pt">This definitely helps</span></u></i></b><span style="font-size:11.0pt"> ... I no longer get any errors on re-starting collectd or vitrage-graph.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">i.e. it appears to load the collectd and updated vitrage conf files correctly now.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Now still don’t get any alarms in vitrage.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">HOWEVER I suspect it may be my collectd setup now.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">( WARNING I am NOT a collectd expert. ;) )</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I suspect that the vitrage-collectd plugin only sends collectd NOTIFICATIONS or THRESHOLD Events to vitrage.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">i.e. it likely does NOT send just statistic/status samples to vitrage.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I can see that collectd sampling is happening ... I have logfile and csv and rrd plugins running and samples are being captured in the specified directories / files.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I tried to set threshold for CPU based on an example I had found on web.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">See attached collectd.conf file .</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><i><span style="font-size:11.0pt">BUT really not sure if the threshold configuration in my collectd.conf is correct or working ... is there a way to confirm this ?   ( any collectd experts out there ? )</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><i><span style="font-size:11.0pt">OR</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><i><span style="font-size:11.0pt">Is there an example collectd.conf that has notifications or thresholds (whatever vitrage needs) setup for something basic like CPU ?</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Greg.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">"Afek, Ifat (Nokia - IL/Kfar Sava)" <ifat.afek@nokia.com><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Monday, August 28, 2017 at 9:42 AM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [vitrage] Collectd - to - Vitrage setup issues</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi Greg,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I’m less familiar with the collectd configuration and the events that it sends.
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Regarding the collectd_conf.yaml, it is definitely missing. You should add a /etc/vitrage/collectd_conf.yaml file that looks like that:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">collectd:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">- collectd_host: <collectd resource name></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">   type: <openstack resource type, e.g. nova.host></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">   name: <openstack resource name, e.g. host1></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">- collectd_host: …</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">This file maps a Collectd resource to the corresponding resource in OpenStack. Only resources that are listed in this file will have their alarms imported to Vitrage.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Next, you should add a reference to this file in /etc/vitrage/vitrage.conf:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">[collectd]</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">config_file = /etc/vitrage/collectd_conf.yaml</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Then you should restart vitrage-graph.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Let me know if it helped,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Ifat.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:72.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">"Waines, Greg" <Greg.Waines@windriver.com><br>
<b>Date: </b>Wednesday, 23 August 2017 at 21:19</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:90.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">I am trying to get collectd to report some alarms to vitrage in a devstack setup,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-family:"Times New Roman""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">I am using a devstack created on a late version of ocata.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">And my devstack with vitrage appears to be working ok otherwise;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">e.g.  I can create VMs, and raise fake alarms using “vitrage event post -type=compute.host.down ...” or with “aodh alarm create ... resource_id=instance-uuid” ... and
 they get reported fine in vitrage.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">UNFORTUNATELY not seeing anything in vitrage from collectd, and</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">                          don’t believe I’m seeing anything even from collectd, for example from the syslog output plugin.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">I’ve attached the following files:   ( not sure if these get distributed on mailing list )</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">/etc/collectd/collectd.conf       </span><b><i><span style="font-size:11.0pt;font-family:Wingdings;color:red">ß</span></i></b><b><i><span style="font-size:11.0pt;color:red"> do
 these look ok ?</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">/etc/vitrage/vitrage.conf          </span><b><i><span style="font-size:11.0pt;font-family:Wingdings;color:red">ß</span></i></b><b><i><span style="font-size:11.0pt;color:red"> do
 these look ok ?</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">/var/log/syslog
                 ... around the time when I updated collectd.conf and vitrage.conf and restarted collectd and vitrage-graph</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New";color:black">o</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">    </span><span style="font-size:11.0pt;color:black">QUESTIONS </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:180.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings;color:black">§</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">  </span><span style="font-size:11.0pt;color:black">NOTE
 THE FOLLOWING ERRORS IN THE SYSLOG FILE ... </span><b><i><span style="font-size:11.0pt;color:red">where do I get the collectd_conf.yaml file from ?  Can’t see it in the devstack files for vitrage.</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.039 25962 ERROR vitrage.utils.file [-] File doesn't exist: /etc/vitrage/collectd_conf.yaml.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver [-] failed in init 'NoneType' object has no attribute '__getitem__' : TypeError: 'NoneType' object has no attribute '__getitem__'</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver Traceback (most recent call last):</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver   File "/opt/stack/vitrage/vitrage/datasources/collectd/driver.py", line 65, in _configuration_mapping</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver     collectd_config_elements = collectd_config[COLLECTD_DATASOURCE]</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver TypeError: 'NoneType' object has no attribute '__getitem__'</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:31 localhost vitrage-graph[25962]: 2017-08-23 14:09:31.040 25962 ERROR vitrage.datasources.collectd.driver</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:180.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings;color:black">§</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">  </span><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:180.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings;color:red">§</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">  </span><span style="font-size:11.0pt;color:black">IT
 DOESN”T SEEM LIKE collectd is actually getting any events anyways ... </span><b><i><span style="font-size:11.0pt;color:red">shouldn’t I see some collectd events being reported in /var/log/syslog from some of the monitoring plugins that are loaded ?</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">gregs-air:collectd-info
 gregwaines$ fgrep "localhost collectd" syslog</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 13:56:07 localhost collectd[23267]: supervised by systemd, will signal readyness</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 13:56:07 localhost collectd[23267]: Initialization complete, entering read-loop.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 13:56:07 localhost collectd[23267]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:05 localhost collectd[23267]: Exiting normally.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:05 localhost collectd[23267]: collectd: Stopping 5 read threads.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:05 localhost collectd[23267]: rrdtool plugin: Shutting down the queue thread.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:05 localhost collectd[23267]: collectd: Stopping 5 write threads.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:07 localhost collectd[25824]: supervised by systemd, will signal readyness</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:07 localhost collectd[25824]: Initialization complete, entering read-loop.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">Aug 23
 14:09:07 localhost collectd[25824]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:216.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">/etc/vitrage/templates/host_down_scenarios.yaml</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:black">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:black">         </span><span style="font-size:11.0pt;color:black">/etc/vitrage/templates/host_high_cpu_load_scenarios.yaml</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New";color:red">o</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">    </span><b><i><span style="font-size:11.0pt;color:red">Am
 I suppose to have some templates that are specific to the collectd events/alarms that are being reported to vitrage ?</span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">Any other suggestions on things to look at in order to understand what’s wrong ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black">Greg.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
</body>
</html>