1. Home
  2. Docs
  3. ClusterControl
  4. User Guide (CLI)
  5. s9s-alarm


Table of Contents

Manage alarms.


s9s alarm {command} {options}


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.
−−stat Prints a simple list of the number of alarms.


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.


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

Print a simple list of the number of alarms:

$ s9s alarm --stat



The list will contain three numbers for every line. The first is the cluster ID, the second is the number of critical alarms and the third is the warning level alarms for the given cluster.

Was this article helpful to you? Yes No