Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Fault Management Administrator's Guide: HP-UX 11i v1 > Chapter 4 Administering Indications and Instances Using HP SMH

Administering Indications Using EVWEB

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes how to use EVWEB for administrative tasks, such as creating and managing subscriptions.

This section discusses the following tasks:

NOTE: You must be an administrator to create, modify, and delete event subscriptions.

Overview

SFM includes a user component called EVWEB that enables you to administer and view WBEM indications generated on the 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 Email - to send indications to your email 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:

  • Administrator

  • Non-administrator

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.

NOTE: For information on how to configure user groups in HP SMH, see the HP System Management Homepage User’s Guide at:

http://www.docs.hp.com

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:

# /opt/sfm/bin/evweb subscribe

NOTE: To avoid the use of the absolute path for the command, you must add /opt/sfm/bin to the PATH variable in the .profile file. Alternatively, you can enter the following command at the HP-UX prompt:

# export PATH=$PATH:/opt/sfm/bin

To use HP SMH GUI to launch EVWEB for administering event subscription, complete the following steps:

  1. 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.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools in the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in Evweb.

    The Event Subscription Administration page is displayed.

You can perform various administrative tasks, such as creating, modifying, and deleting event subscriptions on this page.

Configuring Email Consumer

The Email 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 email server. In such cases, you need not configure the Email Consumer.

If the email server is not on the local system, you must configure the Email Consumer.

To configure the Email Consumer, complete the following steps:

  1. Open the /opt/sfm/conf/evweb.conf file on the system.

  2. 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 email server. The FULLNAME refers to the complete name of the email server. The FROMADDR refers to your email address.

    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>

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 created using the fmdcontrol command are called Admin-Defined event subscriptions. You can modify and delete Admin-Defined event subscriptions using the fmdcontrol command. You cannot use the evweb_list, evweb_subscribe, or the evweb_eventviewer command to create and delete Admin-Defined event subscriptions. For more information on the fmdcontrol command, see “Configuring Indication Filters”.

  • 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. Log in to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools on the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in the Evweb box.

    The Event Subscription Administration page is displayed.

  6. Select Create subscription in the action pane on the top right corner of the page.

    The Create Subscription page is displayed.

  7. Enter appropriate information in the fields present in the Create Subscription page.

  8. Select Create.

    EVWEB creates the event subscription and displays a confirmation message.

  9. 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 the CLI

To 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 EventID>)

  • (-t (archive\email) [<handler properties>])

  • -r

For more information on creating event subscriptions using CLI, see evweb_subscribe(1).

Copying and Creating a New Event Subscription Using the GUI

To create a new event subscription by copying an existing event subscription, complete the following steps:

  1. Log in to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools on the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in the Evweb box.

    The Event Subscription Administration page is displayed.

  6. Select the event subscription you want to copy, from the event subscription table.

  7. Select Copy and create subscription in the action pane on the top right corner of the page.

    The Copy and create subscription page is displayed.

  8. Modify the required fields.

  9. IMPORTANT: The subscription criteria is not copied when you copy an HP-Advised event subscription. Therefore, ensure that you specify the subscription criteria in the Copy and Create Subscription page.
  10. Select Create.

    EVWEB creates the event subscription and displays a confirmation message.

  11. Click OK on the confirmation message window.

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.

NOTE: The HP-Known event subscriptions are classified as HP-Advised and Admin-Defined.

In HP-Advised event subscriptions, you can change only the event archive location.

In Admin-Defined event subscriptions, you can change both event archive and email addresses.

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 the GUI

To modify an event subscription, complete the following steps:

  1. Log in to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools on the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in the Evweb box.

    The Event Subscription Administration page is displayed.

  6. Select Modify subscription in the action pane on the top right corner of the page.

    The Modify subscription page is displayed.

  7. Modify the required fields.

  8. Select Modify.

    EVWEB modifies the event subscription and displays a confirmation message.

  9. 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 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 and the -v switches are 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. Log in to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools on the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in the Evweb box.

    The Event Subscription Administration page is displayed.

  6. Select the event subscriptions you want to modify by selecting the respective check boxes.

  7. 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.

  8. Modify the required fields.

  9. Select Create.

    EVWEB modifies the event subscriptions and displays a confirmation message.

  10. Click OK on the confirmation message window.

IMPORTANT: The subscription criteria is not copied when you copy an HP-Advised event subscription. Therefore, make sure that you specify the subscription criteria in the Copy and modify subscription page.

For more information on copying and modifying an event subscription using the HP SMH GUI, select Help on the action pane of the Copy and Modify Event Subscription page.

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.

Deleting an Event Subscription Using the GUI

To delete an event subscription, complete the following steps:

  1. Log on to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Tools on the main menu.

    The Tools page is displayed. This page displays the applications that are plugged into HP SMH.

  5. Select Subscription Administration in the Evweb box.

    The Event Subscription Administration page is displayed.

  6. Select Delete subscription in the action pane on the top right corner of the page.

    The Delete subscriptions page is displayed.

  7. Select the event subscriptions you want to delete, by selecting the appropriate check boxes.

  8. Select Delete.

    The event subscriptions are deleted and a confirmation message is displayed.

  9. Click OK on the confirmation message window.

NOTE: You cannot delete HP-Advised event subscriptions and Admin-Defined event subscriptions.

For more information on deleting an event subscription using the HP SMH GUI, select Help on the action pane of the Delete Event Subscription page.

NOTE: HP recommends deleting all unwanted event subscriptions. Retaining a large number of event subscriptions may increase the size of the archive, and may affect the tasks you perform using Event Subscriptions Administration.

Deleting an Event Subscription Using the CLI

To delete an event subscription using the CLI, enter the following command at the HP-UX prompt:

# evweb subscribe -D -f -n <subscription name>

NOTE: The -n switch is mandatory.

Where:

-D

is an option used to delete event subscriptions.

-n

is a switch used to specify a name for an event.

-f

is a switch used to force the command. This switch can be used only with the -D option. If the -f switch is not used, EVWEB prompts for a confirmation before deleting an event subscription.

A message stating that the execution of the evweb subscribe command was successful is displayed on the screen.

For more information on deleting event subscriptions using the CLI, see evweb_subscribe(1).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.