On Fri, Feb 04, 2005 at 09:56:18AM +0000, Marc Haber wrote:
 
> After upgrading to 1.38, that configuration does not work any more:
 
> So, something has gone wrong with upstream integrating the patch. And
> as usual, I do not understand the manpage as it doesn't give any
> examples.
> 
> What did change with the config parser?

Hi,

the #283647 (multiple probe instances) patch was indeed adopted
upstream with a slightly different config syntax. I sent you (as
[EMAIL PROTECTED]) a note about this, when we decided this with
upstream. You can find the note at the end of #283647 - maybe it did
not reach you for some reason?

To quote:

> just thought I'd let you know that the multible probe instance patch
> for Smokeping made it into upstream 1.36 with a different config
> syntax, so if you are already using this you'll have to fix your config
> file when upgrading.
> 
> The new syntax uses subsections and suits config file syntax checking
> better.  The example you originally offered would now be written as
> 
> *** Probes ***
> 
> + FPing
> 
> binary = /usr/bin/fping
> 
> ++ FPingNormal
> 
> ++ FPingLarge
> packetsize = 1024
> 
> Here we get two instances of the FPing, FPingNormal with the default packet 
> size
> and FPingLarge with a larger one. The main FPing section becomes just a 
> template
> for the subsections.

Sorry for the trouble.

As for the manpage, I'm working with upstream on a patch that will
automate the probe documentation and examples generation, so except
improvement soon.

Cheers,
-- 
Niko Tyni               [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to