Network Management

last person joined: 20 hours ago 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

Airwave: clear 4000+ alerts

This thread has been viewed 3 times
  • 1.  Airwave: clear 4000+ alerts

    Posted Feb 03, 2012 06:36 AM

    Hello,

     

    is there a way to ack/delete more than 50 alerts at once?

     

    Due to a misconfiguration I've got ore than 4000 alerts that now I'd like to get rid of.

     

    If there is a command line way it would be even better.

     

    Thanks

    RB



  • 2.  RE: Airwave: clear 4000+ alerts

    EMPLOYEE
    Posted Feb 03, 2012 08:17 AM

    You should see an option to "Select All" at the bottom of the list. Is that not there?



  • 3.  RE: Airwave: clear 4000+ alerts

    Posted Feb 03, 2012 09:09 AM

    Hi,

    Thanks for the reply.

     

    Unfortunately it selects only "all" the ones shown on the current page and I supposed I could only show up to 50 records.

     

    Sorry, I just saw that I can display a custom number of records (option that I didn't see at first) so I can select up to 2000 at once.

     

    I would have liked a command line command to run at the console :)

     

    Thanks again.

    RB



  • 4.  RE: Airwave: clear 4000+ alerts
    Best Answer

    EMPLOYEE
    Posted Feb 03, 2012 10:04 AM

    You can easily change how many show up on each page. Just click the following:

    alerts_per_page.JPG

     

    Then select Custom. Then enter the number of records you want per page.



  • 5.  RE: Airwave: clear 4000+ alerts

    Posted Feb 03, 2012 10:11 AM

    Yes, I saw I can customize the number of record displayed and 2000 is the max.

     

    But beeing a CLI fanatic I wished there was a solution from the console of the Airwave server.

     

    RB



  • 6.  RE: Airwave: clear 4000+ alerts

    Posted Feb 03, 2012 12:07 PM

    have you tried running the alert_cleanup.pl perl script on the console?

     

    It's in the following directory:

     

    /root/svn/mercury/scripts



  • 7.  RE: Airwave: clear 4000+ alerts

    Posted Oct 23, 2012 12:36 PM

    How does that script work? Can you provide an example?


    @sfitzpatrick wrote:

    have you tried running the alert_cleanup.pl perl script on the console?

     

    It's in the following directory:

     

    /root/svn/mercury/scripts


     



  • 8.  RE: Airwave: clear 4000+ alerts

    EMPLOYEE
    Posted Oct 23, 2012 01:59 PM

    The alert_cleanup.pl script will only clear out acknowledged alerts that are older than AMP Setup -> Historical Data Retention box -> Acknowledged Alerts setting.  By default, the setting is 60 (days).

     

    ack-alert.jpg

     

    To run:

    # scripts

    (scripts is alias for 'cd /root/svn/mercury/scripts)

    # ./alert_cleanup.pl

     

    If you don't care about any of the existing alerts (acknowledged & unacknowledged), you can simply remove them all in a single command:

    # dbc 'delete from alert;'

    All deletes are final.