cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1136
Views
0
Helpful
1
Replies

Limit Syslog DB size Cisco Prime

Joris Deprouw
Level 1
Level 1

Hi All,

I have an issue with my Cisco Prime 4.1.

I have a log file for syslog who’s getting bigger and bigger every day. We have created a purge policy to limit the size to 1 gigabyte. This seamed to be a good solution.

But at the same time, I have a database located under Cscopx/database/rmeng/syslog.db, in three parties, syslogfirst, second and third. The problem is that those files grow and never stop growing (5GB and more), until the disk space is full.

At the start the syslog db didn't grow anymore since I configured the purge job for the syslog file. But after a while the syslog db began to grow again.

Are those 2 (syslog file and DB) related in any way? Does anyone has the same problem? I suppose there is an easy way to limit the size of the syslog db.

Thanks,

Best Regards,

Joris                  

1 Reply 1

Vinod Arya
Cisco Employee
Cisco Employee

Syslog.log and Syslog*.db are connected to each other. Syslogs sent from device are received in syslog.log and then processed and written in syslog db. All syslog reports come from Db.

To control the log file the logrot utility is used and to control the db the syslog purge and other administrative fuctions are used.

For more details on logrot configuration see :

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.1/user/guide/admin/server.html#wp1055307

For details on administring syslog see :

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.1/user/guide/admin/purgeset.html#wp1060237

Attached is an Syslog Acrhitecture for LMS, hopefully it will be helpful.

-Thanks

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

Review Cisco Networking for a $25 gift card