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

List:       opennms-discuss
Subject:    Re: [opennms-discuss] Expression-based Thresholds
From:       Samuel Mutel <smutel.monitoring () gmail ! com>
Date:       2014-10-16 14:06:58
Message-ID: CAF3Y21spZ+rr7sOsua1Aao694iR=y8VtoqPAeoKcdffOKyPeng () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

Thanks. And if I want that the test is done only if ifHighSpeed is
available for the equipement ?

Regards,
Samuel Mutel.

2014-10-16 14:52 GMT+02:00 Seibold, Michael <Michael.Seibold@gkvi.de>:

>  Hi Samuel,
>
>
>
> you could use ifspeed, but there is a bug for ifspeed >= 10GBit/s. Should
> be fixed in 1.12.10 which should be in stable soon.
>
>
>
> -Michael
>
>
>
>
>
> *Von:* Samuel Mutel [mailto:smutel.monitoring@gmail.com]
> *Gesendet:* Donnerstag, 16. Oktober 2014 14:09
> *An:* General
> *Betreff:* [opennms-discuss] Expression-based Thresholds
>
>
>
> Hello,
>
> I have defined the expression-based thresholds below :
>
> <expression type="high" ds-type="if" value="90.0" rearm="75.0"
>             trigger="5" ds-label="snmpifalias"
>             triggeredUEI="
> uei.opennms.org/threshold/highIfOutBandwidth/normal"
>             rearmedUEI="
> uei.opennms.org/threshold/highIfOutBandwidthRearmed"
>             filterOperator="or" expression="ifOutOctets * 8 / 1000000 /
> ifHighSpeed * 100">
>             <resource-filter
> field="ifHighSpeed">^[1-9]+[0-9]*$</resource-filter>
> </expression>
>
> For some equipement ifHighSpeed is not available so I have this error
> message in log : can't find value of ifHighSpeed for resource.
>
> How can I change resource-filter field to avoid these messages.
>
> Thanks in advance.
>
> Regards,
>
> Samuel Mutel.
>
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> 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
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hello,<br><br>Thanks. And if I want that the test is done \
only if ifHighSpeed is available for the equipement \
?<br><br></div>Regards,<br></div>Samuel Mutel.<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2014-10-16 14:52 GMT+02:00 Seibold, \
Michael <span dir="ltr">&lt;<a href="mailto:Michael.Seibold@gkvi.de" \
target="_blank">Michael.Seibold@gkvi.de</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Hi \
Samuel,<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black" \
lang="EN-US">you could use ifspeed, but there is a bug for ifspeed &gt;= 10GBit/s. \
Should be fixed in 1.12.10 which should be in stable soon.<u></u><u></u></span></p> \
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black" \
lang="EN-US"><u></u>  <u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">-Michael</span><span \
style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black"><u></u><u></u></span></p>
 <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><u></u> \
<u></u></span></p> <p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
Samuel Mutel [mailto:<a href="mailto:smutel.monitoring@gmail.com" \
target="_blank">smutel.monitoring@gmail.com</a>] <br>
<b>Gesendet:</b> Donnerstag, 16. Oktober 2014 14:09<br>
<b>An:</b> General<br>
<b>Betreff:</b> [opennms-discuss] Expression-based \
Thresholds<u></u><u></u></span></p><div><div class="h5"> <p class="MsoNormal"><u></u> \
<u></u></p> <div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have defined the expression-based \
thresholds below :<br> <br>
&lt;expression type=&quot;high&quot; ds-type=&quot;if&quot; value=&quot;90.0&quot; \
                rearm=&quot;75.0&quot;<br>
                       trigger=&quot;5&quot; ds-label=&quot;snmpifalias&quot;<br>
                       triggeredUEI=&quot;<a \
href="http://uei.opennms.org/threshold/highIfOutBandwidth/normal" \
target="_blank">uei.opennms.org/threshold/highIfOutBandwidth/normal</a>&quot;<br>  \
rearmedUEI=&quot;<a href="http://uei.opennms.org/threshold/highIfOutBandwidthRearmed" \
                target="_blank">uei.opennms.org/threshold/highIfOutBandwidthRearmed</a>&quot;<br>
                
                       filterOperator=&quot;or&quot; expression=&quot;ifOutOctets * 8 \
                / 1000000 / ifHighSpeed * 100&quot;&gt;<br>
                       &lt;resource-filter \
field=&quot;ifHighSpeed&quot;&gt;^[1-9]+[0-9]*$&lt;/resource-filter&gt;<br> \
&lt;/expression&gt;<u></u><u></u></p> </div>
<p class="MsoNormal" style="margin-bottom:12.0pt">For some equipement ifHighSpeed is \
not available so I have this error message in log : can&#39;t find value of \
ifHighSpeed for resource.<u></u><u></u></p> </div>
<p class="MsoNormal" style="margin-bottom:12.0pt">How can I change resource-filter \
field to avoid these messages.<u></u><u></u></p> </div>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
</div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">Samuel Mutel.<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u>  <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>------------------------------------------------------------------------------<br>
 Comprehensive Server Monitoring with Site24x7.<br>
Monitor 10 servers for $9/Month.<br>
Get alerted through email, SMS, voice calls or mobile push notifications.<br>
Take corrective actions from your mobile device.<br>
<a href="http://p.sf.net/sfu/Zoho" \
target="_blank">http://p.sf.net/sfu/Zoho</a><br>_______________________________________________<br>
 Please read the OpenNMS Mailing List FAQ:<br>
<a href="http://www.opennms.org/index.php/Mailing_List_FAQ" \
target="_blank">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br> <br>
opennms-discuss mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of this \
page:<br> <a href="https://lists.sourceforge.net/lists/listinfo/opennms-discuss" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/opennms-discuss</a><br></blockquote></div><br></div>




------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho

_______________________________________________
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