Command Line Interface Guide

158 omconfig: Managing Components Using the Instrumentation Service
Example Chassis Intrusion Actions
To clear all alert actions for chassis intrusion, type:
omconfig system alertaction event=intrusion
clearall=true
or
omconfig servermodule alertaction event=intrusion
clearall=true
Commands for Clearing Logs
NOTE: For more information about alert messages, see the Dell OpenManage
Server Administrator Messages Reference Guide.
You can use the omconfig system or omconfig servermodule command to
clear three logs: the alert log, the command log, and the hardware or ESM log.
To clear the contents of the alert log, type:
omconfig system alertlog action=clear
or
omconfig servermodule alertlog action=clear
NOTE: Entering an invalid RAC user name may prevent the command log from
displaying. Clearing the command log resolves this condition.
To clear the contents of the command log, type:
omconfig system cmdlog action=clear
or
omconfig servermodule cmdlog action=clear
To clear the contents of the ESM log, type:
omconfig system esmlog action=clear
or
omconfig servermodule esmlog action=clear