cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2823
Views
0
Helpful
2
Replies

Export to File with CSPC

smartnet
Level 1
Level 1

Hi,

I have only been able to get the CSPC to upload to Cisco a couple of times in the past 6 months.  Scheduling does not work it seems and it the system keeps saying successful.

Is there a way to download the file manually so I can do a manual import into SNTC?

Thanks

1 Accepted Solution

Accepted Solutions

Lynden Price
Cisco Employee
Cisco Employee

Transport File Import

Log into the collector using the username “admin

Run the command

pwdreset collectorlogin 180

Record the password generated

Run the command

pwdreset root 180

Record the password generated

SSH into the collector using the username “collectorlogin” and the previously generated password

Run the command

su –

At the prompt, enter the password generated for root

Run the command

cd $CSPCHOME/uploaddata

Run the command

ls –la

Run the command

cd [UploadProfileName]

where [UploadProfileName] is the name you see listed from the previous command (it should match whatever you called your upload profile)

Run the command

ls –la

Find the latest folder by looking at the timestamp.

Run the command

cd [folder]

where [folder] is the latest folder.

Run the command

ls –la

Find the latest transport file by looking at the timestamps

Run the command

cp [filename] /home/collectorlogin

where [filename] is the latest file.

Please see the attached document for an example of the above steps.

Open a file transfer program (such as WinSCP) and log into the collector with the username “collectorlogin”

You should now be able to download the transport file from the collector to your computer.

Go to the portal and use the file import feature under Library > Administration.

Thanks,

Lynden

View solution in original post

2 Replies 2

Lynden Price
Cisco Employee
Cisco Employee

Transport File Import

Log into the collector using the username “admin

Run the command

pwdreset collectorlogin 180

Record the password generated

Run the command

pwdreset root 180

Record the password generated

SSH into the collector using the username “collectorlogin” and the previously generated password

Run the command

su –

At the prompt, enter the password generated for root

Run the command

cd $CSPCHOME/uploaddata

Run the command

ls –la

Run the command

cd [UploadProfileName]

where [UploadProfileName] is the name you see listed from the previous command (it should match whatever you called your upload profile)

Run the command

ls –la

Find the latest folder by looking at the timestamp.

Run the command

cd [folder]

where [folder] is the latest folder.

Run the command

ls –la

Find the latest transport file by looking at the timestamps

Run the command

cp [filename] /home/collectorlogin

where [filename] is the latest file.

Please see the attached document for an example of the above steps.

Open a file transfer program (such as WinSCP) and log into the collector with the username “collectorlogin”

You should now be able to download the transport file from the collector to your computer.

Go to the portal and use the file import feature under Library > Administration.

Thanks,

Lynden

For versions 2.7 and above use the following document