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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IPS Manager Express - archiving old events

Hi everyone

How can we archive or delete old events in IME? The .myd files in MYSQL\data\alarmDB are getting bigger and bigger and it is affecting the server.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: IPS Manager Express - archiving old events

The database files can not just be simply removed.

If IME is still functioning, then you can do the following:

Select Tools->Preferences

Modify the "Maximum number of events in current event file", and the "Maximum number of archived files".

The maximum number of events will reduce the largest size that each event file can become.

The maximum number of archived files will reduce the total number of database files that will be saved.

You may also want to "Enable time schedule for archiving events", and temporarilly set it to every 10 minutes.

Then keep an eye on the alarmDB directory over the next hour or 2.

Continue to change the settings until you are comfortable with the amount of disk space it will be using.

You may also want to change the archive internal to once a day in order to prevent a lot of small 10 minute files in the future.

If you need to save old alarm information, then you may want to first export the old alarm data before making the changes above.

Select the File->Export option and select the time frame you want exported and browse to a directory on another disk where you want the file created.

4 REPLIES
Bronze

Re: IPS Manager Express - archiving old events

you must clear the event archive of the older events by using the clear events command.

Clearing Events

Use the clear events command to clear Event Store.

To clear events from Event Store, follow these steps:

Step 1 Log in to the CLI using an account with Administrator privileges.

Step 2 Clear Event Store.

sensor# clear events

Warning: Executing this command will remove all events currently stored in the event

store.

Continue with clear? []:

Step 3 Enter yes to clear the events.

New Member

Re: IPS Manager Express - archiving old events

Thanks for the info, but this does not clear up any space on the IME server at all. Is there any way to remove the .myd files without breaking IME?

Cisco Employee

Re: IPS Manager Express - archiving old events

The database files can not just be simply removed.

If IME is still functioning, then you can do the following:

Select Tools->Preferences

Modify the "Maximum number of events in current event file", and the "Maximum number of archived files".

The maximum number of events will reduce the largest size that each event file can become.

The maximum number of archived files will reduce the total number of database files that will be saved.

You may also want to "Enable time schedule for archiving events", and temporarilly set it to every 10 minutes.

Then keep an eye on the alarmDB directory over the next hour or 2.

Continue to change the settings until you are comfortable with the amount of disk space it will be using.

You may also want to change the archive internal to once a day in order to prevent a lot of small 10 minute files in the future.

If you need to save old alarm information, then you may want to first export the old alarm data before making the changes above.

Select the File->Export option and select the time frame you want exported and browse to a directory on another disk where you want the file created.

New Member

Hello, I am facing similar

Hello,

 

I am facing similar issue with increasing the size of alarmDBDemo folder as the size is increasing day by day and it also reduces the performance of server. it is generating approximately files size of 2gb a day.

I need to understand the alrm dbdemo and cal i delete older files

 

920
Views
0
Helpful
4
Replies