evweb_subscribe.1 (2011 09)

e
evweb_subscribe(1) evweb_subscribe(1)
-i 10608
-L Lists a summary of event subscriptions. Use
-b[
internal|external] with the -L option.
The following 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
-o Provider_Name
-t [archive|email
][handler_properties]
-s [syslog]
-r
-h
The -n switch is mandatory.
If the destinations are not specified with the
-m 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.
The following are examples of the
-M option:
evweb subscribe -M -n my_subs_2 -i 1235
-o FPL_IndicationProvider
evweb subscribe -M -n 2my_subs_2 -i 1235 -r
evweb subscribe -M -n my_subs_3 -t archive
evweb subscribe -M -h
-n subscription_name
Specifies the name of the subscription. The subscription name must be unique.
The following are examples of the
-n option:
-n MySubs
-o Provider_Name
Specifies a Provider Name. Use this option as a part of the Subscription Criteria. This option
can be used with the -C (Create) or -M (Modify) option.
evweb subscribe -C -n my_subs -o FPL_IndicationProvider -t
archive
evweb subscribe -M -n my_subs1 -r -i 103 -o MemoryIndicationPro-
viderIA
-r Specifies whether the destination should be modified. This is true only if the subscription cri-
teria are specified as a part of the subscription modification request. Use this option only with
the evweb subscribe -M option.
For
evweb subscribe -M, if you specify only the subscription criteria and not the destina-
tion, then:
If you specify the
-r option, retain the current destination and update the subscription cri-
teria as specified.
If you do not specify the -r option, remove the current destination and update the sub-
scription criteria as specified.
The following are examples of the
-r option:
evweb subscribe -M -n my_subs_2 -i 1235 -r
HP-UX 11i Version 3: September 2011 3 Hewlett-Packard Company 3