Administrator's and User's Guide for SFM HP-UX 11i v3 March 2013

31). You cannot use the evweb list, evweb subscribe, or the evweb eventviewer command to
create and delete Admin Defined event subscriptions.
Event subscriptions created using the HP SMH GUI (Event subscription administration) – You
can create these event subscriptions using the GUI or the CLI. You can modify and delete the
event subscriptions that are created using Event subscription administration.
To create an event subscription using Event subscription administration, you must specify the
following:
A unique name for the event subscription
Criteria such as device, event ID, and the severity of the event
The location where the event must be stored
You can create an event subscription using the following methods:
Create a completely new event subscription.
Copy an existing event subscription and modify it.
Creating an event subscription using the GUI
To create a new event subscription, complete the following steps:
1. Repeat steps 1-5 from “Launching Evweb for administration” (page 52).
2. Select Create subscription in the action pane on the top right corner of the Event subscription
administration page.
The Create subscription page is displayed.
3. Provide appropriate information in the fields present in the Create subscription page.
NOTE: It is mandatory to specify a unique name for creating an event subscription.
4. To view the command line equivalent of creating event subscriptions using GUI, click Preview
on the Create subscription page. This step is optional.
5. Select Create on the Create subscription page.
Evweb creates the event subscription and displays a confirmation message.
6. Click OK on the confirmation message window.
For more information on creating subscription using the HP SMH GUI, select Help on the action
pane of the Create subscription page.
Creating an event subscription using the CLI
To create an event subscription using the CLI, enter the following command at the HP-UX prompt:
# evweb subscribe -C -n <subscription name>
Where:
-C is an option used to create event subscriptions.
-n is a switch used to specify a name for an event subscriptions.
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 -C option:
(-e [eq|ne|le|ge|bw][:] <severity level1>[,<severity level2>])
(-i <EventID>)
Administering indications using Evweb 53