How to delete alerts on Airwave which are older than certain number of days?
Airwave stores alerts depending upon the number of days we specify under Amp Setup --> General page. This KB would be helpful if you have large number of alerts and want to delete the alerts which are older than certain number of days.
We can follow the below steps to do this,
# clear_alerts_older_than.pl <number of days>
For example we used the below command to delete alerts which are older than 4 days,
[root@Aruba-Airwave scripts]# clear_alerts_older_than.pl 4
I just deleted all alerts older than 4 days old.