Linux syslog
The syslog contains all events detected by the Server Hardware Manager Monitor service on Linux. This log includes warning and critical
events. The contents of this le is viewed in the syslog.
Monitor Conguration File
NOTE: Modifying the Monitor logging conguration le can disable or disrupt logging functionality. Make a copy of the le
before attempting any modications.
The Monitor logging conguration le is named ServerHardwareManager_Logger.properties. It is located in the
ServerHardwareManagerMonitor subdirectory under the main install directory.
Logging Functionality Modication Directions
To change the log folder location:
• Modify the line starting with log4cplus.appender.file.File=<fullpath including lename of desired log location.
To add Linux syslog logging (Linux OS’s only):
• Add SYSLOG string to thelog4cplus.rootLogger entry. For example, log4cplus.rootLogger=WARN,le,SYSLOG
SNMP
SNMP is another avenue that the Server Hardware Manager Monitor uses to present events to the user. Only critical events are sent by
using SNMP. The Server Hardware Manager Monitor sends traps to destinations that are contained in the Server Hardware Manager
Monitor conguration le (SHM.cong).
SNMP traps are generated only for critical events.
The Server Hardware Manager Monitor conguration le is located in the installation directory. The following is the default location of the
conguration les.
Table 31.
Conguration File Location
Operating
system
Log File Location
Windows {Installation_base_path}\Dell\ServerHardwareManager\StorageEnclosureMonitor\ServerHardwareManagerMonitor
\SHM.cong
Linux {Installation_base_path}/dell/ServerHardwareManager/ServerHardwareManagerMonitor/bin/SHM.cong
Although the Server Hardware Manager Monitor runs automatically after installation, congure a trap destination in the conguration le
for SNMP to function correctly. A trap destination has the following format:
ip=ipaddress[:port]
For example,
ip=192.168.1.1:1050
• Address — The IP address of the destination
• Port — Port on the target server the trap receiver listens
See the documentation of the trap listener for the port number it uses. If no port is specied, Storage Enclosure Monitor sends traps to the
default port – 162.
Monitoring
43