HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
e
evweb_subscribe(1) evweb_subscribe(1)
Lists all subscriptions that are created using tools other than EVWEB.
evweb subscribe -E -n MySubs
Displays details of the subscription named MySubs.
evweb subscribe -C -n MySubs -i Evt002
Creates a subscription named MySubs. The subscription criteria is
EventId=Evt002. Destina-
tion is not selected.
evweb subscribe -C -n MySubs -e 3 -t archive
Creates a subscription named MySubs. The subscription criteria is
severity=3 and
destination=archive
.
evweb subscribe -C -n MySubs -t syslog \
-t "email to:admins@hp.com:cc:test@hp.com"
Creates a subscription named MySubs. The destination is
syslog and email. The e-mail
addresses are
admins@hp.com
(in the To field) and test@hp.com (in the CC
field).
evweb subscribe -C -n MySubs \
-t "email to:admins@hp.com:cc:mgrs@hp.com" \
-t "email to:test@hp.com"
Creates a subscription named MySubs. The subscription criteria are not specified. However, multi-
ple e-mail destination IDs are specified.
evweb subscribe -M -n MySubs -i Evt001 -t archive -t syslog
Modifies the subscription,
MySubs, and changes the subscription criteria to EventId=Evt001.
The destination is modified to
archive and syslog.
evweb subscribe -M -n MySubs -e ge:5
Modifies the subscription,
MySubs, and changes the subscription criteria. The severity is greater
than or equal to 5. The destination is not modified.
evweb subscribe -M -n MySubs -e le:5 -r
Modifies the subscription,
MySubs, and changes the subscription criteria. The severity is less than or
equal to 5. The destination is deleted.
evweb subscribe -D -f -n MySubs
Deletes the subscription, MySubs, without asking for confirmation.
AUTHOR
evweb subscribe is developed by HP.
SEE ALSO
evweb(1), evweb_list(1), evweb_eventviewer(1).
326 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: February 2007