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:
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.
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:
Creates monitors.
Deletes monitors.
Displays the status of monitors.
Displays the general global alerts generated through monitors that specify GLOBAL as the routing destination.
Note: All privileged users can view GLOBAL alerts.
Displays the general alerts generated through monitors that specify USER as the routing destination.
Note: Only the user who defined the user alert monitor can view the alerts.
Sends the following warning message to your terminal:
NSY3150 - NETSPY ALERTS ISSUED.
If the alert is a global alert, it is issued at the end of each interval during which an alert is generated. If the alert was a user alert, only the user who defined it would receive the message.
Stops sending an alert warning message to your terminal each time a global or user alert is issued
To access the General Alerts System Selection Menu, do one of the following:
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:
Specifies the name of the monitor.
Limits: Eight characters
Specifies the type of resource that you want to monitor.
Specifies the names of the resources to monitor.
To use the resource list for that resource type, specify RLIST. You can qualify RLISTs for resource type LU by FORAPPL, FORLINE, or FORPU.
You can specify one or more asterisks (*) or question marks (?) in the resource name as follows:
(Optional) Specifies the title of the monitor.
Limits: 48 characters
Specifies the interval at which you want to monitor the resources.
Limits: 30 seconds
The minimum is the value specified on the ALTBITVL statement in the INITPRM member or file. All intervals specified are rounded to the nearest multiple of the ALTBITVL value. If zero is specified as the interval, the ALTBITVL value is used as the interval value.
Specifies the time to start monitoring the resources.
Default: 00:00:00
Specifies the time to stop monitoring the resources.
Default: 00:00:00
Specifies where to send the alert data.
Specifies one or more optional nsyxnames of regions to which you want to send the monitor for execution.
Default: The local region where this monitor is being created.
To access the Monitor Definition Main Menu, do one of the following:
You can create qualified RLISTs for LU alert monitors by creating any of the following resource lists before defining the monitor:
Specifies an application.
Specifies a line.
Specifies a PU.
To create RLISTs for an LU alert monitor
The Resource List Initialization Menu appears.
Note: Specifying RLIST picks up the qualifier lists you specified in Step 1.
When alerts are generated, they are filtered (qualified) by the application, line, or PU specifications, depending on how you defined the qualifier lists.
To define a monitor
The General Alert Systems Selection Menu appears.
The Monitor Definition Main Menu appears.
The Monitor Definition Menu appears.
Note: This menu varies depending on the resource type you selected.
For more information about the fields, press F1 (Help).
The following message appears:
NSY3180 - monitorname MONITOR COMMAND DEFINED SUCCESSFULLY
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:
Specifies the name of the monitor that you want to delete.
To access the Monitor Deletion Main Menu, do one of the following:
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.
To access the Monitor Status Display, do one of the following:
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.
To access the Global Alerts Display, do one of the following:
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.
To access the User Alerts Display, do one of the following:
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
The following message appears:
NSY3195- ALERT WARNING FEATURE ACTIVATED
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
The following message appears:
NSY3196 - ALERT WARNING FEATURE INACTIVATED