On Mon, Jul 11, 2011 at 09:48:05AM +0200, Glenn Andersson wrote: > On Fri, Jul 08, 2011 at 02:16:04PM +0200, Glenn Andersson wrote: > > My Probes config file looks like this: > > > + RemoteFPing > > > > binary = /usr/bin/ssh > > rbinary = /usr/bin/fping > > rhost = proxy.domain.com > > > > ++ RemoteFPingChaos > > > > rbinary = /usr/local/sbin/fping > > rhost = anotherproxy.domain.com > > > /etc/smokeping/config.d/Targets, line 97: probe RemoteFPing missing from > > the Probes section.
> See example 3 in the smokeping_examples document; quoting: > > The top FPing section does not define a probe in itself because it has > subsections. If we really wanted to have one probe named "FPing", > we could do so by making a subsection by that name. > RemoteFPing aint depending on FPing right? Then it should be marked with a > single plus (+) sign? RemoteFPing and FPing are (at the configuration level) independent probes. The example was about FPing, but just replace 'FPing' with 'RemoteFPing' everywhere to match it with your case. > And when RemoteFPingChaos aint a real probe it will just be an alias with > tweaks that is dependable on RemoteFPing probe? > Or is + RemoteFPing terminated when I specify a sub probe with two plusses ++ > ? Explaining another way: if there's just +RemoteFPing [...] then you have a single probe called 'RemoteFPing', but if you have +RemoteFPing var=val ++ RemoteFPing1 ++ RemoteFPing2 then you have two probes, 'RemoteFPing1' and 'RemoteFPing1', but no probe named 'RemoteFPing'. Both the probes have the setting 'var=val'. The '+' section does not define a real probe when it has '++' subsections, it just specifies settings common to all the 'subprobes'. Between these, there's the degenerate case of +RemoteFPing var=val ++ RemoteFPing1 which isn't particularly useful: there's only one probe, 'RemoteFPing1', with setting 'var=val'. As above, the '+' section does not define a real probe because it has '++' subsections (in this case just one.) The last one corresponds to your configuration. HTH, -- Niko _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
