EMS Hardware Monitors (logo)

Verifying EMS Hardware Monitors

You can verify the operation of some EMS Hardware Monitors by executing the command:
/opt/resmon/bin/send_test_event -v MONITOR_NAME
where MONITOR_NAME is the name of the executable file for the monitor (for example: dm_memory, disk_em, etc.) You can find the names of the executables with the command:
ls /usr/sbin/stm/uut/bin/tools/monitor
IF THE OPERATION IS SUCCESSFUL...

then event 103 (with a severity level of 1 "INFORMATION") will be generated.

The send_test_event command (with the -v parameter) will send progress messages ending with lines such as the following:

There is one resource configured below /system/events/core_hw:
Resource Class
        /system/events/core_hw/core_hw
An entry for this test event will be added to the event log at /var/opt/resmon/log/event.log. (All events are logged to this file.) You can view this event entry with the command:
vi /var/opt/resmon/log/event.log
If the monitor has been configured so that events of severity level = 1 (INFORMATION) will send messages to other notification targets (for example email to the "root" user), then messages for the event should appear at those targets as well.

IF THE OPERATION IS NOT SUCCESSFUL...


Top of Page

/ Diagnostics HOME


URL: http://docs.hp.com/hpux/onlinedocs/diag/ems/ems_test.htm
Last updated: Mon Oct 9 10:58:53 PDT 2000