DX NetOps

Expand all | Collapse all

Run script when alarm is generated

Jump to Best Answer
  • 1.  Run script when alarm is generated

    Posted 11-22-2018 11:41 AM

    Hello,

     

    Is there a way to run a script when certain alarm is generated on spectrum?

     

    I would like to run a script that deletes logs from a directory when a "full disk" alarm is generated.

     

    Is there a way to do this? if so, how can it be achieved?

     

    If there's any documentation other than the one below, please share it, i have been reading this but haven't been able to achieve my goal.

     

    Spectrum Alarm Notification Manager (SANM) - CA Spectrum - 10.1 to 10.1.2 - CA Technologies Documentation 

    AlarmNotifier - CA Spectrum - 10.1 to 10.1.2 - CA Technologies Documentation 

     

    Regards.



  • 2.  Re: Run script when alarm is generated
    Best Answer

    Broadcom Employee
    Posted 11-26-2018 09:24 AM

    Hi Manuel,

      You can run the AlarmNotifier and edit the $SPECROOT/Notifier/SetScript to add in your custom scripting so that when Alarm X is generated, run script y.

    Cheers

    Jay