07-08-2009 05:05 AM
Is there a way to redirect all of the log files that CiscoWorks Generate? For instance the syslog.log seems to be my biggest problem in that the shear size of it is very large and it takes up all 21 GB of free disk space then crashes my server. I then have to stop all services and relocate the file and restart everything.
Solved! Go to Solution.
07-08-2009 08:38 AM
If you want to change the syslog file location you can use the perl script NMSROOT/bin/syslogConf.pl to do so.
More information is available here:
07-08-2009 08:09 AM
The log file cannot be redirected to an alternate location or volume, but you can and should use the log rotation script (logrot.pl) to manage it. Search the online help for "logrot" to get more details
You can also purge old records, if you like. (Resource Manager Essentials > Admin > Syslog > Set Purge Policy) Immediate purges are also an option.
In the broader sense, you may want to track down the source of the syslog messages. Often, a few configuration errors are responsible for a high volume of messages. A proactive network operations staff may be able to track down these prblems and correct them, reducing the syslog messages to a more manageable number. Reduction of the volume of syslog messages attributable to configuration errors can be a useful metric to measure the effectiveness of the network operations staff.
Hope this helps. Please rate helpful posts.
07-08-2009 08:22 AM
Thank you for the reply. I have a script that does the logrot.pl each day in order to archive the logs off the system. I have also configured the Purge Policy accordingly and that is working.
I agree with your broader sense of things. This issue began when an outside individual began a report on a unit for more the 30 days. That report had been gathering syslog information on that unit and the data was overwhelming the server. Since this report has stopped the growth of the syslog.log is of normal size and no longer a factor.
Now just have to work on the security of the box to not allow this outside influence. Thanks.
07-08-2009 08:38 AM
If you want to change the syslog file location you can use the perl script NMSROOT/bin/syslogConf.pl to do so.
More information is available here:
07-08-2009 08:46 AM
Thank you this will help me.
07-08-2009 12:05 PM
Thanks for the catch , Martin. My mistake in my earlier response is noted. That feature is now reinforced in my memory. :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide