<div>Hi Bee,<br><br>Thanks for the reply.<br><br>I tried your suggestion but it doesn't seem to work.<br><br>I get the following error when i restart the smokeping after making the changes as you suggested.<br><br>[root@test
~]# service smokeping start<br>Starting smokeping: ERROR: alert 260highlatency (/usr/local/smokeping/var/location/host/host1) is not defined<br>### fping seems to report in 1 milliseconds<br> [FAILED]
<br><br>+260highlantency<br><br>type = matcher<br>edgetrigger = yes<br>pattern = CheckLatency(l=>260,x=>10)<br>comment = Checking increase in Latency<br><br>++host1<br>alerts = 260highlatency<br><br>I don't know what is wrong and where.
<br><br>Thanks and regards<br>Shekher<br>______________________________________________________________________________________________________________________<br><br>Hi <span style="color: black;">Shekher,</span></div>
<p><span style="color: black;">You can define different checkLatency
alert</span></p>
<p><span style="color: black;">+100highlantency</span></p>
<p><span style="color: black;">type = matcher<br>edgetrigger = yes<br>pattern =
CheckLatency(l=>100,x=10)</span><span style="color: black;"></span></p><span style="color: black;">
<p><span style="color: black;">+300highlantency</span></p>
<p><span style="color: black;">type = matcher<br>edgetrigger = yes<br>pattern =
CheckLatency(l=>300,x=10)<br></span></p></span>
<div> </div>
<div>Apply the latency alert to the host that you want.</div>
<div> </div>
<div>+host1</div>
<div>alert=300highlatency</div>
<div> </div>
<div>+host2</div>
<div>alert=100highlatency</div>
<div> </div>
<div>regards,<br> Bee Hock.<br><br></div>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">-----
Original Message -----<br>From: pooshgul <br>To:
<a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>Subject: [smokeping-users] CheckLatency
matcher<br>Date: Thu, 29 Mar 2007 04:25:17 +0530<br><br>
<p class="MsoPlainText">Hi,</p>
<p class="MsoPlainText"><span style="color: black;"></span> </p>
<p class="MsoPlainText"><span style="color: black;">I am trying to use CheckLatency
matcher in Smokeping. It works fine if I have all the sites with approximately
same latency. </span></p>
<p class="MsoPlainText"><span style="color: black;"></span> </p>
<p class="MsoPlainText"><span style="color: black;">My question is how can I use
this matcher if I have sites with different latencies for example few sites with
100ms latency and few with 300ms? I tried to go through the man pages and
googling for this but couldn't find any useful info.</span></p>
<p class="MsoPlainText"><span style="color: black;"></span> </p>
<p class="MsoPlainText"><span style="color: black;">Thanks for help in
advance.</span></p>
<p class="MsoPlainText"><span style="color: black;"></span> </p>
<p class="MsoPlainText"><span style="color: black;">Best regards,</span></p>
<p class="MsoPlainText"><span style="color: black;">Shekher</span></p><br>_______________________________________________<br>smokeping-users
mailing
list<br><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
</a></blockquote>