[mrtg] Getting error when trying to use new template with cfgmaker

Mersberger, Robert robert.mersberger at goldenliving.com
Tue Aug 4 23:44:14 CEST 2009


What is the below message telling me?  Is the error in that I am submitting or is it in the template.
This is what I am pasting on the command line
perl c:\mrtg-2.16.2\bin\cfgmaker --host-template=windows_host.htp --community=da1sy  --global="PathAdd: c:\Progra~1\RRDtool" --global="LogFormat: rrdtool" --global "WithPeak[_]: ymw" --global="Workdir: c:\Progra~1\RRDtool\rrd_data"  --global="Options[_]: bits,growright" --ifref=ip --ifdesc=name --no-down --output="c:\mrtg_setup\configs\localhost2.cfg" localhost

The template is
Host template for windows<http://www.steveshipway.org/forum/viewtopic.php?f=34&t=1615&start=0&st=0&sk=t&sd=a>
from http://www.steveshipway.org/software/


I am trying to graph the usage on my NT server that is running mrtg.

C:\MRTG_SETUP>perl c:\mrtg-2.16.2\bin\cfgmaker --host-template=windows_host.htp --community=da1sy  --
global="PathAdd: c:\Progra~1\RRDtool" --global="LogFormat: rrdtool" --global "WithPeak[_]: ymw" --glo
bal="Workdir: c:\Progra~1\RRDtool\rrd_data"  --global="Options[_]: bits,growright" --ifref=ip --ifdes
c=name --no-down --output="c:\mrtg_setup\configs\localhost2.cfg" localhost
Backslash found where operator expected at (eval 11) line 13, near ") \"
        (Missing operator before \?)
ERROR Evaluation of the contents in the file

windows_host.htp
gave the error

"syntax error at (eval 11) line 13, near ") \"
syntax error at (eval 11) line 41, at EOF
"

Exiting cfgmaker

Robert Mersberger
LAN Consultant, Information Technology
Phone 479-201-3442
Fax 479-478-3837
Email robert.mersberger at goldenliving.com
www.Goldenliving.com
Golden Living
1000 Fianna Way
Fort Smith, AR 72919





  ________________________________
Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively,
this 'Email') are intended only for the confidential use of
the recipient(s) named above. If the reader of this message
is not the intended recipient named obove or an agent
responsible for delivering it to the intended recipient
named above, you have received this Email in error.
Please notify the sender immediately and permanently delete
this Email and any copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090804/0c1943d2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mersberger, Robert.vcf
Type: text/x-vcard
Size: 241 bytes
Desc: Mersberger, Robert.vcf
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090804/0c1943d2/attachment-0001.vcf 


More information about the mrtg mailing list