I'm running cfgmaker through a script set in crontab to run once a week
to discover new interfaces, etc. I had this set up for about 5 devices
and it worked great. I recently created a few more scripts with about 30
or so devices each in them, when they are run the last device has a ^M
in it that causes a carriage return and needless to say, messes it up
pretty bad. I created the scripts in notepad in windows and copied them
over the server, figuring this was the issue I opened them up in vi to
try and remove the ^M but there was none. I even overwrote the last few
parts of the line to see if the ^M would get overwritten, no luck. Now
when the scripts run I get a ^M on every script for the last device. It
inserts itself after the ip address so it all looks like this:

 

Target[1.1.1.1^M

_Gi8_24]: #Gi8/24:[EMAIL PROTECTED]

:::::2

 

Again, this only happens for the last device in my list of ip's. Any
ideas? 

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to