96 omconfig: Managing Components Using the Instrumentation Service
Severity
In the context of configuring events, severity determines how severe an event must be before Server
Administrator notifies you of the event for a component type. When there are multiple components of
the same type in the same system chassis, you can also specify whether you want to be notified for event
severity according to the number of the component by using the index=<n> parameter. Table4-26 shows
the valid severity parameters.
Index
Index refers to the number of an event for a particular component. Index is an optional parameter.
Whenyou omit the index parameter, events are configured for all components of the specified type, such
as all fans. When a system contains more than one fan, for example, you can enable or disable event
notification for a particular fan. An example command is as follows:
omconfig system events type=fan index=0 severity=critical
As a result of the example command, Server Administrator will send an SNMP trap only when the first
fan in the system chassis (index 0) has reached critical fan RPMs.
omconfig system webserver
Use the omconfig system webserver command to start or stop the Web server. Table4-27 shows the valid
parameters for the command.
Table 4-26. System Event Severity Parameters
Command Result Description
omconfig system events type=<component name>
severity=info
Enables notification for
informational, warning,
and critical events.
Least restrictive form of event
notification.
omconfig system events type=<component name>
severity=warning
Enables notification for
warning and critical
events.
Omits informational event
notification, for example, when a
component returns to normal status.
omconfig system events type=<component name>
severity=critical
Enables notification for
critical events only.
Restrictive form of event
notification.
omconfig system events type=<component name>
severity=none
Disables event
notification.
No event notification.
Table 4-27. Web Server Configuration Parameters
name=value pair Description
action=start Starts the Web server.
action=stop Stops the Web server.
action=restart Restarts the Web server.