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 ?
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
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.
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.