evweb_subscribe.1 (2011 09)
e
evweb_subscribe(1) evweb_subscribe(1)
-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. The follow-
ing lists the severity levels in ascending order of severity:
0 Unknown
1 Normal
2 Other
3 Information
4 Warning
5 Minor
6 Major
7 Critical
Use a colon (
:) to separate an operator and a severity level. Use a comma (
,) to separate two
severity levels. You can also use a space to separate an operator and a severity level. How-
ever, in this case, you should enclose the operator and severity values within double quotes.
You can specify only one
-e switch in a command.
The following are examples of the
-e option:
•
-e ne:2
• -e bw:2,5
• -e "bw 2,5"
• -e eq:4
• -e "eq 4"
• -e 4
-E Lists details of an event subscription. Use the
-n subscription_name switch with the -E
option. The -n switch is mandatory.
The following are examples of the
-E option:
•
evweb subscribe -E -n my_subscription_1
• evweb subscribe -E -h
-f Forces the command without asking for a confirmation. You can use the -f switch only with
the -D option.
The following are examples of the
-f option:
•
evweb subscribe -D -n my_subs_1 -f
-h Displays how to use the evweb subscribe [-L|-E|-C|-M|-D] command.
The following are examples of the
-h option:
•
evweb subscribe -h
-w Write verbose information into syslog. You can use the -w switch only with the -F option.
The following are examples of the
-w option:
•
evweb subscribe -F -e:ge:3 -w
-i Event_ID
Specifies an EventID. Use this option as a part of the subscription criteria. You cannot use
this switch more than once in a command.
The following are examples of the
-i option:
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2011