Dell EMC OpenManage Command Line Interface Guide Version 9.1

PDF

Omconfig Preferences Logging

Use the omconfig preferences logging command for filtering the OS logs using the attributes.

Table 1. Valid Parameters Of Omconfig Preferences Logging . This table lists the Valid Parameters Of Omconfig Preferences Logging
name=value pair 1 name=value pair 2 Description
attribute=oslogfilter logcrit=true|false logwarn=true|false loginfo=true|false

Specify at least one of the three attributes (critical, warning or informational), else an error message is displayed. A command log entry is created after running the omconfig command. The OS logging settings persist on Server Administrator restart and upgrade.

omconfig preferences logging attribute=oslogfilter logcrit=<true|false> logwarn=<true|false> loginfo=<true|false>
  • NOTE: The OS logging filter command is applicable when the OS logging filter component is installed.
attribute=archiveesmlog setting=Enable|Disable

Enabling the command allows you to create an automatic backup of ESM Logs. After the backup is created, ESM logs of the Server Administrator and the SEL entries of iDRAC/BMC are cleared. The process is repeated whenever the logs are full.

The backup files are:

Windows: <Install_root>\omsa\log\omsellog.xml

Linux and ESXi: <Install_root>/var/log/openmanage/omsellog.xml

  • NOTE: This command is applicable only on 10th and 11th generation of PowerEdge servers. On Dell’s 12th generation of PowerEdge servers and later, iDRAC provides capability of automatic clear of log entries and file backup. Only latest version of the backup XML file is available in the mentioned locations.
attribute=logallsensors setting=Enable|Disable Enabling the command allows you to log all unmonitored ESM sensor events in to Alert log, OS log, and generates the SNMP traps.

An example command set only to remove the critical severities is as follows:

omconfig preferences logging attribute=oslogfilter logcrit=false

An example command set to enable the automatic backup of ESM logs.

omconfig preferences logging attribute=archiveesmlog setting=Enable

An example command set to enable the Log All ESM Sensor Events.

omconfig preferences logging attribute=logallsensors setting=Enable


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\