<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">&gt;&gt; i received 2 alerts when i have 80% percent
of packet loss.<br>
<br>
Do you mean that you received both the alerts for 'packetloss_warning'
and 'pactketloss_critical' ?<br>
<br>
&gt;&gt; </font><font face="Arial"> What Can I do tha i can get only
one
notifications.<br>
<br>
You just need to set a priority for your different alerts.<br>
<br>
If you set packetloss_critical to priority = 1 and packetloss_warning
to priority = 2 then that should solve your problem.<br>
<br>
IE - When packetloss exceeds 60%, which is the trigger point for
packetloss_critical, it will only send that particular alert [and not
packetloss_warning], because it's got a higher priority.<br>
<br>
That's very simple to implement ...<br>
</font><font face="Arial">`<br>
+packetloss_warning<br>
type = loss<br>
# in percent<br>
pattern = ==0%,==0%,&gt;20%,&gt;20%,&gt;20%<br>
comment = Enlace con Perdidas de Paquetes Repentina<br>
priority = 2<br>
<br>
+packetloss_critical<br>
type = loss<br>
# in percent<br>
pattern = ==0%,==0%,&gt;60%,&gt;60%,&gt;60%<br>
comment = Enlace con Perdidas de Paquetes Severa</font><br>
<font face="Arial">priority&nbsp; = 1<br>
<br>
&gt;&gt; </font><font face="Arial">Another question its how many
operators the pattern has
and what it is its meaneing?<br>
<br>
==50 means exactly equal to 50.&nbsp; Not higher, not lower ... but exactly
equal to 50.<br>
=&gt;50 means equal to, or greater than 50. IE - has to be 50 or higher.<br>
=&lt;50 means equal to, or less than 50.&nbsp; IE - has to be 50 or lower.<br>
&gt;50 means greater than 50. IE - It has to be 51 or higher ...
equaling exactly 50 won't count.<br>
&lt;50 means less than 50. IE - It has to be 49 or lower ... equaling
exactly 50 won't count.<br>
<br>
&gt;&gt; </font><font face="Arial"> I see a
priority and i set the priority and i get a error message&nbsp; when i try
to restart smokeping.<br>
<br>
I'm not really sure what you mean by this?&nbsp; What does the error message
say?<br>
</font><font face="Arial"><br>
</font>
<blockquote cite="mid:47FE3025.8030507@interlink.net.ve" type="cite"><br>
  <blockquote cite="mid:47F2E6AB.1020506@interlink.net.ve" type="cite"><font
 face="Arial">Hi Guys<br>
    <br>
Exactly i need help with the smokeping alerts. Exactly i want to make
somethin like nagios do with the services notifications
(warning,critical and ok) with the applications smokeping. If i put in
ths way<br>
    <br>
+packetloss_warning<br>
type = loss<br>
# in percent<br>
pattern = ==0%,==0%,&gt;20%,&gt;20%,&gt;20%<br>
comment = Enlace con Perdidas de Paquetes Repentina<br>
    <br>
+packetloss_critical<br>
type = loss<br>
# in percent<br>
pattern = ==0%,==0%,&gt;60%,&gt;60%,&gt;60%<br>
comment = Enlace con Perdidas de Paquetes Severa<br>
    <br>
+packetloss_ok<br>
type = loss<br>
# in percent<br>
pattern = &gt;100%,&gt;100%,==0%,==0%,==0%<br>
comment = Enlace Sin Perdidas de Paquetes<br>
    <br>
    <br>
i received 2 alerts when i have 80% percent of packet loss. I see a
priority and i set the priority and i get a error message&nbsp; when i try
to restart smokeping. What Can I do tha i can get only one
notifications. Another question its how many operators the pattern has
and what it is its meaneing?<br>
    <br>
Thank you for attention<br>
    <br>
Best Regards<br>
    <br>
Carlos Armas</font><br>
  </blockquote>
</blockquote>
<br>
</body>
</html>