HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
e
evweb_subscribe(1) evweb_subscribe(1)
NAME
evweb_subscribe - enables you to view, create, modify, and delete event subscriptions
SYNOPSIS
evweb subscribe
{-L [ -b|
-h ]}
{
-E [ -h|
-n ]}
{
-C [ -e|
-h|-i|-n|-r|-t|-v ]}
{
-M [ -e|-h
|-i|-n|-r|-t|-v }
{
-D [ -f|-n
]}
DESCRIPTION
The
evweb subscribe command enables you to create (
-C), delete (-D), modify (-M), list (-L
), and
view detailed information (
-E) about subscriptions.
The options -L, -E
, -C, -M, and -D are mutually exclusive. They can be used with other switches such as
-b, -e, -f
, -h, -i, -n, and -v.
Options
The
evweb subscribe command supports the following options:
-b[internal|external]
Specifies whether the list of categories must display internal or external subscriptions.
Subscriptions created by tools other than evweb are referred to as external subscriptions.
The default value is internal. Following are the examples of the
-b option:
•
-b external
-C
Creates a new subscription. The following switches can be used along with this option:
• -n subscription_name
• -e [eq|ne|le|ge|bw]:severity_level1
[,severity_level2]
• -v [event_category]
•
-i Event_ID
• -t [archive|syslog|email][handler_properties]
•
-r
• -h
The -n switch is mandatory. Following are the examples of the
-C option:
•
evweb subscribe -C -n my_subs_2 -i 1234
• evweb subscribe -C -h
-D
Deletes a subscription. Use the following switches with this option:
• -n subscription_name
• -f
The -n switch is mandatory. Following are the examples of the
-D option:
•
evweb subscribe -D -n my_subs_1
• evweb subscribe -D -h
-e [eq|ne|le|ge|bw]:
severity_level1[,severity_level2
]
Specifies severity as a part of the subscription criteria. Severity is represented by an operator
followed by the severity values. The following operators can be used:
eq equal to (default)
ne not equal to
le less than or equal to
ge greater than or equal to
bw between
The default value of operator is eq. You must use only one operator at a time. To use the bw
operator, you must specify the lower and upper severity levels. For all other operators, you must
specify only one severity level.
The severity level ranges from 0 to 7, where 0 is least severe and 7 is most severe. Following
lists the severity levels in ascending order of severity:
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 323