 |
» |
|
|
 |
This section describes how to use Evweb for administrative tasks, such as creating
and managing subscriptions for indications. This section discusses the following topics:  |  |  |  |  | NOTE: You must be an administrator to create, modify,
and delete event subscriptions. |  |  |  |  |
Overview |  |
SFM includes a user component called Evweb, which enables you to administer and view WBEM indications generated on
the local system on which SFM is installed. Evweb includes the following components: Event Subscription Administration – to subscribe
to indications Event Viewer – to view indications present in the
Event Archive Indication Consumer for Event Archive – to store
indications in the Event Archive Indication Consumer for E-mail – to send indications
to your e-mail address Event Archive database – to include indications
you have subscribed to
Evweb provides the following user interfaces to create and manage event
subscriptions and view indications: Browser-based Graphical
User Interface (GUI) Command-Line Interface (CLI)
Evweb supports the following user groups: In the CLI, any user with root privileges is an administrator. However, in the HP SMH GUI, the user groups
in Evweb are mapped to the user groups defined in HP SMH. The Administrator user group in HP SMH maps to
administrators in Evweb. The Operator and the User user group in HP
SMH map to non-administrators in Evweb. Launching Evweb for Administration |  |
You can launch Evweb either through the CLI or
through the HP SMH GUI. To launch Evweb using the CLI, enter the following command at the HP-UX prompt: # Evweb subscribe To use HP SMH GUI to launch Evweb for administering
event subscription, complete the following
steps: Log
in to HP SMH. To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of the Web browser. The HP SMH login screen
is displayed. Enter
your user name and password in the appropriate text boxes. Click
Sign In on the login screen. The HP SMH
home page is displayed. Select
Tools in the main menu. The Tools page is
displayed. This page displays the applications that are plugged into
HP SMH. Select
Subscription Administration in Evweb box. The Event Subscription Administration
page is displayed.
You can perform various administrative tasks such
as creating, modifying, and deleting event subscriptions on this page. Creating Evweb Event Subscriptions |  |
You can create event subscriptions for the WBEM indications you are interested
in monitoring. You can create the following types of event subscriptions
using Evweb: Admin Defined event subscriptions – Event subscriptions
that are created using Admin-Defined filters are called Admin Defined
event subscriptions. You can modify the Admin-Defined filters using
the sfmconfig command to modify the Admin-Defined
event subscriptions. 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.
 |  |  |  |  | NOTE: Monitoring requests created using monconfig are independent
of the subscriptions created using Evweb. These two types of subscriptions
can have different settings and coexist. |  |  |  |  |
Creating an Event Subscription Using GUITo create a new event subscription, complete the
following steps: Repeat
steps 1-5 from “Launching Evweb for Administration”. Select
Create subscription in the action pane on the top right corner of
the page. The Create Subscription page is
displayed. 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.In the EMS hardware monitoring mode, by design, Evweb associates
the default throttling configuration with the subscription. As a result,
user defined throttling configurations are not effective. |  |  |  |  |
To
view the command line equivalent of creating event subscriptions using
GUI, click Preview on the Create
Subscription page. This step is optional. Select Create on the Create Subscription page. Evweb creates the event subscription and displays a
confirmation message. 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 Event Subscription Using CLITo create an event subscription using CLI, enter
the following command at the HP-UX prompt: # Evweb subscribe -C -n <subscription name> -v<comma\ separated event category names> Where: - -C
is an option used to create
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.
A message stating that the execution of the Evweb subscribe command was successful is displayed on
the screen.
 |  |  |  |  | NOTE: The -n and the -v switches
