Manage alarms.
Usage
s9s alarm
{command}
{options}
Command
Name, shorthand | Description |
---|---|
−−delete |
Sets the alarm to be ignored. This will not in fact delete the alarm, but it will make the alarm to disappear from the active alarms list, hence the name of the option. |
−−list |
Lists the active alarms. |
Options
Name, shorthand | Description |
---|---|
−−cluster-id=ID , -i |
The ID of the cluster to manipulate. |
−−cluster-name=NAME , -n |
Sets the cluster name. If the operation creates a new cluster this will be the name of the new cluster. |
−−alarm-id=ID . |
The ID of the alarm to manipulate. |
Examples
List out all alarms generated by ClusterControl for a database cluster named “PostgreSQL Cluster”:
$ s9s alarm --cluster-name="PostgreSQL Cluster" --list
Delete an alarm:
$ s9s alarm --delete --alarm-id=1015