[mrtg] Re: !'s in passwords killing cfgmaker process

Jim Hunt jhunt at hse.k12.in.us
Mon Feb 19 19:27:50 MET 2001


I mean the \ in front of the !.  Sorry for my confusion....


Jim Hunt, MCSE

 -----Original Message-----
From: 	Jim Hunt [mailto:jhunt at hse.k12.in.us] 
Sent:	Monday, February 19, 2001 1:15 PM
To:	'mark smith'; mrtg at list.ee.ethz.ch
Subject:	[mrtg] Re: !'s in passwords killing cfgmaker process


Just a wild guess from a perl hacker (me) but maybe if you try 

Password\!@172.16.2.2 

(note the \ in front of the @.)  This is required before an @ and  a " in
perl so it is not taken as a perl command but as text.  I figured this out
be hacking the MRTG Script to suit my own specific needs.

Jim Hunt
Microsoft Certified Systems Engineer
Microsoft Network Analyst and Senior Network Administrator
Hamilton Southeastern School Corporation

My MRTG:  http://204.180.37.238/mrtg

 -----Original Message-----
From: 	mark smith [mailto:markrad at marks.networktel.net] 
Sent:	Monday, February 19, 2001 12:19 PM
To:	mrtg at list.ee.ethz.ch
Subject:	[mrtg] !'s in passwords killing cfgmaker process


Howdy all. I have an issue I'm curious if anyone else has 
encountered or worked around...
# cfgmaker pAssWoRd!@172.16.2.2 > routerlocation.cfg 
Just seems to get me: 
@172.16.2.2: Event not found.

Seems the ! is taking out the rest of the command somehow. I 
have a whole mess of devices to add, so I'm hoping I won't have to 
write nor edit the .cfg files by 'hand'...

Any thoughts?
Thanks in advance,
Mark Smith

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

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

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