Oh, I think I got that as well. I'm not sure if it was a design
decision or a bug, but if you create 'sub'-probes you can't use the
parent any more.
I just went to double-check my config file and I have +FPing,
++FPing_default, ++FPing_1, etc., and I use ++FPing_default as my
default under *** Targets ***.
Eric Chatham wrote:
Hi Peter,
I'm getting a error when I try to daemonize the program:
[root@ ~ etc]# su smokeping
bash-3.1$ /opt/smokeping/bin/smokeping -restart
ERROR: /opt/smokeping/etc/config, line 155: probe FPing missing from
the Probes section
bash-3.1$
Config
+ FPing
binary = /usr/sbin/fping
++ FPing_I
offset = 0%
++ FPing_II
offset = 10%
++ Fping_III
offset = 20%
++ FPing_IV
offset = 30%
.
.
.
*** Targets ***
slaves=nycvpn001 laxvpn001
line 155>> probe = FPing
.
.
.
+ SIP_Trunking
menu = SIP Trunking
title = SIP Trunking Customers
++ SIP-A-E
menu = Customers A-E
title = Customers A-E
probe = FPing_I
@include include/sip-ae.cfg
/Eric Chatham/
/Broadvox MIS Department/
/(216) 373-4683/
/[email protected]/
*From:* [email protected]
[mailto:[email protected]] *On Behalf Of *Eric
Chatham
*Sent:* Wednesday, April 22, 2009 14:56
*To:* Peter Kristolaitis
*Cc:* [email protected]
*Subject:* Re: [smokeping-users] Holes in graphs
Thank you for your support. I'm going to give it a try. :)
/Eric Chatham/
/Broadvox MIS Department/
/(216) 373-4683/
/[email protected]/
*From:* Peter Kristolaitis [mailto:[email protected]]
*Sent:* Wednesday, April 22, 2009 13:58
*To:* Eric Chatham
*Cc:* [email protected]
*Subject:* Re: [smokeping-users] Holes in graphs
The probe defined right under the "*** Targets ***" clause is treated
as the default probe for all hosts if you don't specify one.
Explicitly specifying a probe for a host/host group is basically just
an override.
The same logic is applied to pretty much everything in SmokePing's
config file, by the way: any time you go from a one configuration
directive to a 'child' one (e.g. +option to ++suboption), the child
inherits all of the options of the parent unless you override them,
and the child's children inherit the overridden settings unless you
override them again.
- Peter
(Sorry for the dupe email, Eric, just resending for the benefit of the
list -- my original reply got queued for approval due to message size,
and I figured it was easier to cancel it and just truncate the reply.)
------------------------------------------------------------------------
CONFIDENTIAL. This e-mail and any attached files are confidential and
should be destroyed and/or returned if you are not the intended and
proper recipient.
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users