[smokeping-users] Need help with config file parameters, PROBE_CONF
Matt Lawson
matt at prolexic.com
Tue Apr 19 14:40:10 MEST 2005
Pasted below is a (sanitized) version of my config file. I have
created a new probe called "Check" which takes the normal parameters
plus "port".
The port value that is given at the top of the file is used correctly.
But what I want to do is alter the port on a per-target basis. I have
seen the examples and followed them the best I can, but no luck. The
value given at the top is always used no matter what. See in my config
that the one target under "thegoat" wants the default port overridden
to 1000.
This is smokeping 1.38. What am I doing wrong? Thanks.
*** Probes ***
+ Check
binary = /usr/local/bin/check
port = 80
timeout = 5
forks = 10
*** Targets ***
probe = Check
menu = Name
title = Description
remark = Comments
+ LVL1
menu = LVL1
title = Targets - LVL1
++ billy
menu = billy
title = billy
+++ 69-146-16-102
menu = 69-146-16-102
title = billy-69-146-16-102
host = 69.146.16.102
alerts = bigloss,startloss
+++ 69-146-16-103
menu = 69-146-16-103
title = billy-69-146-16-103
host = 69-146-16-103
alerts = bigloss,startloss
++ thegoat
menu = thegoat
title = thegoat
+++ 109-78-130-13
menu = 109-78-130-13
title = thegoat-109-78-130-13
host = 109.78.130.13
alerts = bigloss,startloss
++++ PROBE_CONF
port = 1000
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list