Link to home
Start Free TrialLog in
Avatar of oliverwari
oliverwari

asked on

Ciscoworks

Can anyone provide me the steps on how to manually backup my syslog file which has gotten so big? Is it as simple as moving the file to a new location and allowing Ciscoworks to create a new one?
Avatar of bob_the_builder
bob_the_builder

Have a look at :

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.1/install/guide/appendc.html

Provides method of backup up Syslog files when they reach certain size

Cheers,

Bob
Avatar of oliverwari

ASKER

Thanks for the link. However, I didn't see where I can manually archive the syslog file such that the system can start collecting data in a new one.
It appears that using the utility in the above link you can configure the following:

DEBUG_MAX_FILE_SIZE - The maximum size of the log file containing the debug information.

The default is set to 5 MB.

If the file size exceeds the limit that you have set, Syslog Collector writes to another file, based on the number of backup files that you have specified for the DEBUG_MAX_BACKUPS property.

For example, if you have specified the number of backups as 2, besides the current log file, there will be two backup files, each 5MB in size. When the current file exceeds the 5 MB limit, Syslog Collector overwrites the oldest of the two backup files.
 
DEBUG_MAX_BACKUPS - The number of backup files that you require.

The size of these will be the value that you have specified for the DEBUG_MAX_FILE_SIZE property.
 
=========

Would configuring these 2 options help in what you are trying to achieve, instead of a manual process it would automatically write to a new one when the specified file size has been reached?

Apologies if this is not quite what you are after...

Cheers,

Bob
Thanks for the information. That is not the log file that I am trying to archive.
In Cisco works, there is a log file at this location   ....\CSCOpx\log with the name sylog.log
The one on my server is currently 1.7GB and I see my predeccessor archived this up in the past. I am able to copy this log file and archive it just fine. My question is: can I just delete this and have Ciscowork recreate a new one or I have to purge it from the program?
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of bob_the_builder
bob_the_builder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perfect Solution to my problem. Thank you Sir!