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 v2 > Chapter 5 Administering Indications and Instances Using HP SMH

Viewing Indications

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes how to perform non-administration tasks related to viewing WBEM indications using EVWEB.

This section discusses the following topics:

NOTE: EVWEB enables both administrators and non-administrators to search and view WBEM events. However, only administrators can delete WBEM events.

Overview

The Event Viewer enables you to view, search, and delete WBEM events that are present in the Event Archive. It also enables you to view detailed and summary information of WBEM events. You can also search for WBEM events stored in the Event Archive using the quick search and advanced search features. To enhance search results, the Event Archive is divided into Current and History Event Archive. By default, the Current Event Archive contains the latest events that are generated on an HP-UX 11i v2 system.

The events stored in the Current Event Archive are automatically moved to the History Event Archive based on the following parameters, which ever occurs first:

  • The events are older than 10 days.

  • The page size of the Current Event Archive is greater than 100.

Events older than 365 days are purged from the History Event Archive. This results in a phased elimination of old events.

However, these parameters are configurable. To change the settings, the administrator must configure the /opt/sfm/conf/DBConfig.xml and the /opt/sfm/data/DBInternalConfig.xml policy files. The new settings are effective when a cron job is executed subsequent to these changes.

Following is a part of the /opt/sfm/conf/DBConfig.xml policy file:

<SFMConfig>
	<EvwebDBConfig>
		<PageSize>100</PageSize>
 		<DBRecordLifeTime>10</DBRecordLifeTime>
		<ArchedRecordLifetime>365</ArchedRecordLifetime>
	</EvwebDBConfig>
</SFMConfig>

The maximum page size is 400, and each page can have 70 records of 4 Kb each. The DBRecordLifeTime indicates the threshold time in days. The maximum threshold time is 10 days. The error logs are in the Current Event Archive for 10 days. The ArchedRecordLifetime is also measured in days and is set to 365 days (one year). It specifies that the WBEM events are stored in the History Event Archive for one year.

The modifications in the DBConfig.xml file is effective when the cron job runs subsequent to the changes.

Following is a part of the /opt/sfm/data/DBInternalConfig.xml policy file:

<SFMConfig>
	<EvwebDBInternalConfig>
		<InternalTimePeriodForJob>0.25</InternalTimePeriodForJob>
 		<IntervalForArchivingJobExecution>2</IntervalForArchivingJobExecution>
	</EvwebDBInternalConfig>
</SFMConfig>

The IntervalForArchivingJobExecution is measured in days. This parameter indicates the time interval within which a cron job for archiving the events is executed. The InternalTimePeriodForJob is also measured in days. HP recommends that you do not modify InternalTimePeriodForJob.

The modifications made to the IntervalForArchivingJobExecution tag is effective when the cron job runs subsequent to the changes.

Launching EVWEB for Viewing WBEM Indications

You can launch EVWEB either through the CLI or the GUI.

To Launch EVWEB using the CLI, enter the following command at the HP-UX prompt:

# evweb <eventviewer|list>

To Launch EVWEB for viewing WBEM indications using the HP SMH GUI, 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 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 Logs in the main menu.

    The Logs page is displayed. This page displays various applications that are plugged into HP SMH.

  5. Select Event Viewer in Evweb box.

    The Event Viewer page is displayed.

You can view and delete WBEM indications using the Event Viewer.

Searching WBEM Events

You can search for WBEM events that are stored in the Event Archive using either the GUI or the CLI.

Searching WBEM Events Using GUI

The Event Viewer GUI provides quick search and advanced search options to search for WBEM events.

To do a quick search of WBEM events, based on the severity of the event, complete the following steps:

  1. Repeat steps 1-5 from “Launching EVWEB for Viewing WBEM Indications”.

  2. Select Critical to search for critical events.

    Similarly, select Major, Minor, Warning, Information, Other, Normal, or Unknown to search for the respective WBEM events.

  3. To view all events, select All Events.

For more information on performing a quick search of WBEM events using the HP SMH GUI, select Help on the action pane of the List Events page.

To perform an advanced search of WBEM events, complete the following steps:

  1. Repeat steps 1-5 from “Launching EVWEB for Viewing WBEM Indications”.

  2. Select Advanced Search on the right pane of the Event Viewer page.

    The Advanced Search page is displayed.

  3. Provide appropriate information in the text boxes and fields present in the Advanced Search page.

  4. Click Search on the Advanced Search page.

Based on the search criteria, the WBEM events are displayed in a tabular format in the Event Viewer page.

