Installing and Using Monitors
Retrieving and Interpreting Event Messages
Retrieving and Interpreting Event Messages
Event messages generated by hardware monitoring can be delivered using a variety of notification methods. To simplify receiving event messages you may want to use the email and/or textfile notification methods. Both of these methods, which are included in the default monitoring, receive the entire content of the message so you can read it immediately.
Methods such as console, syslog, and SNMP alert you to the occurrence of an event but do not deliver the entire message. You are required to retrieve it using the resdata utility. For these methods, the event notification will include a message similar to the following:
Execute the following command to obtain event details: /opt/resmon/bin/resdata
It is important that you execute the command exactly as indicated, including the two critical number fields that are indexes for the resdata entries.
Sample Event Message
The following is a portion of a sample event message.
>Event Monitoring Service Event Notification %<
Notification Time: Wed Sep 9 10:48:30 1998
hpbs8684 sent Event Monitor notification information:
/storage/events/disks/default/10_4_4.0.0 is >= 1. Its current value is CRITICAL(5).
Event data | from monitor: |
|
| |
Event Time | : Wed Sep 9 10:48:30 1998 |
| ||
Hostname : | hpbs8684.boi.hp.com | IP Address | : 15.62.120.25 | |
Event Id | : | 0x0035f6b15e00000000 | Monitor | : disk_em |
Event # | : | 100037 | Event Class : I/O | |
Severity : | CRITICAL |
|
|
Disk at hardware path 10/4/4.0.0 : Media failure
Associated OS error log entry id(s):
000000000000000000
Description of Error:
The device was unsuccessful in reading data for the current I/O request due to an error on the medium. The data could not be recovered. The request was likely processed in a way which could cause damage to or loss of data.
Probable Cause / Recommended Action:
The medium in the device is flawed. If the medium is removable, replace the medium with a fresh one. Alternatively, if the medium is not removable, the device has experienced a hardware failure.
Repair or replace the device, as necessary.
48 | Chapter 2 |