cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1900
Views
0
Helpful
4
Replies

IPS Manager Express - archiving old events

osiristrading
Level 1
Level 1

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

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.

View solution in original post

4 Replies 4

hadbou
Level 5
Level 5

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.

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?

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.

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card