CLI Guide
Omconfig system snmptraptest or omconfig servermodule
snmptraptest
Use the omconfig system snmptraptest or omconfig servermodule snmptraptest command to send the snmp test
trap to the destination address if Server Administrator SNMP component is configured in the configuration file.
The following table displays the valid parameters for the command:
Table 71. Parameters For Alert Action Command
Action Description
dest=<ipv4 address | ipv6
address | fqdn>
Send the test trap to the destination IP address.
NOTE: This feature is not supported on VMware ESXi.
Omconfig System Events Or Omconfig Servermodule
Events
Use the omconfig system events or omconfig servermodule events command to enable and disable SNMP traps for the
components on your system.
NOTE:
Not all event types are present on the system.
There are four parameters in the name=value pair component of the omconfig system events command:
• Source
• Type
• Severity
• Index
Source
At present, source=snmptraps is a required name=value pair because SNMP is currently the only supported source of event
notification for the system’s components.
omconfig system events source=snmptraps
or
omconfig servermodule events source=snmptraps
Type
Type refers to the name of the component(s) involved in the event. The following table displays the valid parameters for system event
types.
Table 72. System Event Type Parameters
name=value pair Description
type=accords Configures events for AC power cords.
type=battery Configures events for battery.
type=all Configures events for all device types.
type=fanenclosures Configures events for fan enclosures.
type=fans Configures events for fans.
type=intrusion Configures events for chassis intrusion.
Omconfig Managing Components Using The Instrumentation Service 107