Administrator's and User's Guide for SFM HP-UX 11i v1 December 2006
For more information on modifying an event subscription using the HP SMH GUI, select Help
on the action pane of the Modify Event Subscription page.
Modifying an Event Subscription Using the CLI
To modify an event subscription using CLI, enter the following command at the HP-UX prompt:
# evweb subscribe -M -n<subscription name> -v<comma separated event
category names> -t <E-mail address>
Where:
-M
is an option used to modify event subscriptions.
-n
is a switch used to specify a name for an event.
-v
is a switch used to specify the category of an event.
-t
is a switch used to specify the location (email address or Event Archive) to store an event.
A message stating that the execution of the evweb subscribe command was successful is
displayed on the screen.
NOTE: The -n switch is mandatory.
You can also use the following switches with the -M option:
• (-e [eq\ne\le\ge\bw] [:] <severity level1>[,<severity level2>])
• (-v <comma separated event category names>)
• (-i <comma separated EventID>)
• (-t (archive\email) [<handler properties>])
• -r
To modify an event subscription, you must specify the criteria and the location. Following are
the ways in which you can modify an event subscription:
• If you do not specify the -r option and the location, the current location is retained and the
subscription criteria are updated.
• If you specify the -r option but not the location, the current location is removed and only
the subscription criteria is updated.
• If you specify both subscription criteria and location, both of them are updated.
• If you specify the location but not the criteria, the location is updated but the original criteria
is retained.
For more information on creating event subscriptions using the CLI, see evweb_subscribe(1).
Copying and Modifying an Event Subscription Using the GUI
To modify an event subscription by copying an existing event subscription, complete the following
steps:
1. Repeat steps 1-5 from “Launching EVWEB for Administration” (page 49).
2. Select the event subscriptions you want to copy, from the event subscription table.
The copy and modify subscription page is displayed.
3. Select the event subscriptions you want to modify by selecting the respective check boxes.
4. Select Copy and modify subscription in the action pane on the top right corner of the page.
The Copy and modify subscription page is displayed.
5. Modify the required fields.
6. Select Modify in the Copy and modify subscription page.
EVWEB modifies the event subscriptions and displays a confirmation message.
52 Administering Indications and Instances Using HP SMH