[mrtg] Re: Using templates to generate a config for ifInErrors and ifOutErrors

Jim Mozley jim.mozley at exponential-e.com
Tue Apr 12 17:10:58 MEST 2005

Jim Mozley wrote:
> I see the following error in MRTG's log file:
> 2005-04-08 10:37:08 -- ERROR: Target[myrouter_gi1_1.errors][_IN_] 
> 'ifInErrors.#Gi1/1&ifOutErrors. $target->[1]{$mode} ' (eval): syntax 
> error at (eval 10) line 2, at EOF
> In a template used with cfgmaker I am have:
> Target[$target_name]: ifInErrors.$if_ref&ifOutErrors.$if_ref:$router_connect

But what I should have had was:

Target[$target_name]: ifInErrors$if_ref&ifOutErrors$if_ref:$router_connect

i.e. without the dots.


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