Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco LMS - logs exceed limit

Hi friends,

First of all, let me introduce myself since I'm new with cisco community. I'm syafiq currently working as an network administrator in Malaysia.

I need guidance on cisco LMS as I'm really new with the LMS systems. Currently I'm having issue with LMS where the log files are exceeding the size limit set by pervious administrator. Can anyone help me on how to backup/ remove the logs file and set it to a new locations i.e. new drive ? LMS-error.JPG

thanks in advanced!

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Cisco LMS - logs exceed limit

Did you tried Logrot?

In Logrot you dont change the log file location. The way it works is following :

> You select a log file.

> You configure logrot parameters to tell ciscoworks (or logrot process) when to rotate the content of log file when it reaches the defined limit.

> You schedule the logrot to run daily, weekly or monthly.

**>For immediately purging log file data if it is taking a lot of space you can use the immediate option under Schedule, by selecting a log file.

See image for procedure:

For more details please check the user guide details on logort:

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.3/user/guide/admin.html#wp1144251

-Thanks

Vinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **
5 REPLIES
Cisco Employee

Cisco LMS - logs exceed limit

Hi,

Welcome to CSC.

Ciscoworks has many features and all of those features has dedicated processes. All those processes and many ciscoworks agnets write their output (logggin) to the *.log files. Most of them are under NMSROOT/logs.

These files are usually not important enough (except syslog.log mostly) unless there is any issue with any of the LMS function and it needs to be t/shooted.

But these logs files should not be deleted, nor there data needs to be preserved for long, unless your organisation policy says so.

Because processes keeps on writing constantly to these log files, these log files can grow and can continue to grow to become extravagantly huge sometimes, hence need to be controlled, which is why the 'Logrot' feature was inlcuded.

Logrot is a log rotation program that enables you to control the log files size growth. It helps you to:

•Rotate log files while CiscoWorks is running.

•Optionally archive and compress rotated logs.

•Rotate log files only when they have reached a particular size.

You can configure it from :

Common Services > Server > Admin > Log Rotation

Please check configuring log Maintaining Log Files section of the user guide for more details.

-Thanks

Viinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Cisco LMS - logs exceed limit

Hi Vinod,

Thanks for the response and guidance. As per the guide reference and your instruction I tried to change my back up directory path which is currently in C:\ to our shared drive in Z:\ but failed.

Can I change the path without have to re-installing back cisco LMS?

thanks in advance

Cisco Employee

Cisco LMS - logs exceed limit

Did you tried Logrot?

In Logrot you dont change the log file location. The way it works is following :

> You select a log file.

> You configure logrot parameters to tell ciscoworks (or logrot process) when to rotate the content of log file when it reaches the defined limit.

> You schedule the logrot to run daily, weekly or monthly.

**>For immediately purging log file data if it is taking a lot of space you can use the immediate option under Schedule, by selecting a log file.

See image for procedure:

For more details please check the user guide details on logort:

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.3/user/guide/admin.html#wp1144251

-Thanks

Vinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Cisco LMS - logs exceed limit

Hi,

Thanks. I managed to run logrot. Apparently when i tried to restart cisco works, another error message pops out. see below error :

any problem why this happens?

New Member

Cisco LMS - logs exceed limit

Hi Vinod,

I have recover my LMS and it is currently running without issue. Thanks for the help

602
Views
0
Helpful
5
Replies
CreatePlease login to create content