General Alerts

You can use general alerts to track alerts for your entire network from one terminal. General alerts are special alerts generated only for the network resources for which you have created monitors. A monitor specifies which resources are monitored for general alerts, the thresholds that determine alerts for that resource, and where to send alert messages each time an alert for that resource is generated.

If you specify an INCLUDE type RLIST as the resource name in the monitor specification (EXCLUDE type RLISTs are not permitted with alerts), the resource list that you defined for the specified resource type is used.

You can define monitors in the following ways:

How Cross-Domain General Alerts Work

Cross-domain general alerts are generated through monitors that are set up for execution on remote regions. To do this, you create a monitor on the local region and specify the NSYXNAME of the remote region . Each region has a unique NSYXNAME defined on the NSYXNAME statement in its INITPRM member or file. You set up connections between the local and remote regions at startup using the CONNECT statement, in the STARTPRM member or file, or online using the CONNECT command.

When you create monitors to execute in a remote region, the remote general alert is sent to the local region. The local region is responsible for sending the alert to the specified local destination.

You can track monitors running in a remote region from the local or remote region using the Monitor Status Display screen. An asterisk by the name indicates that the monitor did not originate locally.

You can track the general alerts generated by the remote monitors using the Global and User Alert displays from the local region only.

General Alerts System Selection Menu

From the General Alerts System Selection Menu, you can do the following:

HOST=IPOX
             *** NETSPY GENERAL ALERTS SYSTEM SELECTION MENU ***

 SELECT AN OPTION
 ====>

         1 - DEFINE MONITORS
         2 - DELETE MONITORS
         3 - DISPLAY MONITOR STATUS
         4 - DISPLAY GLOBAL ALERTS
         5 - DISPLAY USER ALERTS
         6 - ACTIVATE ALERT WARNING
         7 - INACTIVATE ALERT WARNING


F1=HELP  F3=END  F5=APPLS  F6=TERMS  F9=NCPS  F10=LINES  F12=LOGOFF
OPTIONALLY, ENTER A COMMAND BELOW
---->

This menu contains the following options:

Access General Alerts System Selection Menu

To access the General Alerts System Selection Menu, do one of the following:

Monitor Definition Main Menu

From the Monitor Definition Main Menu you can define monitors that generate alerts.

HOST=NQ28
             *** NETSPY MONITOR DEFINITION MAIN MENU ***

   FILL IN FOLLOWING DATA FIELDS TO DEFINE THE MONITOR:

   MONITOR  NAME ===>

   RESOURCE TYPE ===>

   RESOURCE NAME ===>

   TITLE ===>

   INTERVAL IN SECONDS = 30   START TIME = 00:00   STOP TIME = 00:00

   DESTINATION (GLOBAL/USER/CONSOLE/LOG/SMF/SNMP/DB/NETVIEW or NMEPS/ALL) :
   LOG   ,          ,          ,          ,          ,        ,

   DESTINATION NETSPY-TO-NETSPY NAME ===>          (NETSPY RESOURCES ONLY)

F1=HELP  F3=END  F5=APPLS  F6=TERMS  F9=NCPS  F10=LINES  F12=LOGOFF
OPTIONALLY, ENTER A COMMAND BELOW
---->

This menu contains the following fields:

Access Monitor Definition Main Menu

To access the Monitor Definition Main Menu, do one of the following:

How to Create Qualifier Lists in Alert Monitors

You can create qualified RLISTs for LU alert monitors by creating any of the following resource lists before defining the monitor:

To create RLISTs for an LU alert monitor

  1. Select option 8, Resource Lists, from the Main Menu.

    The Resource List Initialization Menu appears.

  2. Create at least two new resource lists:
  3. Enter a monitor name, the resource type LU, and the resource name RLIST at the Monitor Definition Menu.

    Note: Specifying RLIST picks up the qualifier lists you specified in Step 1.

  4. Define thresholds for the resources.

When alerts are generated, they are filtered (qualified) by the application, line, or PU specifications, depending on how you defined the qualifier lists.

