Using smokeping 2.0.5, I'm getting a "Config::Grammar internal error" 
for the config file that parsed
and worked in smokeping 1.42. The error is triggered by having the same 
host entry in 2 different
sections that have different probes.


Here is an example that results in "ERROR: /etc/smokeping/config.fail, 
line 84: Config::Grammar internal error (no grammar for localhost)"

*** Targets ***

probe = FPing
menu = Top
title = Top

+ L1
probe = FPing
menu  = L1

++ localhost
host  = localhost
menu  = m1

+ L2
probe = DNS
menu  = L2

++ localhost
host  = localhost
menu  = m2


#---------------------------------

However, if I just comment-out the "probe = FPing" from the "+ L1" 
section, the config parses correctly:


*** Targets ***

probe = FPing
menu = Top
title = Top

+ L1
#probe = FPing
menu  = L1

++ localhost
host  = localhost
menu  = m1

+ L2
probe = DNS
menu  = L2

++ localhost
host  = localhost
menu  = m2

#-----------------------





--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to