- Hewlett-Packard Monitor User's Guide

Chapter 2
Installing and Using Monitors
Adding a Monitoring Request
50
Example of Adding a Monitoring Request
The following example illustrates the process of adding a monitoring request. In this example a request is
added that will send all CRITICAL events detected by the AutoRAID disk array monitor to an email address
of admin@hp.com.
===================================================================
=========== Monitoring Configuration Main Menu =============
===================================================================
Select:
(S)how current monitoring requests configured via monconfig
(C)heck detailed monitoring status
(L)ist descriptions of available monitors
(A)dd a monitoring request
(D)elete a monitoring request
(M)odify an existing monitoring request
(E)nable Monitoring
(K)ill (disable) monitoring
(H)elp
(Q)uit
Enter selection: [s] a <== SELECT ADD OPTION
===========================================================================
===================== Add Monitoring Request =====================
===========================================================================
Start of edit configuration:
A monitoring request consists of:
A list of monitors to which it applies
A severity range (A relational expression and a severity. For example,
%< "MAJOR WARNING" means events with a severity "INFORMATION" and
"MINOR WARNING")
A notification method
Please answer the following questions to specify a monitoring request.
Monitors to which this configuration can apply:
1) /storage/events/disk_arrays/AutoRAID
2) /storage/events/disks/default
3) /adapters/events/FC_adapter
4) /connectivity/events/multiplexors/FC_SCSI_mux
5) /storage/events/enclosures/ses_enclosure
6) /storage/events/tapes/SCSI_tape
7) /storage/events/disk_arrays/FW_SCSI
8) /storage/events/disk_arrays/High_Availability
Enter monitor numbers separated by commas
{or (A)ll monitors, (Q)uit, (H)elp} [a] 1 <== SELECT AUTORAID MONITOR
Criteria Thresholds:
1) Informational 2) Minor Warning 3) Major Warning
4) Serious 5) Critical
Enter selection {or (Q)uit,(H)elp} [4] 5 <== SELECT ONLY
CRITICAL EVENTS
Criteria Operator:
1) %< 2) %<= 3) > 4) >= 5) = 6) !
Enter selection {or (Q)uit,(H)elp} [4] 5 <== (=CRITICAL)
Notification Method:
1) UDP 2) TCP 3) OPC 4) SNMP
5) TEXTLOG 6) SYSLOG 7) EMAIL 8) CONSOLE
Enter selection {or (Q)uit,(H)elp} [7] <== SELECT EMAIL
ADDRESS FOR