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 file is viewed in the syslog.
Monitor Configuration File
NOTE:
Modifying the Monitor logging configuration file can disable or disrupt logging functionality. Make a copy of the file
before attempting any modifications.
The Monitor logging configuration file is named ServerHardwareManager_Logger.properties. It is located in the
ServerHardwareManagerMonitor subdirectory under the main install directory.
Logging Functionality Modification Directions
To change the log folder location:
•
Modify the line starting with
log4cplus.appender.file.File=<fullpath
including filename of desired log location.
To add Linux syslog logging (Linux OS’s only):
•
Add
SYSLOG
string to the
log4cplus.rootLogger
entry. For example, log4cplus.rootLogger=WARN,file,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 configuration file (SHM.config).
SNMP traps are generated only for critical events.
The Server Hardware Manager Monitor configuration file is located in the installation directory. The following is the default location of the
configuration files.
Table 31. Configuration File Location
Operating
system
Log File Location
Windows
{Installation_base_path}\Dell\ServerHardwareManager\StorageEnclosureMonitor\ServerHardwareManagerMonitor
\SHM.config
Linux
{Installation_base_path}/dell/ServerHardwareManager/ServerHardwareManagerMonitor/bin/SHM.config
Although the Server Hardware Manager Monitor runs automatically after installation, configure a trap destination in the configuration file
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 specified, Storage Enclosure Monitor sends traps to the
default port – 162.
Monitoring
43