Operating System - HP-UX
1752786 Members
5888 Online
108789 Solutions
New Discussion юеВ

Stopping EMS notifications on specific h/w paths

 
Steve Foster_7
New Member

Stopping EMS notifications on specific h/w paths

We are getting critical EMS notifications once each day on h/w paths where some of the fibre channel controllers (A3740's) are no longer attached (cabled) to a switch...no link present (see attached snip from syslog.log). These HBAs are not currently being used but can not be physically removed from the server at this time. There are other HBAs still in-use attached to SAN switch ports, so we can't delete/disable all FC_adapter monitoring.

Basically, we'd like to supress the monitoring for just the device paths that aren't in use so the errors are not sent to syslog.log. What are some of the options (without requiring any server reboots)?

Thanks in advance for your time.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Stopping EMS notifications on specific h/w paths

Shalom,

Fast, it can be changed with sam without reboot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pupil_1
Trusted Contributor

Re: Stopping EMS notifications on specific h/w paths

Steve,
use /etc/opt/resmon/lbin/monconfig to change the alert level !! It's meny driven and very easy to change !!
There is always something new to learn everyday !!
Steve Foster_7
New Member

Re: Stopping EMS notifications on specific h/w paths

I've looked at monconfig previous to this posting, but the (M)odify option appears to change ALL /adapters/events/FC_adapter events. Maybe I'm incorrect, but I didn't see an option to change/delete just a specific device path.

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

2) Send events generated by monitors
/storage/events/disk_arrays/AutoRAID
/storage/events/disks/default
/adapters/events/FC_adapter
...
/system/system_status/events
with severity >= MAJOR WARNING to SYSLOG

3) Send events generated by monitors
/storage/events/disk_arrays/AutoRAID
/storage/events/disks/default
/adapters/events/FC_adapter
...
/system/system_status/events
with severity >= MAJOR WARNING to EMAIL root


Michael Gleibman
New Member

Re: Stopping EMS notifications on specific h/w paths

Hi,

we've had a similar problem in the past, although we solved it in different way...

EMS is quite flexible except it's not too obvious where to look for answers:-)

I'd suggest you look at /var/stm/config/sys/diaglogd.cfg and man diaglogd
There're several options to suspend the logging for specific devices there, e.g. suspend-dev or suspend-qual...
In other words once you change it and probably restart the diaglogd by restarting diagmond or EMS as a whole, you should probably suspend logging for specific devices although they will still be monitored.

Hope it helps,
Michael