[smokeping-users] Multiple probes on a single host/target

Marc Haber mh+smokeping-users at zugschlus.de
Wed Sep 22 13:13:07 CEST 2010


Hi,

I would like to monitor a bunch of DNS servers using ping and DNS, and
I would like to have the web interface looking like
   DNS-Servers
      host01
         ping
	 DNS
      host02
         ping
	 DNS

This is what I have configured (cut down to the relevant parts):
*** Probes ***

+ FPing

binary = /usr/bin/fping

+ DNS

binary = /usr/bin/dig
forks = 5
offset = 50%
step = 300
timeout = 15
lookup = testdomain.example
pings = 5

*** Targets ***

+ DNS

menu = DNS-Servers
title = DNS-Servers

++ host01

menu = host01
title = host01

+++ ping

probe = FPing
menu = ping
title = host01 ping
host = 192.168.38.19

+++ testdomain-example

probe = DNS
menu = testdomain.example
title = host01 testdoman.example
server = 192.168.38.19

++ host02

menu = host02
title = host02

+++ ping

probe = FPing
menu = ping
title = host02 ping
host = 192.168.38.20

+++ testdomain-example

probe = DNS
menu = testdomain.example
title = host02 testdoman.example
server = 192.168.38.20



Unfortunately, the DNS probe thinks it has no targets:
dnschecker01:/etc/smokeping/config.d# /usr/sbin/smokeping --debug
### parsing dig output...OK
### Compiling alert detector pattern 'startloss'
### ==S,>0%,>0%,>0%
<snip compilation results>
Smokeping version 2.003006 successfully launched.
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.
FPing: probing 3 targets with step 300 s and offset 195 s.
DNS: probing 0 targets with step 300 s and offset 195 s.
FPing: Executing /usr/bin/fping -C 20 -q -B1 -r1 -i10 172.20.38.19 172.20.11.1 localhost
<FPing results snipped>

Can anybody point me in the right direction to what I may be doing
wrong here?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



More information about the smokeping-users mailing list