are mandatory. |  |  |  |  |
You can also use the following switches with the -C option: (-e [eq\ne\le\ge\bw] [:] <severity level1>[,<severity level2>]) (-v <comma separated
event category names>) (-i <comma separated
Event #>) (-t (archive|e-mail) [<destination properties>]) -g<throttling configuration
name>
For more information on creating event subscriptions
using CLI, see Evweb_subscribe(1). Copying and Creating a New Event Subscription Using GUIYou can reuse the existing subscriptions for creating
a new subscription. To create a new event subscription by copying
an existing event subscription, complete the following steps: For more information on creating an event subscription by copying an existing
event subscription using the GUI, select Help on the action pane of the Copy and Create Subscription page. Modifying Evweb Event Subscriptions |  |
You can modify an event subscription by modifying
the criteria and location. However, the fields that you are allowed
to modify depend on the type of event subscription you select. You
can modify more than one subscription at a time.  |  |  |  |  | NOTE: The HP Known event subscriptions are classified as HP Advised
and Admin Defined. |  |  |  |  |
In HP Advised event subscriptions, the events
are stored in the event archive by default. The default location of
the events cannot be modified. However, you can direct the events
to your email address. You cannot change any other subscription criteria. In Admin Defined event subscriptions, the events
are stored in the event archive by default. The default location of
the events can be modified. You can store events in the event archive,
direct them to your e-mail address, or do both. You cannot change
any other subscription criteria. In event subscriptions created through Evweb,
you can change all criteria except the subscription name. You can modify an event subscription in the following
ways: Modify a single event subscription. You
can modify a single event subscription using the modify feature by
selecting the event subscription from the event subscription table. Modify similar criteria in multiple event subscriptions. You can modify similar criteria in multiple event subscriptions
by using the Copy and Modify subscription feature.
Modifying an Event Subscription Using GUITo modify an event subscription, complete the
following steps: Repeat
steps 1-5 from “Launching Evweb for Administration”. Select
Modify subscription in the action pane on the top right corner of
the page. The Modify subscription page is
displayed. Select
the event subscription, which you want to modify, from the event subscription
table. Modify
the required fields.  |  |  |  |  | NOTE: You can modify a throttling configuration in both EMS and SFM
hardware monitoring mode. However, In the EMS hardware monitoring
mode, only the default throttling configuration is effective. |  |  |  |  |
To
view the command line equivalent of modifying event subscriptions
using GUI, click Preview on the Modify
subscription page. This step is optional. Select Modify in the Modify subscription page. Evweb modifies the event subscription and displays a
confirmation message. Click OK on the confirmation message window.
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 CLITo modify an event subscription using CLI, enter
the following command at the HP-UX prompt: # Evweb subscribe -M -n<subscription name> -v<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 (e-mail address or Event Archive) of 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 <event category
names>) (-t (archive|e-mail) [<destination properties>]) -g<throttling configuration
name>
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). Deleting Evweb Event Subscriptions |  |
You must periodically delete event subscriptions that are not required. You
can delete a single event subscription or multiple event subscriptions
at a time. Configuring E-mail Consumer |  |
The E-mail Consumer is a component of Evweb that receives indications
from the WBEM Services, and redirects them to an SMTP server. Normally,
the local system itself is the e-mail server. In such cases, you need
not configure the E-mail Consumer. If the e-mail server is not on the local system,
you must configure the E-mail Consumer. To configure the E-mail Consumer, complete the
following steps: Open
the /var/opt/sfm/conf/Evweb.conf file on the system. Change
the IP address, FULLNAME, and the FROMADDR (From Address) of the host
and save the file. The IP address is the
address of the e-mail server. The FULLNAME refers to the complete
name of the e-mail server. The FROMADDR refers to e-mail address that
sends the event notifications. Following is a sample Evweb.conf file with IP address, FULLNAME, and the FROMADDR configured: <Evweb>
<CONSUMER>
<EMAILCONSUMER>
<EMAILSERVER>
<IP>127.0.0.1</IP>
<FULLNAME>localhost</FULLNAME>
</EMAILSERVER>
<FROMADDR>Evweb@hp.com</FROMADDR>
</EMAILCONSUMER>
</CONSUMER>
</Evweb> |
Enter
the following command at the HP-UX prompt: # sfmconfig -c /var/opt/sfm/conf/Evweb.conf
The following message is displayed at the HP-UX
prompt: loaded the control provider The E-mail Consumer is successfully configured.
|