Solved

Ciscoworks

Posted on 2009-05-11
6
805 Views
Last Modified: 2012-05-06
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?
0
Comment
Question by:oliverwari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:bob_the_builder
ID: 24355222
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
0
 

Author Comment

by:oliverwari
ID: 24356544
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.
0
 
LVL 10

Expert Comment

by:bob_the_builder
ID: 24356697
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
0
Upcoming Webinar: Securing your MySQL/MariaDB data

Join Percona’s Chief Evangelist, Colin Charles as he presents Securing your MySQL®/MariaDB® data on Tuesday, July 11, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

 

Author Comment

by:oliverwari
ID: 24357138
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.
0
 
LVL 10

Accepted Solution

by:
bob_the_builder earned 500 total points
ID: 24357370
According to this, to resolve ever growing file sizes, you can delete the syslog.log file, so I presume it get re-created, but take a look at

http://supportwiki.cisco.com/ViewWiki/index.php/Problem_running_Cisco_Works_and_the_Syslog.log_or_syslog_info_file_keeps_growing

Cheers,

Bob...
0
 

Author Closing Comment

by:oliverwari
ID: 31580154
Perfect Solution to my problem. Thank you Sir!
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your computer hacked? learn how to detect and delete malware in your PC
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question