[smokeping-users] Alerts and Email Issues

Jim Liu Jim.Liu at fadv.com
Mon Aug 9 15:39:19 CEST 2010


I am using smokeping 2.3.6 on Ubuntu 10.04.  I have a couple of issues
with alerts and sending mail.   Below are the logs and configuration
where the debug has no match for target but the message log shows active
for someloss alert on the test host box. I do receive a someloss alert
email through sendmail relaying through my exchange server when I
disconnect that host.  Any help on what I can look at would be
appreciated.

 

Smokeping --debug

Calling RRDs::update(/var/lib/smokeping/Host/ukhypervp027.rrd --template
uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9
:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:p
ing20
1281014525:U:0:1.5141000000e-01:1.5093000000e-01:1.5098000000e-01:1.5109
000000e-01:1.5112000000e-01:1.5117000000e-01:1.5117000000e-01:1.51220000
00e-01:1.5130000000e-01:1.5138000000e-01:1.5141000000e-01:1.5141000000e-
01:1.5144000000e-01:1.5169000000e-01:1.5172000000e-01:1.5186000000e-01:1
.5187000000e-01:1.5188000000e-01:1.5208000000e-01:1.5221000000e-01:1.529
0000000e-01)

Alert "bigloss": no match for target
/var/lib/smokeping/Host/ukhypervp027

Alert "someloss": no match for target
/var/lib/smokeping/Host/ukhypervp027

Alert "startloss": no match for target
/var/lib/smokeping/Host/ukhypervp027

Alert "rttdetect": no match for target
/var/lib/smokeping/Host/ukhypervp027

Alert "hostdown": no match for target
/var/lib/smokeping/Host/ukhypervp027

Alert "lossdetect": no match for target
/var/lib/smokeping/Host/ukhypervp027

 

/var/log/Messages

Aug  4 02:16:06 vmubuntu smokeping[1691]: Starting syslog logging

Aug  4 02:16:06 vmubuntu smokeping[1696]: Smokeping version 2.003006
successfully launched.

Aug  4 02:16:06 vmubuntu smokeping[1696]: Not entering multiprocess mode
for just a single probe.

Aug  4 02:16:06 vmubuntu smokeping[1696]: FPing: probing 7 targets with
step 300 s and offset 42 s.

Aug  4 03:01:01 vmubuntu smokeping[1696]: Alert someloss is active for
Host.ukhypervp027

Aug  4 03:06:02 vmubuntu smokeping[1696]: Alert someloss is active for
Host.ukhypervp027

Aug  4 03:11:02 vmubuntu smokeping[1696]: Alert someloss is active for
Host.ukhypervp027

Aug  4 03:23:38 vmubuntu smokeping[2954]: Starting syslog logging

Aug  4 04:47:03 vmubuntu smokeping[1696]: got TERM signal, terminating.

Aug  4 04:47:04 vmubuntu smokeping[3459]: Starting syslog logging

Aug  4 04:47:04 vmubuntu smokeping[3463]: Smokeping version 2.003006
successfully launched.

Aug  4 04:47:04 vmubuntu smokeping[3463]: Not entering multiprocess mode
for just a single probe.

Aug  4 04:47:04 vmubuntu smokeping[3463]: FPing: probing 7 targets with
step 300 s and offset 95 s.

 

 

Alerts

+bigloss

type = loss

# in percent

pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%

comment = suddenly there is packet loss

+someloss

type = loss

# in percent

pattern = >0%,*12*,>0%,*12*,>0%

comment = loss 3 times  in a row

+startloss

type = loss

# in percent

pattern = ==S,>0%,>0%,>0%

comment = loss at startup

+rttdetect

type = rtt

# in milli seconds

pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100

comment = routing messed up again ?

 

Targets

++ukhypervp027

menu = ukhypervp027

title = ukhypervp027

host = IP address of host

alerts = bigloss,someloss,startloss,rttdetect,hostdown,lossdetect

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100809/6faa996b/attachment.htm 


More information about the smokeping-users mailing list