[mrtg] Re: [MRTG]Error while use SNMPv2c

Cook, Garry GWCOOK at mactec.com
Wed May 19 17:03:32 MEST 2004


> I have got a question, that is when I make the mrtg config
> file using the command line such like this:
> 
> #cfgmaker --global 'WorkDir: /var/mrtg'  --global 'Options[_]: bits'
> --output mrtg.cfg    public at 10.20.20.2:::::2c
> 
> Then
> 
> #mrtg mrtg.cfg
> 
> An error occur
> 
> ERROR: Target[10.20.20.2_33][_IN_] ' $target->[0]{$mode} c' (warn):
> (Missing operator before c?)
> 
> ERROR: Target[10.20.20.2_33][_OUT_] ' $target->[0]{$mode} c' (warn):
> (Missing operator before c?) 
> 

Try it without the 'c', like so:

 --output mrtg.cfg    public at 10.20.20.2:::::2

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)

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



More information about the mrtg mailing list