<!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">>> 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>
>> </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%,>20%,>20%,>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%,>60%,>60%,>60%<br>
comment = Enlace con Perdidas de Paquetes Severa</font><br>
<font face="Arial">priority = 1<br>
<br>
>> </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. Not higher, not lower ... but exactly
equal to 50.<br>
=>50 means equal to, or greater than 50. IE - has to be 50 or higher.<br>
=<50 means equal to, or less than 50. IE - has to be 50 or lower.<br>
>50 means greater than 50. IE - It has to be 51 or higher ...
equaling exactly 50 won't count.<br>
<50 means less than 50. IE - It has to be 49 or lower ... equaling
exactly 50 won't count.<br>
<br>
>> </font><font face="Arial"> I see a
priority and i set the priority and i get a error message when i try
to restart smokeping.<br>
<br>
I'm not really sure what you mean by this? 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%,>20%,>20%,>20%<br>
comment = Enlace con Perdidas de Paquetes Repentina<br>
<br>
+packetloss_critical<br>
type = loss<br>
# in percent<br>
pattern = ==0%,==0%,>60%,>60%,>60%<br>
comment = Enlace con Perdidas de Paquetes Severa<br>
<br>
+packetloss_ok<br>
type = loss<br>
# in percent<br>
pattern = >100%,>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 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>