Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

MARS - Load From Seed File fails

Hi, everybody.

I have problem with importing larger number of devices into MARS using Load from Seed File funcionality. I successfully connect to FTP server but I receive following error:

Status: Errors occured while retrieving csv file from ftp server. sed: can't read /tmp/mars.csv: No such file or directory while executing "exec sed -i "s/\15//g" /tmp/$fileName" (file "./ftpconfig.exp" line 243)

Any ideas how to resolve it ?

Thanks in advance

Marko

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: MARS - Load From Seed File fails

Hello,

It seems to me that if you have any of the following characters in SNMP string "/\.*[]^$" it could make problems to sed which is parsing the file. Try to change SNMP strings to avoid those characters.

BR,

--

Marko

7 REPLIES

Re: MARS - Load From Seed File fails

Can you try breaking the seed files contents into two different files?

New Member

Re: MARS - Load From Seed File fails

Hi.

I did this. I made smaller 5 lines file which includes just IP's and snmp string data for hosts. Stil same message.

Re: MARS - Load From Seed File fails

Is it possible to post your seed file after replacing sensitive information with dummy values?

Regards

Farrukh

New Member

Re: MARS - Load From Seed File fails

Of course. I'm attaching it. SNMP string values arereplaced with wildcards.

Best regrads, Marko

New Member

Re: MARS - Load From Seed File fails

Hello,

It seems to me that if you have any of the following characters in SNMP string "/\.*[]^$" it could make problems to sed which is parsing the file. Try to change SNMP strings to avoid those characters.

BR,

--

Marko

New Member

Re: MARS - Load From Seed File fails

Hello, Marko.

This is true. I have '$' in my snmp string. But I've tried also with different snmp string with no special characters and the problem still persists.

Best regards,

Marko

New Member

Re: MARS - Load From Seed File fails

H, everybody.

Sorry to bother you all because the mistake was realy something completely different. Importing the file via ftp uses passive ftp and there were some problems with permission of hat traffic.

Thank you again.

484
Views
0
Helpful
7
Replies
CreatePlease to create content