HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

e
evweb_subscribe(1) evweb_subscribe(1)
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. However,
in this case, you should enclose the operator and severity values within double quotes. You can
specify only one
-e switch in a command. Following are the 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
-n subscription_name with this option. The -n
switch is mandatory. Following are the 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 this switch only with the
-D option. Following are the 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. Following are
the examples of the
-h option:
evweb subscribe -h
-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. Following are the examples of the
-i option:
-i 10608
-L
Lists a summary of event subscriptions. Use
-b[internal|external] with this option. Fol-
lowing are the examples of the
-L option:
evweb subscribe -L -b
evweb subscribe -L -b internal
evweb subscribe -L -b external
evweb subscribe -L -h
-M
Modifies a 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.
If the destinations are not specified with this option, then the behavior depends on the usage
of -r option. For more information, see the description of the -r option.
If both the subscription criteria and the destination are specified, both of them are updated.
If the destination is specified but not the subscription criteria, the destination is updated and
the original subscription criteria are retained.
324 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007