[smokeping-users] I cant get ping to work with big packets

Jon Bendtsen jbendtsen at laerdal.dk
Thu Jul 24 12:49:13 CEST 2008


On 23/07/2008, at 15.09, Eric Brander wrote:

> On Wed, Jul 23, 2008 at 5:16 AM, Jon Bendtsen <jbendtsen at laerdal.dk>  
> wrote:
>>>
>>> *** Probes ***
>>>
>>> + FPing
>>> binary = /usr/bin/fping
>>>
>>> ++ping1024
>>> packetsize = 1024
>>
>> That did not work.
>>
>> now it says "ERROR: /etc/smokeping/config, line 177: probe FPing
>> missing from the Probes section"
>>
>>
>>
>> JonB
>>
>
>
> Here's what I use and it works great:
>
> + FPing
> binary = /usr/sbin/fping
> offset = random
>
> ++ FPing1min
> step = 60
> packetsize = 1000
>
> ++ FPing5min
> step = 300
> packetsize = 1000

Great, that didnt work either.

Starting smokeping: ERROR: /etc/smokeping/config, line 185: probe  
FPing missing from the Probes section

I will post the either config except for most of the targets.

i use 2.0.9-2 on debian stable


# Note that all IP addresses in this file are false, to prevent some
# machine falling under a deadly DOS storm because all users keep
# the same addresses in their config.

*** General ***

################################################
# DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING
# BETWEEN THESE MARKS!
################################################
sendmail = /usr/sbin/sendmail
imgcache = /var/www/smokeping
imgurl   = ../smokeping
datadir  = /var/lib/smokeping
piddir   = /var/run/smokeping
smokemail = /etc/smokeping/smokemail
tmail    = /etc/smokeping/tmail
################################################
# END OF DON'T TOUCH SECTION
################################################


# Please edit this to suit your installation
owner    = Jon Bendtsen at Laerdal Sophus
contact  = jbendtsen at laerdal.dk
cgiurl   = http://dksrv003.laerdal.global/cgi-bin/smokeping.cgi
mailhost = dksmtp.laerdal.global
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

*** Alerts ***
to = root at laerdal.dk
from = smokealert at laerdal.dk

+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 mesed up again ?

*** Database ***

step     = 300
pings    = 20

# consfn mrhb steps total

AVERAGE  0.5   1  1008
AVERAGE  0.5  12  4320
     MIN  0.5  12  4320
     MAX  0.5  12  4320
AVERAGE  0.5 144   720
     MAX  0.5 144   720
     MIN  0.5 144   720

*** Presentation ***

template = /etc/smokeping/basepage.html

+ overview

width = 600
height = 50
range = 10h

+ detail

width = 600
height = 200
unison_tolerance = 2

"Last 3 Hours"    3h
"Last 30 Hours"   30h
"Last 10 Days"    10d
"Last 400 Days"   400d

*** Probes ***

+ FPing
binary = /usr/bin/fping

#+ FPing1024
#binary = /usr/bin/fping
#packetsize = 1024
#
#+ FPing2048
#binary = /usr/bin/fping
#packetsize = 2048
#
#+ FPing4096
#binary = /usr/bin/fping
#packetsize = 4096
#
#+ FPing8192
#binary = /usr/bin/fping
#packetsize = 8192
#
#+ FPing16384
#binary = /usr/bin/fping
#packetsize = 16384
#
#+ FPing32768
#binary = /usr/bin/fping
#packetsize = 32768

+SSH
         binary = /usr/bin/ssh-keyscan # mandatory
         forks = 5
         offset = 50%
         step = 300
         timeout = 15

         # The following variables can be overridden in each target  
section
         keytype = dsa
         pings = 5

+EchoPingSmtp

binary = /usr/bin/echoping
forks = 5
offset = 50%
step = 300

# The following variables can be overridden in each target section
#extraopts = -some-letter-the-author-did-not-think-of
ipversion = 4
pings = 5
priority = 6
timeout = 1
waittime = 1

+EchoPingHttp

binary = /usr/bin/echoping
forks = 5
offset = 50%
step = 300

# The following variables can be overridden in each target section
#extraopts = -some-letter-the-author-did-not-think-of
ignore_cache = yes
ipversion = 4
pings = 5
port = 80
priority = 6
revalidate_data = no
timeout = 1
url = /
waittime = 1




*** Targets ***

probe = FPing

## You have to edit and uncomment all what you want below this.
# Please, refer to smokeping_config man page for more info
# The given adresses aren't real to avoid DoS.

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of Laerdal Sophus

+ Local

menu = Local
title = Local Network

++ LocalMachine

menu = Local Machine
title = This own machine
host = localhost



+ jon
menu = jon
title = Jons private hosts

++ jbit
menu = jbit
title = jbit.dk
host = jbit.dk

++ jonhjemme
menu = hjemme
title = Jons hjemme ip
host = 77.75.164.169

#++ jon1024
#menu = 1024
#probe = FPing1024
#title = 1024
#host = 77.75.164.169
#++ jon2048
#menu = 2048
#probe = FPing2048
#title = 2048
#host = 77.75.164.169
#++ jon4096
#menu = 4096
#probe = FPing4096
#title = 4096
#host = 77.75.164.169
#++ jon8192
#menu = 8192
#probe = FPing8192
#title = 8192
#host = 77.75.164.169
#++ jon16384
#menu = 16384
#probe = FPing16384
#title = 16384
#host = 77.75.164.169
#++ jon32768
#menu = 32768
#probe = FPing32768
#title = 32768
#host = 77.75.164.169




More information about the smokeping-users mailing list