[smokeping-users] Multiple probe configuration not working correctly.

Kelly Shutt kelly at websitesource.com
Wed Oct 17 03:11:19 CEST 2007


OK, so I can't figure out what's up with this.  Initially I had
smokeping working fine with just FPing setup; and then later added DNS
(dig) queries to the configuration.  Now the FPing queries aren't
working.  The config looks fine as far as I can tell and the CGI script
displays the menu items for both FPing and DNS; but only the DNS screens
are populating data, everything on the FPing screens shows NULL values. 
I've checked the processes in the server; and I see childs running for
both DNS and FPing.  Anyone have any ideas?  Am I just missing something
in the configuration maybe?

smokeping --version
2.002004

ps axuw | grep smokeping
102       4274  0.0  0.5  14464 10756 ?        S    20:07   0:00
/usr/bin/smokeping [DNS]
102       4278  0.0  0.5  14464 10756 ?        S    20:07   0:00
/usr/bin/smokeping [DNS]
root      4601  0.0  0.0   1676   484 pts/0    R+   20:07   0:00 grep
--colour=auto smokeping
102      27017  0.0  0.5  14464 10988 ?        Ss   Oct10   0:00
/usr/bin/perl -w /usr/bin/smokeping
102      27018  0.0  0.5  14464 11288 ?        S    Oct10   0:03
/usr/bin/smokeping [FPing]
102      27019  0.0  0.5  14464 11320 ?        S    Oct10   0:29
/usr/bin/smokeping [DNS]


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

*** General ***

owner     = Web Hosting Groups, Inc
contact   = admin at websitesource.com
mailhost  = localhost
sendmail  = /usr/sbin/sendmail
imgcache  = /var/lib/smokeping/.simg
imgurl    = ../.simg
datadir   = /var/lib/smokeping
piddir    = /var/lib/smokeping
cgiurl    = http://mon/cgi-bin/smokeping.pl
smokemail = /etc/smokemail.dist
# 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 = admin at websitesource.com
from = smokealert at websitesource.com

+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.template

+ 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/sbin/fping
hostinterval = 1.5
mininterval = 0.001
offset = 50%
packetsize = 5000
timeout = 1.5

+ DNS

binary = /usr/bin/dig
forks = 5
offset = 50%
timeout = 15
pings = 5
lookup = google.com

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of Web Hosting Groups, Inc. \
         Here you will learn all about the latency of our network.


+ network
menu = Network Latency
title = Network Latency (ICMP pings)

++ PLESK1
host = plesk1.websitesource.com
++ CP-WSS
host = cp.websitesource.net
++ ADMIN
host = admin.speedfox.com
++ CP-SF
host = cp.speedfox.net


+ Services
menu = Services
title = Service Latency (DNS)

++ DNS

probe = DNS
menu = DNS Latency
title = DNS Latency (dig queries)

+++ NS20-WSS-NET
host = ns20.websitesource.net
+++ NS21-WSS-NET
host = ns21.websitesource.net
+++ NS22-WSS-NET
host = ns22.websitesource.net
+++ NS1-SF-NET
host = ns1.speedfox.net
+++ NS2-SF-NET
host = ns2.speedfox.net
+++ NS1-SF-COM
host = ns1.speedfox.com
+++ NS2-SF-COM
host = ns2.speedfox.com
+++ PLESK1
host = plesk1.websitesource.com
+++ PLESK2
host = plesk2.websitesource.com


Thanks,
Kelly
Web Hosting Groups, Inc.



More information about the smokeping-users mailing list