CLI Guide

Event Name Description
event=enclosurefail Sets actions when an enclosure detects a failure value.
event=storagectrlbatterywarn
Sets actions when a storage controller battery detects a warning value.
event=storagectrlbatteryfail
Sets actions when a storage controller battery detects a failure value.
Example Set Alert Action Commands
The following are examples of valid example commands. For each successful command issued, the following message is displayed:
Alert action(s) configured successfully.
Example Current Probe Actions
To disable system console alert if a current probe detects a warning event, type:
omconfig system alertaction event=currentwarn alert=false
or
omconfig servermodule alertaction event=currentwarn alert=false
To enable broadcast messages if a current probe detects a failure event, type:
omconfig system alertaction event=currentfail broadcast=true
or
omconfig servermodule alertaction event=currentfail broadcast=true
Example Fan Probe Actions
To generate alerts when a fan probe detects a failure value, type:
omconfig system alertaction event=fanfail alert=true
or
omconfig servermodule alertaction event=fanfail alert=true
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
You can use the omcong system or omcong servermodule command to clear the following logs: the alert log, command log, and
hardware or ESM log.
To clear the contents of the alert log, type:
omconfig system alertlog action=clear
112
Omcong Managing Components Using The Instrumentation Service