Hi Shekher; 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.
Cheers, - Peter pooshgul wrote: > Hi Bee, > > Thanks for the reply. > > I tried your suggestion but it doesn't seem to work. > > I get the following error when i restart the smokeping after making > the changes as you suggested. > > [EMAIL PROTECTED] ~]# service smokeping start > Starting smokeping: ERROR: alert 260highlatency > (/usr/local/smokeping/var/location/host/host1) is not defined > ### fping seems to report in 1 milliseconds > [FAILED] > > +260highlantency > > type = matcher > edgetrigger = yes > pattern = CheckLatency(l=>260,x=>10) > comment = Checking increase in Latency > > ++host1 > alerts = 260highlatency > > I don't know what is wrong and where. > > Thanks and regards > Shekher > ______________________________________________________________________________________________________________________ > > Hi Shekher, > > You can define different checkLatency alert > > +100highlantency > > type = matcher > edgetrigger = yes > pattern = CheckLatency(l=>100,x=10) > > +300highlantency > > type = matcher > edgetrigger = yes > pattern = CheckLatency(l=>300,x=10) > > > Apply the latency alert to the host that you want. > > +host1 > alert=300highlatency > > +host2 > alert=100highlatency > > regards, > Bee Hock. > > ----- Original Message ----- > From: pooshgul > To: [email protected] > <mailto:[email protected]> > Subject: [smokeping-users] CheckLatency matcher > Date: Thu, 29 Mar 2007 04:25:17 +0530 > > Hi, > > > > I am trying to use CheckLatency matcher in Smokeping. It works > fine if I have all the sites with approximately same latency. > > > > 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. > > > > Thanks for help in advance. > > > > Best regards, > > Shekher > > > _______________________________________________ > smokeping-users mailing list > [email protected] > <mailto:[email protected]> > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > <https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users> > > ------------------------------------------------------------------------ > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
