1834788 Members
2504 Online
110070 Solutions
New Discussion

Re: Disabking EMS alerts

 
paabhi
Frequent Advisor

Disabking EMS alerts

Hi All,

Could anyone please tell me how to disable the EMS alerts for a particular h/w path.

Abhilash
7 REPLIES 7
Michal Kapalka (mikap)
Honored Contributor

Re: Disabking EMS alerts

Hi,

use this

/etc/opt/resmon/lbin/monconfig

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: Disabking EMS alerts

hi,

but i think you can disable only sam p
Michal Kapalka (mikap)
Honored Contributor

Re: Disabking EMS alerts

hi,

sorry my last post was a mistake.

mikap
paabhi
Frequent Advisor

Re: Disabking EMS alerts

Hello,

Through the command /etc/opt/resmon/lbin/monconfig, i seleceted the option "Delete Monitoring" and selected 2.It deletes the mornitoring for all items.

2) Send events generated by monitors
/StorageAreaNetwork/events/SAN_Monitor
/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
/system/events/ups
/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

Please tell me whether adding the line

/adapters/events/FC_adapter/8/0.8 in the file /var/stm/data/tools/monitor/disabled_instances will disable the monitoring for that particular path
Ganesan R
Honored Contributor

Re: Disabking EMS alerts

Vivek Bhatia
Trusted Contributor

Re: Disabking EMS alerts

Hi,

Run the command and it will diplay the menu
#/etc/opt/resmon/lbin/monconfig

Select:
(S)how monitoring requests configured via monconfig
(C)heck detailed monitoring status
(L)ist descriptions of available monitors
(A)dd a monitoring request
(D)elete a monitoring request
(M)odify an existing monitoring request
(E)nable Monitoring
(K)ill (disable) monitoring
(H)elp
(Q)uit

From this menue you can add delete or modify existing monitoring requests.

Regards
Vivek
Shiv007
Frequent Advisor

Re: Disabking EMS alerts

Hi,

with the monconfig command you can modify the existing subscription.

below is the snip for the same:

============================================================================
============== Monitoring Request Manager Main Menu ==============
============================================================================

Note: Monitoring requests let you specify the events for monitors
to report and the notification methods to use.

Select:
(S)how monitoring requests configured via monconfig
(C)heck detailed monitoring status
(L)ist descriptions of available monitors
(A)dd a monitoring request
(D)elete a monitoring request
(M)odify an existing monitoring request
(E)nable Monitoring
(K)ill (disable) monitoring
(H)elp
(Q)uit
Enter selection: [s] m



============================================================================
==================== Modify Monitoring Request ===================
============================================================================

The current monitor configuration is:
1) Send events generated by all monitors
with severity >= MAJOR WARNING to SYSLOG
2) Send events generated by all monitors
with severity >= INFORMATION to TEXTLOG /var/opt/resmon/log/event.log
3) Send events generated by all monitors
with severity >= MAJOR WARNING to EMAIL root

Enter number of monitoring request to modify {(Q)uit,(H)elp} 2
Existing entry:
2) Send events generated by all monitors
with severity >= INFORMATION to TEXTLOG /var/opt/resmon/log/event.log
Start of edit configuration:

A monitoring request consists of:
- A list of monitors to which it applies
- A severity range (A relational expression and a severity. For example,
< "MAJOR WARNING" means events with severity "INFORMATION" and
"MINOR WARNING")
- A notification mechanism.
Please answer the following questions to specify a monitoring request.

Monitors to which this configuration can apply:
1) /StorageAreaNetwork/events/SAN_Monitor
2) /system/events/cpu/cmc
3) /system/events/cpu_hitachi/cmc
4) /system/events/cpe
5) /system/events/cpe_hitachi
6) /storage/events/disks/default
7) /storage/events/disks_asama/default
8) /storage/events/disks_hitachi/default
9) /adapters/events/TL_adapter
10) /connectivity/events/hubs/FC_hub
11) /connectivity/events/switches/FC_switch
12) /adapters/events/fclp_adapter
13) /adapters/events/iscsi_adapter
14) /system/events/dm_memory_asama
15) /system/events/memory_azusa
16) /adapters/events/ql_adapter
17) /adapters/events/raid_adapter
18) /adapters/events/sas_adapter
19) /storage/events/enclosures/ses_enclosure
20) /system/events/ups
21) /system/events/ipmi_fpl
22) /storage/events/enclosures/gazemon
23) /system/events/ia64_corehw
24) /system/events/ia64_corehw_asama
25) /system/events/ipfcorehw_hitachi
26) /system/events/ipfmemory_hitachi
27) /system/events/memory_ia64
28) /storage/events/disk_arrays/MSA1000
29) /storage/events/enclosures/msamon_sas
30) /system/events/system_status
Enter monitor numbers separated by commas
{or (A)ll monitors, (Q)uit, (H)elp} [a] 1


Thanks
Shivaprasad