Define a Monitor

To define a monitor

  1. Select option 7, Alert Systems, from the Main Menu.

    The General Alert Systems Selection Menu appears.

  2. Select option 1, Define Monitors.

    The Monitor Definition Main Menu appears.

  3. Complete the fields and press Enter.

    The Monitor Definition Menu appears.

    Note: This menu varies depending on the resource type you selected.

  4. Specify at lest one variable (threshold) value and press Enter.

    For more information about the fields, press F1 (Help).

    The following message appears:

    NSY3180 - monitorname MONITOR COMMAND DEFINED SUCCESSFULLY
    

Monitor Deletion Main Menu

HOST=IPOX
             *** NETSPY MONITOR DELETION MAIN MENU ***

   FILL IN FOLLOWING DATA FIELD TO DELETE THE MONITOR:

   MONITOR  NAME =

This menu lets you delete a monitor.

This menu contains the following field:

Access Monitor Deletion Main Menu

To access the Monitor Deletion Main Menu, do one of the following:

Monitor Status Display

This screen displays the status of active monitors.

HOST=XE44*** NETSPY MONITOR STATUS DISPLAY *** 14JUN2006.157 WED 10:59:33 *R* 

 MONITOR   NETSPY   MONITOR   RESOURCE   RESOURCE   ITVL     ALERT     ALERT  
 NAME      NAME     ITVL(SEC)   TYPE       NAME     COUNT    COUNT     PERCENT 
 APPLX     A04IVS20    30.00    APPL     ALL            5        0         0 % 
     ALERT DESTINATIONS: GLOBAL, CONSOLE  
     TITLE: APPLICATION MONITOR 2                            MATCH: ANY 
     AVERAGE HOST RESPONSE TIME      >     0.0   
     TRANSACTION RATE PER MINUTE     >       0   

 APPLEPSX  A04IVS20    30.00    APPL     ALL            5        0         0 % 
     ALERT DESTINATIONS: CONSOLE, NMEPS
     TITLE: APPLICATION MONITOR                              MATCH: ANY  
     AVERAGE HOST RESPONSE TIME      >     0.0  
     TRANSACTION RATE PER MINUTE     >       0 


 F1=HELP    F3=END    F5=APPLS    F6=TERMS    F9=NCPS    F10=LINES    F12=LOGOFF
  OPTIONALLY, ENTER A COMMAND BELOW 
 ---->  

This display defaults to refresh mode. You can take it out of and put it back into refresh mode using Enter and F2, respectively.

This display contains the fields shown in the example above on each monitor that is currently active. If the current time is not between the start time and the stop time, the monitor is not active and does not appear.

Access Monitor Status Display

To access the Monitor Status Display, do one of the following:

Global Alerts Display

The Global Alerts Display shows global general alerts generated by various monitors with a destination of GLOBAL. Each alert specifies the resource type for which the alert occurred and the actual response compared to the threshold for the resource.

HOST=IPOX  *** NETSPY GLOBAL ALERTS DISPLAY ***  02JAN06.003 MON 10:17:49 ***
MONITOR     TIME     DATE    RESOURCE  RESOURCE   FORAPPL    FORLINE    FORPU
 NAME                          NAME      TYPE
LURSPMON  09:49:00  02JAN06  TPXP109      LU      TSO28
   NETSPY: NETSPY    TITLE:  TERMINAL RESPONSE TIME MONITOR
   AVERAGE USER RESPONSE TIME    10.2 EXCEEDS THE THRESHOLD OF     3.0

LURSPMON  09:49:00  02JAN06  TPXP120      LU      TSO28
   NETSPY: NETSPY    TITLE:  TERMINAL RESPONSE TIME MONITOR
   AVERAGE USER RESPONSE TIME     4.8 EXCEEDS THE THRESHOLD OF     3.0

LURSPMON  09:49:00  02JAN06  TPXI009      LU      TSO28
   NETSPY: NETSPY    TITLE:  TERMINAL RESPONSE TIME MONITOR
   AVERAGE USER RESPONSE TIME     3.2 EXCEEDS THE THRESHOLD OF     3.0

