<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Shekher;<br>
<br>
You have a typo error in the alert definition... you named the alert
'260highlantency' (note the extra 'n' in 'latency') but used
'260highlatency' for the alert on the host.<br>
<br>
Cheers,<br>
- Peter<br>
<br>
pooshgul wrote:
<blockquote
cite="midebfe512a0703291145j24ee7840k6c07743246fb4090@mail.gmail.com"
type="cite">
<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>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</body>
</html>