DX Unified Infrastructure Management

 View Only
  • 1.  LUA script to deactivate/activate "Convert to Nimsoft Alarm" in snmptd probe

    Posted May 21, 2018 06:27 AM

    Hi,

    We need to suppress the alarms getting generated from snmptd probe during the maintenance window. Now we are activating/deactivating the "Convert to Nimsoft Alarm" manually. Can we do this using LUA script ?

     

    Regards

    Simjith



  • 2.  Re: LUA script to deactivate/activate "Convert to Nimsoft Alarm" in snmptd probe

    Broadcom Employee
    Posted May 21, 2018 12:26 PM

    Hi Simjith

     

    Have you tried using an Auto-Operator (AO) pre-processing rule that excludes all alarms from the snmptd probe? Use the Filter type "exclude", set the Matching Criteria (i.e. Hostname, NMS Probe Name, Severity Level etc) and create an Operating Period. More details on NAS AO Rules below... 

     

    NAS - The Pre-Processing Rules Tab - https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/nas-alarm-server/nas-im-configuration/the-nas-auto-operator-tab#ThenasAuto-OperatorTab-ThePre-ProcessingRulesTab

     

    Please let us know if this works for you. 

     

    Kind regards, 
    Ryan 



  • 3.  Re: LUA script to deactivate/activate "Convert to Nimsoft Alarm" in snmptd probe

    Posted May 22, 2018 01:01 PM

    Hi dunry01,

     

    Is there any other way similar to activating/de-activating profiles under net_connect ?

    If we are using the pre Processing rules, I believe we need to restart NAS after the change.


    Regards

    Simjith



  • 4.  Re: LUA script to deactivate/activate "Convert to Nimsoft Alarm" in snmptd probe

    Broadcom Employee
    Posted May 22, 2018 02:53 PM

    you are correct if you make a change to pre-processing profile you will need to restart nas.

    However if you set it up on a schedule and let it run, once it is setup it should handle you need if the maintenance window is the same time.

     

    But there is no PU call back to deactivate this feature that would allow you do do this via a lua script.