APPLMON   09:49:00  02JAN06  SCON28      APPL       N/A        N/A        N/A
   NETSPY: NETSPY    TITLE:  APPLICATION BYTE RATE MONITOR
   BYTE RATE PER SECOND    2016 EXCEEDS THE THRESHOLD OF     1500


F1=HELP  F3=END  F5=APPLS  F6=TERMS  F9=NCPS  F10=LINES  F12=LOGOFF
OPTIONALLY, ENTER A COMMAND BELOW
---->

This display defaults to refresh mode. You can remove and replace into refresh mode using Enter and F2, respectively. To scroll through multiple pages of this display, use the F7 (scroll up) and F8 (scroll down) keys.

This display contains the fields shown on the sample screen above on each global alert that has occurred since the monitor was started.

Access Global Alerts Display

To access the Global Alerts Display, do one of the following:

User Alerts Display

The User Alerts Display shows user general alerts. User alerts are generated by monitors with a destination of USER.

HOST=IPOX  *** NETSPY  USER  ALERTS DISPLAY ***  02JAN06.337 FRI 10:55:34 ***
MONITOR     TIME     DATE    RESOURCE  RESOURCE   FORAPPL    FORLINE    FORPU
 NAME                          NAME      TYPE
TMONITOR  10:50:30  02JAN06  TPXP011      LU      SCON28
   NETSPY: NETSPY    TITLE:  TERMINAL MONITOR FOR HIGH BYTE RATE/SEC
   BYTE RATE PER SECOND          95 EXCEEDS THE THRESHOLD OF   1000

TMONITOR  10:50:30  02JAN06  TPXP121      LU      TSO28
   NETSPY: NETSPY    TITLE:  TERMINAL MONITOR FOR HIGH BYTE RATE/SEC
   BYTE RATE PER SECOND         233 EXCEEDS THE THRESHOLD OF   1000

TMONITOR  10:50:30  02JAN06  TPXP018      LU      TSO28
   NETSPY: NETSPY    TITLE:  TERMINAL MONITOR FOR HIGH BYTE RATE/SEC
   BYTE RATE PER SECOND          95 EXCEEDS THE THRESHOLD      1000

TMONITOR  10:50:00  02JAN06  TPXP001      LU      NSTEST
   NETSPY: NETSPY    TITLE:  TERMINAL MONITOR FOR HIGH BYTE RATE/SEC
   BYTE RATE PER SECOND         387 EXCEEDS THE THRESHOLD OF   1000


F1=HELP  F3=END  F5=APPLS  F6=TERMS  F9=NCPS  F10=LINES  F12=LOGOFF
OPTIONALLY, ENTER A COMMAND BELOW
---->

This display defaults to refresh mode. You can toggle refresh mode on and off using the F2 key. To scroll through multiple pages of this display, use the F7 (scroll up) and F8 (scroll down) keys.

This display contains the fields shown in the sample screen above for each user alert that occurred since the monitor was started.

Access User Alerts Display

To access the User Alerts Display, do one of the following:

Activate Alert Warnings

When alert warnings are activated, you will receive this message at your terminal each time a global alert or a user alert (generated by a monitor that you created) is issued:

NSY3150 - NETSPY ALERTS ISSUED

To activate alert warnings

  1. Choose option 6, Activate Alert Warning, from the General Alert System Selection Menu.

    The following message appears:

    NSY3195- ALERT WARNING FEATURE ACTIVATED
    

Inactivate Alert Warnings

When alert warnings are inactivated, you will not be notified at your terminal each time a global or user alert (generated by a monitor that you created) is issued.

To inactivate alert warnings

  1. Choose option 7, Inactivate Alert Warning, from the General Alert System Selection Menu.

    The following message appears:

    NSY3196 - ALERT WARNING FEATURE INACTIVATED
    


Copyright © 2010 CA. All rights reserved.