[mrtg] string terminator error

William Owen william.owen at profilesmail.com
Fri Jul 15 02:49:03 MEST 2005


I'm in the process of a migration from MRTG 2.11.x/RRDTool 1.0.x to MRTG
2.12.x/RRDTool 1.2.x.  I've moved all of my config files from one server to
another and now have a config file that will not update its RRD, leaves the
lockfile hanging around and logs the following error using -logging:

2005-07-14 19:37:31 -- Started mrtg with config
'd:\mrtg\configs\routers\surfboard.cfg'
2005-07-14 19:37:31 -- Can't find string terminator ")" anywhere before EOF
at (eval 6) line 1.

If I run it interactively, I get a single 'WARNING:' entry without any other
feedback.  When enabling all of the -debug options, there doesn't appear to
be any errors.  The same config is still running on another box using
2.11.1/1.0.48 without error.

Perl 5.8.811
MRTG 2.12.1 (also tried 2.12.2)
RRDTool 1.2.10
Routers2 2.16 beta7
Win2k3 Standard SP1


D:\MRTG\Configs\Include\Include.cfg:
##### change dirs as needed versions etc etc ####

PathAdd: D:\MRTG\MRTG\bin
LibAdd: D:\MRTG\MRTG\lib\mrtg2

PathAdd: D:\MRTG\RRDTool\rrdtool\Release

###### the rest of your cfg file here #####

LogFormat: rrdtool

WorkDir: D:\MRTG\Data\

Refresh: 300
Interval: 5

D:\MRTG\Configs\Routers\UserCable.cfg:
Include: D:\MRTG\Configs\Include\Include.cfg

routers.cgi*Icon: motorola-sm.gif
routers.cgi*InMenu: yes
Directory[_]: Routers\SurfBoard

EnableIPv6: no

######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################


#
# SurfBoard SNR dB
#

Options[SurfBoard_SNR]: noo gauge nopercent
Target[SurfBoard_SNR]: `perl D:\MRTG\Scripts\SurfBoard\sb.pl
-URL="http://192.168.100.1/signaldata.html" -target1="1_signal to noise
ratio"`
Title[SurfBoard_SNR]: Signal to Noise Ratio dB
MaxBytes[SurfBoard_SNR]: 100000000000
Legend1[SurfBoard_SNR]: SNR
Legend3[SurfBoard_SNR]: Maximal SNR
LegendI[SurfBoard_SNR]: dB
YLegend[SurfBoard_SNR]: SNR dB
ShortLegend[SurfBoard_SNR]: dB
SetEnv[SurfBoard_SNR]: MRTG_INT_DESCR="Signal to Noise Ratio"
routers.cgi*InMenu[SurfBoard_SNR]: yes
routers.cgi*InSummary[SurfBoard_SNR]: yes
routers.cgi*InCompact[SurfBoard_SNR]: no
routers.cgi*Options[SurfBoard_SNR]: fixunit noo nototal nopercent nomax
routers.cgi*Icon[SurfBoard_SNR]: clock-sm.gif


#
# SurfBoard Power dB
#

Options[SurfBoard_Power]: gauge nopercent
Target[SurfBoard_Power]: `perl D:\MRTG\Scripts\SurfBoard\sb.pl
-URL="http://192.168.100.1/signaldata.html" -target1="3_power level"
-target2="7_power level"`
Title[SurfBoard_Power]: Signal Power dBmV
MaxBytes[SurfBoard_Power]: 100000000000
Legend1[SurfBoard_Power]: Upstream Power
Legend2[SurfBoard_Power]: Downstream Power
Legend3[SurfBoard_Power]: Maximal Upstream Power
Legend4[SurfBoard_Power]: Maximal Downstream Power
LegendI[SurfBoard_Power]: Upstream Power
LegendO[SurfBoard_Power]: Downstream Power
YLegend[SurfBoard_Power]: Power dBmV
ShortLegend[SurfBoard_Power]: dBmV
SetEnv[SurfBoard_Power]: MRTG_INT_DESCR="Signal Power"
routers.cgi*InMenu[SurfBoard_Power]: yes
routers.cgi*InSummary[SurfBoard_Power]: yes
routers.cgi*InCompact[SurfBoard_Power]: no
routers.cgi*Options[SurfBoard_Power]: fixunit nototal nopercent nomax
routers.cgi*Icon[SurfBoard_Power]: clock-sm.gif


#
# SurfBoard Freq dB
#

Options[SurfBoard_Freq]: gauge nopercent
Target[SurfBoard_Freq]: `perl D:\MRTG\Scripts\SurfBoard\sb.pl
-URL="http://192.168.100.1/signaldata.html" -target1="0_frequency"
-target2="5_frequency"`
Title[SurfBoard_Freq]: Signal Freq Hz
MaxBytes[SurfBoard_Freq]: 1000000000000
Legend1[SurfBoard_Freq]: Upstream Freq
Legend2[SurfBoard_Freq]: Downstream Freq
Legend3[SurfBoard_Freq]: Maximal Upstream Freq
Legend4[SurfBoard_Freq]: Maximal Downstream Freq
LegendI[SurfBoard_Freq]: Upstream Freq
LegendO[SurfBoard_Freq]: Downstream Freq
YLegend[SurfBoard_Freq]: Freq Hz
ShortLegend[SurfBoard_Freq]: Hz
SetEnv[SurfBoard_Freq]: MRTG_INT_DESCR="Signal Freq"
routers.cgi*InMenu[SurfBoard_Freq]: yes
routers.cgi*InSummary[SurfBoard_Freq]: yes
routers.cgi*InCompact[SurfBoard_Freq]: no
routers.cgi*Options[SurfBoard_Freq]: nototal nopercent nomax
routers.cgi*Icon[SurfBoard_Freq]: clock-sm.gif

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list