[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    Re: [opennms-discuss] opennms-discuss Digest, Vol 117, Issue 38
From:       Mike Ma <Mike.Ma () concordia ! ca>
Date:       2016-01-22 16:28:40
Message-ID: FCA26125FE68F84BB525548C50607286015BC47354 () UMS-SGWMBS3 ! concordia ! ca
[Download RAW message or body]

Hi Alejandro,

Thank you very much for your reply.

Sorry I didn't mention about the threshold-confirguration file.
I did put threshold group in the file threshold-configuraiton.xml as:

 <package name="Avtech">
        <filter>IPADDR != '0.0.0.0' &amp; nodeSysOID LIKE \
'.1.3.6.1.4.1.20916.1.9.1.%'</filter>  <include-range begin="10.100.1.1" \
                end="10.225.254.254"/>
        <include-range begin="::1" end="ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"/>
        <service name="SNMP" interval="300000" user-defined="false" status="on">
        <parameter key="thresholding-group" value="Avtech"/>
        </service>
        </package>

Also checked Thresholds for collected and for Poller.
The collectd-configuration.xml file was same. I don't need change.
The file of poller-configuration.xml was:
   <service name="SNMP" interval="300000" user-defined="false" status="on">
<parameter key="oid"  value=".1.3.6.1.2.1.1.2.0" />
I tried to modify as:


<service name="SNMP" interval="300000" user-defined="false" status="on">
    <parameter key="oid" value= ".1.3.6.1.4.1.20916.1.9.1" />
    <parameter key="retry" value="1"/>
    <parameter key="timeout" value="3000"/>
    <parameter key="rrd-repository" value="/opt/opennms/share/rrd/snmp"/>
    <parameter key="rrd-base-name" value="snmp"/>
    <parameter key="ds-name" value="snmp"/>
    <parameter key="thresholding-enabled" value="true"/>
    </service>
As soon as I restarted Opennms, all of SNMP interfaces are down. I couldn't change.
I put high/low threshold very close. For 12 sensors, I believe the threshold must be \
reached. I'm very appreciated for suggestions.

Thanks.
Mike
> The association between the threshold group (which contains the set of thresholds \
> like the above one) and the nodes on which the thresholds will be applied is \
> specified on threshd-configuraiton.xml: 
> http://www.opennms.org/wiki/Thresholding_Tutorial \
> <http://www.opennms.org/wiki/Thresholding_Tutorial> 
> You have to share that file in order to understand how the thresholds have been \
> configured. 
> Alejandro Galue


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas","serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi \
</span><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Alejandro,<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Thank you very much \
for your reply.<br> <br>
<span style="color:#1F497D"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Sorry I didn't mention \
about the threshold-confirguration file. <span \
style="color:#1F497D"><o:p></o:p></span></span></p> <p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I did put threshold \
group in the file threshold-configuraiton.xml as:<br> &nbsp; <br>
&nbsp;&lt;package name=&quot;Avtech&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter&gt;IPADDR != '0.0.0.0' \
&amp;amp; nodeSysOID LIKE '.1.3.6.1.4.1.20916.1.9.1.%'&lt;/filter&gt;<br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include-range \
begin=&quot;10.100.1.1&quot; end=&quot;10.225.254.254&quot;/&gt;<br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include-range begin=&quot;::1&quot; \
end=&quot;ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff&quot;/&gt;<br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name=&quot;SNMP&quot; \
interval=&quot;300000&quot; user-defined=&quot;false&quot; \
status=&quot;on&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;parameter key=&quot;thresholding-group&quot; value=&quot;Avtech&quot;/&gt;<br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/service&gt;<br> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/package&gt;<br> <br>
<span style="color:#1F497D"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Also checked \
Thresholds for collected and for Poller. <br>
The collectd-configuration.xml file was same. I don't need change.<br>
The file of poller-configuration.xml was:<o:p></o:p></span></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:13.5pt">&nbsp;&nbsp; &lt;service name=&quot;SNMP&quot; \
interval=&quot;300000&quot; user-defined=&quot;false&quot; \
status=&quot;on&quot;&gt;</span></b><span \
style="color:#1F497D"><o:p></o:p></span></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:13.5pt">&lt;parameter key=&quot;oid&quot;&nbsp; \
value=&quot;.1.3.6.1.2.1.1.2.0&quot; /&gt;</span></b><span \
style="color:#1F497D"><o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I tried to modify \
as:<br> <br>
<o:p></o:p></span></p>
<pre><b><span style="font-size:13.5pt;font-family:&quot;Times New \
Roman&quot;,&quot;serif&quot;">&lt;service name=&quot;SNMP&quot; \
interval=&quot;300000&quot; user-defined=&quot;false&quot; \
status=&quot;on&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;parameter key=&quot;oid&quot; \
value= &quot;.1.3.6.1.4.1.20916.1.9.1&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;parameter \
key=&quot;retry&quot; value=&quot;1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;parameter \
key=&quot;timeout&quot; value=&quot;3000&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;parameter key=&quot;rrd-repository&quot; \
value=&quot;/opt/opennms/share/rrd/snmp&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;parameter key=&quot;rrd-base-name&quot; \
value=&quot;snmp&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;parameter \
key=&quot;ds-name&quot; value=&quot;snmp&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;parameter key=&quot;thresholding-enabled&quot; \
value=&quot;true&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;/service&gt;</span></b><o:p></o:p></pre> <p class="MsoNormal" \
style="margin-bottom:12.0pt"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">As soon as I restarted \
Opennms, all of SNMP interfaces are down. I couldn't change.<br> I put high/low \
threshold very close. For 12 sensors, <span style="color:#1F497D"> I believe the \
threshold must be reached.<o:p></o:p></span></span></p> <p class="MsoNormal" \
style="margin-bottom:12.0pt"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I'm very appreciated \
for suggestions.<br> <br>
Thanks.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike
 <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&gt; The association \
between the threshold group (which contains the set of thresholds like the above one) \
and the nodes on which the thresholds will be applied  is specified on \
threshd-configuraiton.xml:<br> &gt; <br>
&gt; <a href="http://www.opennms.org/wiki/Thresholding_Tutorial">http://www.opennms.org/wiki/Thresholding_Tutorial</a> \
&lt;<a href="http://www.opennms.org/wiki/Thresholding_Tutorial">http://www.opennms.org/wiki/Thresholding_Tutorial</a>&gt;<br>
 &gt; <br>
&gt; You have to share that file in order to understand how the thresholds have been \
configured.<br> &gt; <br>
&gt; Alejandro Galue<o:p></o:p></span></p>
</div>
</div>
</body>
</html>


[Attachment #4 (--===============8677142569551968780==)]
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic