cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1188
Views
0
Helpful
6
Replies

Disable FTP server on Smart Net Total Care collector server?

luke.wurl
Level 1
Level 1

Quick and easy question I hope: How can I disable the FTP server on the Smart Net Total Care collector server? I didn't seen an obvious way anywhere.

Thanks!

1 Accepted Solution

Accepted Solutions

Lynden Price
Cisco Employee
Cisco Employee

Hi Luke,

SSH into your collector using the "collectorlogin" username and password. If you haven't generated that yet, then SSH in as "admin" and create it with the command:

pwdreset collectorlogin 180

and record the password it generates. Now SSH to the collector using "collectorlogin" as the username and the password it gave you previously.

Now enter root:

su -

Now run the command:

touch $CSPCHOME/donotStartSyslog $CSPCHOME/donotStartSnmpTrap $CSPCHOME/donotStartFtp $CSPCHOME/donotStartTftp; chown casuser:casusers $CSPCHOME/donot*; chmod 710 $CSPCHOME/donot*; service cspc restart

That will disable SNMP Traps, FTP, and TFTP, none of which are needed by the CSPC and can cause performance issues. After it creates those files it will automatically restart the CSPC service.

Thanks,

Lynden

View solution in original post

6 Replies 6

Lynden Price
Cisco Employee
Cisco Employee

Hi Luke,

SSH into your collector using the "collectorlogin" username and password. If you haven't generated that yet, then SSH in as "admin" and create it with the command:

pwdreset collectorlogin 180

and record the password it generates. Now SSH to the collector using "collectorlogin" as the username and the password it gave you previously.

Now enter root:

su -

Now run the command:

touch $CSPCHOME/donotStartSyslog $CSPCHOME/donotStartSnmpTrap $CSPCHOME/donotStartFtp $CSPCHOME/donotStartTftp; chown casuser:casusers $CSPCHOME/donot*; chmod 710 $CSPCHOME/donot*; service cspc restart

That will disable SNMP Traps, FTP, and TFTP, none of which are needed by the CSPC and can cause performance issues. After it creates those files it will automatically restart the CSPC service.

Thanks,

Lynden

Thanks! I'm having issues logging into the CLI- my password for admin which works on the web, doesn't work on the CLI console.

It looks like this may be related to a full disk? I'm not sure how to correct this from the web interface.

When you SSH using "admin" does it actually prompt you for the password? If so, then it was set by whoever set up the server initially, since it forces you to change the default.

It does- and I was the one who set the server up. The password I set it to does not appear to be working.

At this point, am I going to just have to set the collector up again?

Did you enable the "collectorlogin" and "root" usernames when you first set the server up? If not, then you will need to re-deploy.

Here's a guide I wrote for how to re-deploy with the latest image:

https://supportforums.cisco.com/blog/12696871/self-service-onboarding-setting-cspc-25-collector

Since you can still log into the GUI, it should be easy to transfer over your existing data. In your current collector, go to Reports > Managed Devices and export the list as a CSV that you can open in Excel.

For your new collector, download and deploy the OVA linked in the blog. You can either use your old entitlement file or generate a new one if you want.

In the new collector, configure your snmp credentials by going to Settings > Device Credentials.

Then go to Management > Discover and Manage Devices. Choose to discover by IP address and then copy and paste in the column of IP addresses from the excel file you generated earlier. This should re-populate the new collector with all your devices.

Then just reschedule your inventory by going to Settings > Manage Data Collection Profiles and on the profile tab of the collection profile set the inventory to happen once a week .

That should get you back up and running. Let me know if you run into any issues.

Thanks,

Lynden

Thanks Lynden! I'm all good.