HP EMS HARDWARE S B6191-90028 manual File Names, File Format, Monitor Configuration File Entries

Page 87

Hardware Monitor Configuration Files

Monitor Configuration Files

File Names

Global configuration file: /var/stm/config/tools/monitor/Global.cfg

The file naming convention for the startup configuration files is:

/var/stm/config/tools/monitor/monitor_name.cfg

monitorname is the name of the monitor executable

File Format

Settings in the device configuration file use the following conventions:

Configuration settings consist of a term defining the characteristic to be configured, followed by a value assigned to the term.

For example, POLL_INTERVAL 60

There must be at least one space between the term and each value.

Comments begin with the pound character (#) and continue until the end of the line. A comment may occur on a line by itself, or after a blank space following the value in a configuration entry.

For example, either of the following are valid comments:

# Valid values for severity_name are:

SEVERITY_ACTION CRITICAL NOTIFY # notify on critical events

Table 5-1lists the common fields used to define monitor configuration settings. In addition to the common parameters, some monitors include other parameters in their configuration file. Any additional configuration parameters used by each monitor are listed in the monitor descriptions in the data sheets for the hardware event monitors available on the Web at http://docs.hp.com/hpux/onlinedocs/diag/ems/emd_summ.htm.

NOTE

An HP-UX man page is available for each monitor. To access the man page, type (where

 

monitorname is the executable file listed in the data sheet): man monitorname

 

 

 

 

 

Table 5-1

 

Monitor Configuration File Entries

 

 

 

 

 

 

 

 

Setting

Values

Description

 

 

 

 

 

 

 

SEVERITY_ACTION

Valid severity values

Defines whether the

 

 

<severity> <action>

are:

monitor should report or

 

 

 

CRITICAL

ignore events for the

 

 

 

indicated severity level.

 

 

 

SERIOUS

 

 

 

 

 

 

 

MAJOR_WARNING

 

 

 

 

MINOR_WARNING

 

 

 

 

INFORMATIONAL

 

 

 

 

Valid action values are:

 

 

 

 

NOTIFY

 

 

 

 

IGNORE

 

 

 

 

 

 

Chapter 5

87

Image 87
Contents Manufacturing Part Number B6191-90028 September EMS Hardware Monitors Users GuideLegal Notices Printing History Page Contents Hardware Monitor Configuration Files Using the Peripheral Status MonitorSpecial Procedures Contents About This Manual Related Web Site Introduction Hardware Monitoring Overview What is Hardware Monitoring?Components Involved in Hardware Monitoring How Does Hardware Monitoring Work?Benefits of Hardware Monitoring Products Supported by Hardware Monitors Tips for Hardware Monitoring Hardware Monitoring Terms Hardware Monitoring TermsTerm Definition Hardware Monitoring Terms Introduction Hardware Monitoring Overview Chapter Installing and Using Monitors Steps Involved Steps for Installing and Configuring Hardware Monitoring Supported System Configuration Installing EMS Hardware MonitorsRemoving EMS Hardware Monitors Checking for Special Requirements Disk ArraysProduct Model/Product Special Number Requirements Tape Products all supported by the Scsi Tape Devices Monitor Disk ProductsFibre Channel Scsi Multiplexers High Availability Storage SystemsFibre Channel Adapters Fibre Channel Arbitrated Loop FC-AL HubProduct Model/Product Special Requirements Number Fibre Channel Switch MemorySystem Others Interface CardsUsing Hardware Monitoring Requests What Is a Monitoring Request?Some Monitoring Request Examples Building a Monitoring Request To run the Monitoring Request Manager, type Running the Monitoring Request ManagerEnabling Hardware Event Monitoring Default Monitoring Requests 13 Default Monitoring Requests for Each MonitorSeverity Levels Notification Method To list the descriptions of available monitors Listing Monitor DescriptionsTo view or show the current monitoring requests Viewing Current Monitoring RequestsTo add a monitoring request Adding a Monitoring RequestSetting Description 14 Monitoring Requests Configuration Settings15 Event Severity Levels Event Description MC/ServiceGuard Severity Response LevelEvent Severity Levels Example of Adding a Monitoring Request == ADD Comment To modify a monitoring request Modifying Monitoring RequestsVerifying Hardware Event Monitoring Events = Checking Detailed Monitoring StatusSample Event Message Retrieving and Interpreting Event MessagesTo delete a monitoring request Deleting Monitoring RequestsDisabling Hardware Event Monitoring To disable hardware event monitoringDetailed Description Hardware Monitoring Architecture Detailed Picture of Hardware MonitoringHardware Monitoring Request Manager Components from Three Different ApplicationsEMS Hardware Event Monitor Polling or Asynchronous?Startup Client Peripheral Status Monitor PSM Event Monitoring Service EMSFile Locations 1File LocationsDirectories and Files Description Monitoring Startup Process Startup Process in DetailDisabling Monitoring Event Decoding Asynchronous Event Detection in DetailAsynchronous Event Detection Process FC-AL Hub and FC Switch Polling Processes Event Polling in DetailMemory Monitor Polling Monitoring Polling Process Memory Monitor Polling Process Detailed Picture of Hardware Monitoring Chapter Using the Peripheral Status Monitor Peripheral Status Monitor Overview How Does the PSM Work? Peripheral Status Monitor PSM Status PSM ComponentsPSM States PSM Resource PathsHow Does the PSM Work? Chapter To create a package resource dependency Configuring Package Dependencies using SAMResourcepollinginterval Resourceupvalue =UP Creating EMS Monitoring Requests for PSM To create a PSM monitoring requestFrom the Actions menu select Add Monitoring Request Determining the Frequency of Events Options Specifying When to Send Event NotifySetting the Polling Interval Polling Interval Monitoring Request ParametersTo set the opcmsg ITO Selecting Protocols for Sending Events Notify ViaOpcmsg ITO Critical Major Minor NormalTo set for email notification To set the Snmp trapTCP and UDP To set the TCP or UDP conditionsAdding a Notification Comment Comment Copying Monitoring Requests To change the monitoring parameters of a request To remove monitoring requests Removing Monitoring RequestsViewing Monitoring Requests To view the parameters for a monitoring requestFrom the Actions menu select View Monitoring Request Using the setfixed Utility to Restore Hardware UP State To restore the operating state of a resource to UPExample 4-1 Example of Using setfixed Using the Peripheral Status Monitor Hardware Monitor Configuration Files Monitor Configuration Files File Format Monitor Configuration File EntriesSetting Values Description File NamesEventnum must be a Interval must be aFrequency must be a Polling Interval Sample Global Configuration FileEvent Definition Severity Action= Communication Device Sample Monitor-Specific Configuration File#POLLINTERVAL Startup Configuration File Keyword Values Description Startup Configuration File EntriesUDP Default File Entries Default Monitoring RequestsDescription Entry Peripheral Status Monitor PSM Configuration File Considerations for Modifying the PSM Configuration File Monitorresourcename PSM Configuration File FieldsCritical Downseverityope Example File Entries Special Procedures Fibre Channel Arbitrated Loop Hub Monitor Configuring the FC-AL Monitor Configuration File Initial Monitor ConfigurationAdding or Removing an FC-AL Hub Configuration FilesThis setting is required Setting Default Description ValuePSM Configuration File Fibre Channel Switch Monitor Configuring the FC Switch Monitor Configuration File Adding or Removing an FC SwitchChanging the FC Switch Monitoring Configuration 2PSM Configuration File Fields Special Procedures 112 Index 114 115