Sun Management Center 3.5 User's Guide

Alarm Commands

You can examine alarm values and set alarm actions with the following commands:

ackAlarms

The ackAlarms command acknowledges alarms in an agent or a list of agents. The ackAlarms command takes the following parameters: a, ack, columns, domain, f, m, managed_object, note, property, property_instance, qualifier, severity, and state.

If no value is specified for the state parameter, state defaults to O (Open).

delAlarms

The delAlarms command deletes alarms in an agent or a list of agents. The delAlarms command takes the following parameters: a, ack, columns, domain, f, m, managed_object, note, property, property_instance, qualifier, severity, and state.

If no value is specified for the state parameter, state defaults to C (Closed).

getAlarms

The getAlarms command retrieves alarm information for an agent or a set of agents. The getAlarms command takes the following parameters: a, ack, columns, domain, f, m, managed_object, property, property_instance, qualifier, severity, and state.

If no parameters are specified, getAlarms returns all alarm information.

runAlarmAction

The runAlarmAction command runs a manual or delayed alarm action in an agent or a list of agents. The runAlarmAction command takes the following parameters: a and domain

setAlarmAction

The setAlarmAction command sets a manual or delayed alarm action for an existing alarm in an agent or a list of agents. The setAlarmAction command takes the following parameters: a, command, and domain.