search cancel

/ALERTS "CLOSE ALL" Command question...

book

Article ID: 225104

calendar_today

Updated On:

Products

NetMaster Network Management for TCP/IP

Issue/Introduction

We're trying to prepare and get ahead of the upcoming Fall (Backwards) Time Changes in the US & UK. 

Is there is a command string I could issue from a timer at 01.59.55 for example to close all open alerts so I don't end up having to do it manually or stop/start the running application to clear alert messages with the "*" character that indicate the time changed after the fact.

 

Environment

Release : 12.2

Component : CA NetMaster Network Management for TCP/IP

Resolution

Created CUSTOM NCL to CLOSE ALL alerts using $amcall

     AUCM0.NMCS8111.TESTEXEC(KGDELAL) - 01.02 
===>                                      
 ***************************** Top of Data ***
 &$AMClsSev = 3                               
 &call proc=$CAPKCAL share=($AM>) +           
 parms=($AMCALL,AlertS_Close)                 
 **************************** Bottom of Data *

It would need to copied into your TESTEXEC library.

Right now - with the following line ONLY deletes SEV 3 alerts.
&$AMClsSev = 3

Remove the '3' to delete ALL the alerts.
This will allow you to test the proc out on different severity alerts.