[mrtg] Re: Community string problems

Takumi Yamane yamtak at b-session.com
Thu Dec 8 20:40:18 MET 2005


On Thu, 08 Dec 2005 13:46:26 -0500, "Richard F. Hart II" wrote 
in <43987F82.9000404 at cnu.edu>:
>>>mrtg# cfgmaker --global 'WorkDir: /usr/local/apache/mrtg' --global 
>>>'Options[_]: bits,growright' --output /root/mrtg/cfg/fdry.cfg 
>>>\+string at 137.155.70.1
>>>Unknown option: string at 137.155.70.1
>>
>>double-quote around the arg.
>>"\+str at string@137.155.70.1"
>
> When I add single or double quotes, its tries to use \+string.

oops, sorry.
I found that it is a feature of Getopt::Long.
try this:

POSIXLY_CORRECT=1 cfgmaker "+str at 192.168.100.10"

-- 
Takumi Yamane <yamtak at b-session.com>

--
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