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

List:       opennms-discuss
Subject:    [opennms-discuss] hrStorage threshold issues
From:       Madan Prabhu <madan.prabhu.d () gmail ! com>
Date:       2016-01-27 11:58:49
Message-ID: CA+gWUnTTNY4NAbcMDghXhP4ZkHTLPPfQ_zxM3KEUDKuDw6Mkew () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear Folks,

Configured the hrStorage threshold as follows in thresholds.xml,
threshd-configuration.xml & collectd-configuration.xml;

thresholds.xml
 <group name="hrstorage" rrdRepository="/opt/opennms/share/rrd/snmp/">
        <expression description="Disk is going to run out of space"
            type="high" ds-type="hrStorageIndex" value="87.0"
            rearm="86.0" trigger="1" ds-label="hrStorageDescr"
            triggeredUEI="uei.opennms.org/threshold/diskHigh"
            rearmedUEI="uei.opennms.org/threshold/diskHighRearmed"
            filterOperator="or" expression="hrStorageUsed / hrStorageSize *
100.0"/>
</group>

threshd-configuration.xml
        <package name="hrstorage">
                <filter>IPADDR != '0.0.0.0' &amp; (nodeSysOID LIKE
'.1.3.6.1.4.1.311.%' | nodeSysOID LIKE
'.1.3.6.1.4.1.2.3.1.2.1.1.3.%')</filter>
                <include-range begin="1.1.1.1" end="254.254.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="hrstorage"/>
                </service>
        </package>

collectd-configuration.xml
 <service name="SNMP" interval="300000" user-defined="false" status="on">
            <parameter key="collection" value="default"/>
            <parameter key="thresholding-enabled" value="true"/>
 </service>

hrStorage data are collected and showed in the resource graphs section
perfectly. plz check the debug log through NRTG window as follows;

{"measurement_sets":[[{"metricId":".1.3.6.1.2.1.25.2.3.1.6.5","metricType":"int32","ne \
tInterface":"10.24.222.133","nodeId":1,"service":"SNMP","timeStamp":1453892645699,"onm \
sLogicMetricId":"node[1].hrStorageIndex[home].hrStorageUsed","value":28937994},{"metri \
cId":".1.3.6.1.2.1.25.2.3.1.4.5","metricType":"int32","netInterface":"10.24.222.133"," \
nodeId":1,"service":"SNMP","timeStamp":1453892645699,"onmsLogicMetricId":"node[1].hrSt \
orageIndex[home].hrStorageAllocUnits","value":4096},{"metricId":".1.3.6.1.2.1.25.2.3.1 \
.5.5","metricType":"int32","netInterface":"10.24.222.133","nodeId":1,"service":"SNMP", \
"timeStamp":1453892645699,"onmsLogicMetricId":"node[1].hrStorageIndex[home].hrStorageSize","value":32663505}]]}


The configured threshold are simulated by copying large files and checked
with the SNMPwalk and NRTG window shows live updated data which crosses the
configured threshold data. But the resulted events and corresponding
notification are not generated. Please help me to solve this issue. I'm
working on this problem from last 3 weeks.

-- 

*Thanks & Regards,*

D.Madan Prabhu
Contact me: 9861614948 [image: Google Talk/]madan.prabhu.d [image: Y!
messenger/]madan_prabhu

*By the power of truth, I, while living, have conquered the universe.*


