[smokeping-users] "Config::Grammar internal error (no grammar for ...)" in 2.0.5 -- possible bug?
Igor Petrovski
pigor at mm.st
Fri Dec 9 04:12:22 MET 2005
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: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