For more information on searching for WBEM events using GUI, select Help on the action pane of the Advanced Search page.

Searching WBEM Events Using CLI

To search WBEM events using the CLI, enter the following command at the HP-UX prompt:

# evweb eventviewer -L

Where:

-L

is an option used to list all the WBEM event.

A list of WBEM events is displayed on the screen.

You can also use the following switches with the -L option:

  • -e [eq|ne|le|ge|bw] [:] <severity level1>[,<severity level2>]

  • -v <event category names>

  • -i <Event #>

  • -r[is|be|en|co][:] <search string>

  • -a(<number for age>(:)(yy|mm|dd|hh)

  • -t[eq|le|ge|bw] (<mm:dd:yyyy:hh:mi:ss>)[,<mm:dd:yyyy:hh:mi:ss>]

  • -s[asc|desc] <summary list column name>

  • -o(<offset number>)

  • -c(<count of events>)

For information on searching WBEM events, using the CLI, see evweb_eventviewer(1).

Viewing Summary Information About WBEM Events

You can view summary information about events stored in the Event Archive database.

Viewing Summary Information Using GUI

To view summary information about WBEM events, repeat steps 1-5 from “Launching EVWEB for Viewing WBEM Indications”.

The List Events page is displayed. The List Event tables displays summary information about WBEM events that are stored in the event archive.

For more information on viewing summary information of WBEM events using GUI, select Help on the action pane of the List Events page.

Viewing Summary Information Using CLI

To search WBEM events using the CLI, enter the following command at the HP-UX prompt:

# evweb eventviewer -L -x -f

Where:

-L

is an option used to list all the WBEM events.

-x

is a switch used to display the summary and detailed information of all events matching the search criteria.

-f

is an optional switch used to force the command. The -f switch can be used only with the -x switch.

A list of WBEM events is displayed on the screen.

Viewing Detailed Information About WBEM Events

You can view the details of an WBEM event using EVWEB. The details of an event appear at the end of the List Events table only when you select an event from the List Events table.

Viewing Detailed Information Using GUI

To view detailed information about WBEM events, complete the following steps:

  1. Repeat steps 1-5 from “Launching EVWEB for Viewing WBEM Indications”.

  2. Select the desired WBEM event in the List Events table.

    The Details of the Event page is displayed. This includes a table that details the WBEM events.

For information on viewing detailed information of WBEM events using GUI, select Help on the action pane of the List Events page.

Viewing Detailed Information Using CLI

To view detailed information on WBEM events using the CLI, enter the following command at the HP-UX prompt:

# evweb eventviewer -E -n <event #>

Where:

-L

is an option used to list all the WBEM events.

-n

is a switch used specify the event ID of the WBEM event.

The details of the specified event such as the summary, event archive number, archive time, description, probable cause, and recommended actions for the error are displayed.

For information on viewing detailed information of WBEM events using the CLI, see evweb_eventviewer(1).

Deleting WBEM Events from the Event Archive

You can delete a single event or multiple events at a time.

Deleting an Event Using GUI

To delete an event, complete the following steps:

  1. Repeat steps 1-5 from “Launching EVWEB for Viewing WBEM Indications”.

  2. Select Delete Events in the action pane on the top right corner of the page.

    The Delete Events page is displayed.

  3. Select the event you want to delete by selecting the appropriate check box.

    You can delete more than one WEBM event at a time.

  4. Select Delete in the List Events page.

    EVWEB deletes the event from the event archive database and displays a confirmation message.

  5. Click OK on the confirmation message window.

For information on deleting WBEM events using the HP SMH GUI, select Help on the action pane of the Delete Events page.

Deleting an Event Using CLI

To delete WBEM events using CLI, enter the following command at the HP-UX prompt:

# evweb eventviewer -D

Where:

-D

is an option used to delete all the WBEM events.

You can also use the following switches with the -D option:

  • -e [eq\ne\le\ge\bw] [:] <severity level1>[,<severity level2>]

  • -v <cevent category names>

  • -i <Event #>

  • -r[is\be\en\co][:](<string to be searched>)

  • -a(<number for age>(:)(yy\mm\dd\hh)

  • -t[eq\le\ge\bw] (<mm:dd:yyyy:hh:mi:ss>)[,<mm:dd:yyyy:hh:mi:ss>]

  • -s[asc\desc] (<summary list column name>)

  • -f

  • -n <comma separated Event Numbers>

For information on deleting WBEM events using the CLI, see evweb_eventviewer(1).

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