EMS hardware monitoring in HPUX

 EMS hardware monitoring in HP UNIX:

By default, EMS HW Monitoring is enabled on your system (In 11i v3, SFM is enabled by default).
By default, messages regarding major warnings, critical events on hardware being monitored and it will be :

1. Written to /var/adm/syslog/syslog.log
2. E-mailed to root


To send an test event to disk_em monitor

 # /etc/opt/resmon/lbin/send_test_event disk_em


All the events will be saved in - /var/opt/resmon/log/event.log.


EMS hardware monitoring can be reconfigured using the below file (Monitoring Request Manager)

- /etc/opt/resmon/lbin/monconfig


To stop or start EMS Hardware Monitoring

 # /etc/opt/resmon/lbin/monconfig
   Press K for Kill (Disable) Event Monitoring
   Press E for Enabling Event Monitoring

To check the current Monitoring status

# /etc/opt/resmon/lbin/moncheck

o/p will be like below

>/StorageAreaNetwork/events/SAN_Monitor ... NOT MONITORING.
  (Possibly there is no hardware to monitor.)

>/system/events/cpu/cmc ... OK.
 For /system/events/cpu/cmc/cache_errors:
  Events >= 3 (MAJOR WARNING) Goto SYSLOG
  Events >= 3 (MAJOR WARNING) Goto EMAIL; addr=root
  Events >= 1 (INFORMATION) Goto TEXTLOG; file=/var/opt/resmon/log/event.log

.....
.....
>/system/events/system_status ... OK.
 For /system/events/system_status/ui_host/aemhpvm1:
  Events >= 1 (INFORMATION) Goto TEXTLOG; file=/var/opt/resmon/log/event.log
  Events >= 3 (MAJOR WARNING) Goto SYSLOG
  Events >= 3 (MAJOR WARNING) Goto EMAIL; addr=root


How to stop monitoring for  particular hardware?


If you want to stop getting monitoring alerts for any devices, add the H/W address of the device not to be monitored
in "/var/stm/data/tools/monitor/disabled_instances" file and restart (stop and start) EMS services.

1.Add the HW address in to - /var/stm/data/tools/monitor/disabled_instances
2.Restart the EMS services ( #/etc/opt/resmon/lbin/monconfig )




1 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks