Operating System - HP-UX
1758608 Members
3568 Online
108873 Solutions
New Discussion юеВ

resmon question (EMS Hardware Monitors)

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

resmon question (EMS Hardware Monitors)

Hello,

This may sound stupid, but I'm totally confused with resmon interface having a need to remove a hardware resource from monitoring list.

When adding EMS request, one can choose from hardware list, it's normal.
E.g.,

1) /storage/events/disk_arrays/AutoRAID
2) /storage/events/disks/default
3) /adapters/events/FC_adapter
...
When choosing 'Delete Monitoring Request', I see a list grouped by notification method.
E.g.,

4) Send events generated by monitors
/storage/events/disk_arrays/AutoRAID
/storage/events/disks/default
/adapters/events/FC_adapter
/adapters/events/TL_adapter
/system/events/core_hw
/connectivity/events/hubs/FC_hub
/connectivity/events/multiplexors/FC_SCSI_mux
/connectivity/events/switches/FC_switch
/system/events/memory
/storage/events/enclosures/ses_enclosure
/storage/events/tapes/SCSI_tape
/storage/events/disk_arrays/FC60
/storage/events/disk_arrays/FW_SCSI
/system/events/cpu/lpmc
/adapters/events/scsi123_em
/system/events/system_status
with severity >= INFORMATION to TEXTLOG /var/opt/resmon/log/event.log

If I choose 4, it looks like I will remove the request for all listed monitors.

Please advise me the simpliest way to remove monitoring of specific hardware. It does not look so simple as in manual.

Thank you in advance!

BR,
Mihails
KISS - Keep It Simple Stupid
5 REPLIES 5
Christopher McCray_1
Honored Contributor
Solution

Re: resmon question (EMS Hardware Monitors)

there is a file, /var/stm/data/tools/monitor/disabled_instances, where you can specify devices that you wish to turn off. Here are the steps:- run /etc/opt/resmon/lbin/moncheck to view the possible names of the instances you want to disable.
- Run /etc/opt/resmon/lbin/monconfig and choose the (K)ill monitoring option.
-Edit the disabled_instances file and add the name(s) of the instance(s) you wish to turn off event notification to. An example would have been in our case /storage/events/disks/default/0_4_0_1.1.0 .
-Go back into monconfig and choose the (E)nable monitoring option.
-Select the (C)heck monitors to verify that monitor requests for that hardware path(s) had been turned off.

Let me know if you have additional questions.

Good Luck
Chris


It wasn't me!!!!
Mihails Nikitins
Super Advisor

Re: resmon question (EMS Hardware Monitors)

Thanks, this seems to work!

However,
(C)heck detailed monitoring status
still shows the following lines.

/storage/events/tapes/SCSI_tape ... OK.
For /storage/events/tapes/SCSI_tape/10_0_15_0.3.0:
Events >= 4 (SERIOUS) Goto TCP; host=hostname port=51692

BR,
Mihails
KISS - Keep It Simple Stupid
Christopher McCray_1
Honored Contributor

Re: resmon question (EMS Hardware Monitors)

Have you received any notifications on this device in root's email? If so, can you post it? The answer can sometimes be found within the EMS notification.

Regards,
Chris
It wasn't me!!!!
Steve Bonds
Trusted Contributor

Re: resmon question (EMS Hardware Monitors)

I was having the same problem and this reply helped me out a bunch.

The change is documented in the Sep 2000 EMS release notes, but does not seem to have made it into the paper docs (even the Sep 2001 doc B6191-90028 "EMS Hardware Monitors User's Guide") doesn't mention this very helpful fix.)

The release notes are at:

http://docs.hp.com//hpux/onlinedocs/diag/ems/emr_0009.htm
Christopher McCray_1
Honored Contributor

Re: resmon question (EMS Hardware Monitors)

I am glad I was able to help in even after this message was originally posted and thanks for you compliment.

Regards
Chris
It wasn't me!!!!