[Attachment #5 (text/html)]

<div dir="ltr">Dear Folks,<div><br></div><div>Configured the hrStorage threshold as \
follows in  thresholds.xml, threshd-configuration.xml &amp; \
collectd-configuration.xml;</div><div><br></div><div>thresholds.xml<br></div><div><div> \
&lt;group name=&quot;hrstorage&quot; \
rrdRepository=&quot;/opt/opennms/share/rrd/snmp/&quot;&gt;</div><div>            \
&lt;expression description=&quot;Disk is going to run out of \
space&quot;<br></div><div>                  type=&quot;high&quot; \
ds-type=&quot;hrStorageIndex&quot; value=&quot;87.0&quot;</div><div>                  \
rearm=&quot;86.0&quot; trigger=&quot;1&quot; \
ds-label=&quot;hrStorageDescr&quot;</div><div>                  triggeredUEI=&quot;<a \
href="http://uei.opennms.org/threshold/diskHigh">uei.opennms.org/threshold/diskHigh</a>&quot;</div><div> \
rearmedUEI=&quot;<a href="http://uei.opennms.org/threshold/diskHighRearmed">uei.opennms.org/threshold/diskHighRearmed</a>&quot;</div><div> \
filterOperator=&quot;or&quot; expression=&quot;hrStorageUsed / hrStorageSize * \
100.0&quot;/&gt;</div><div>&lt;/group&gt;<br></div><div><br></div><div>threshd-configuration.xml<br></div><div><div> \
&lt;package name=&quot;hrstorage&quot;&gt;</div><div>                        \
&lt;filter&gt;IPADDR != &#39;0.0.0.0&#39; &amp;amp; (nodeSysOID LIKE \
&#39;.1.3.6.1.4.1.311.%&#39; | nodeSysOID LIKE \
&#39;.1.3.6.1.4.1.2.3.1.2.1.1.3.%&#39;)&lt;/filter&gt;</div><div>                     \
&lt;include-range begin=&quot;1.1.1.1&quot; \
end=&quot;254.254.254.254&quot;/&gt;</div><div>                        \
&lt;include-range begin=&quot;::1&quot; \
end=&quot;ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff&quot; \
/&gt;</div><div><br></div><div>                        &lt;service \
name=&quot;SNMP&quot; interval=&quot;300000&quot; user-defined=&quot;false&quot; \
status=&quot;on&quot;&gt;</div><div>                                    &lt;parameter \
key=&quot;thresholding-group&quot; value=&quot;hrstorage&quot;/&gt;</div><div>        \
&lt;/service&gt;</div><div>            \
&lt;/package&gt;</div></div><div><br></div><div>collectd-configuration.xml<br></div><div> \
&lt;service name=&quot;SNMP&quot; interval=&quot;300000&quot; \
user-defined=&quot;false&quot; status=&quot;on&quot;&gt;<br></div><div><div>          \
&lt;parameter key=&quot;collection&quot; value=&quot;default&quot;/&gt;</div><div>    \
&lt;parameter key=&quot;thresholding-enabled&quot; \
value=&quot;true&quot;/&gt;</div><div>  \
&lt;/service&gt;</div></div><div><br></div><div>hrStorage data are collected and \
showed in the resource graphs section perfectly. plz check the debug log through NRTG \
window as follows;</div><div>  </div><div><span \
style="color:rgb(0,0,0);font-family:&#39;Lucida \
Grande&#39;,Verdana,sans-serif;font-size:11.2px;line-height:14px">{&quot;measurement_s \
ets&quot;:[[{&quot;metricId&quot;:&quot;.1.3.6.1.2.1.25.2.3.1.6.5&quot;,&quot;metricTy \
pe&quot;:&quot;int32&quot;,&quot;netInterface&quot;:&quot;10.24.222.133&quot;,&quot;no \
deId&quot;:1,&quot;service&quot;:&quot;SNMP&quot;,&quot;timeStamp&quot;:1453892645699, \
&quot;onmsLogicMetricId&quot;:&quot;node[1].hrStorageIndex[home].hrStorageUsed&quot;,& \
quot;value&quot;:28937994},{&quot;metricId&quot;:&quot;.1.3.6.1.2.1.25.2.3.1.4.5&quot; \
,&quot;metricType&quot;:&quot;int32&quot;,&quot;netInterface&quot;:&quot;10.24.222.133 \
&quot;,&quot;nodeId&quot;:1,&quot;service&quot;:&quot;SNMP&quot;,&quot;timeStamp&quot; \
:1453892645699,&quot;onmsLogicMetricId&quot;:&quot;node[1].hrStorageIndex[home].hrStor \
ageAllocUnits&quot;,&quot;value&quot;:4096},{&quot;metricId&quot;:&quot;.1.3.6.1.2.1.2 \
5.2.3.1.5.5&quot;,&quot;metricType&quot;:&quot;int32&quot;,&quot;netInterface&quot;:&q \
uot;10.24.222.133&quot;,&quot;nodeId&quot;:1,&quot;service&quot;:&quot;SNMP&quot;,&quo \
t;timeStamp&quot;:1453892645699,&quot;onmsLogicMetricId&quot;:&quot;node[1].hrStorageI \
ndex[home].hrStorageSize&quot;,&quot;value&quot;:32663505}]]}</span><br></div><div><br></div><div>The \
configured threshold are simulated by copying large files and checked with the \
SNMPwalk and NRTG window shows live updated data which crosses the configured \
threshold data. But the resulted events and corresponding notification are not \
generated. Please help me to solve this issue. I&#39;m working on this problem from \
last 3 weeks.</div><div>  <br></div><div>--  <br></div><div \
class="gmail_signature"><p><span \
style="color:rgb(0,0,0);font-family:arial,sans-serif;font-weight:normal;font-size:13px"><span \
style="font-family:Verdana,Arial,Helvetica,sans-serif"><b><span \
style="color:rgb(51,102,255);font-size:medium;font-family:&#39;book \
antiqua&#39;,palatino">Thanks &amp; Regards,</span></b></span></span><span \
style="color:rgb(128,128,128);font-family:verdana,geneva;font-size:large">  \
</span></p><p><font color="#808080"><span \
style="color:rgb(0,0,0);font-family:verdana,geneva;font-size:large"><span \
style="color:rgb(128,128,128)">D</span><span style="color:rgb(128,128,128)">.Madan \
Prabhu</span></span><br></font><span style="color:gray">Contact me: \
</span>9861614948<span style="color:gray"> </span><img \
src="http://images.wisestamp.com/gtalk.png" alt="Google Talk/" style="padding: 0px \
3px 5px 0px; vertical-align: middle;" border="0">madan.prabhu.d  <img \
src="http://images.wisestamp.com/yahoo.png" alt="Y! messenger/" style="padding: 0px \
3px 5px 0px; vertical-align: middle;" border="0">madan_prabhu</p><p><span \
style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"><b>By \
the power of truth, I, while living, have conquered the \
universe.</b></span></p></div> </div></div>



------------------------------------------------------------------------------
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