This section explains how to configure Qumulo Alerts to collect alarms and alerts from a Qumulo Cluster.
Collecting Information about Specific Alarms
Run the ./alerts cluster_add
command and specify the fully qualified domain name (FQDN) of your Qumulo cluster, your long-lived access token for the Qumulo Core REST API, and the plugins or plugin categories to include or exclude from monitoring.
In the following example, we include the plugins Disks
and Nodes
.
./alerts cluster_add \
--name cluster.example.com \
--token 12345678901234567890 \
-pi Disks \
-pi Nodes
The following is example output.
[{
"frequency": 1,
"id": 1,
"name": "cluster.example.com",
"nlb": false,
"plugins": [{
"category": "Alarms",
"description": "Get Disk State Information",
"frequency": null,
"name": "Disks"
},{
"category": "Alarms",
"description": "Get Cluster Node Failures",
"frequency": null,
"name": "Nodes"
}],
"port": 8000
}]
- For the
--nlb
flag, thefalse
setting requires floating IP address configuration. - To prevent spreading the load of a plugin's API requests across all nodes in a Qumulo cluster, each alarm or alert plugin that you configure communicates with your cluster by using either a network load balancer or floating IP addresses. You can configure one—but not both—of these communication methods.
Collecting Information about All Alarms
Run the ./alerts cluster_add
command and specify the fully qualified domain name (FQDN) of your Qumulo cluster, your long-lived access token for the Qumulo Core REST API, and the plugins or plugin categories to include or exclude from monitoring.
In the following example, we include the Alarms
category.
./alerts cluster_add \
--name cluster.example.com \
--token 12345678901234567890 \
-pc Alarms
The following is example output.
[{
"frequency": 1,
"id": 1,
"name": "cluster.example.com",
"nlb": false,
"plugins": [{
"category": "Alarms",
"description": "Get Disk State Information",
"frequency": null,
"name": "Disks"
},{
"category": "Alarms",
"description": "Get Cluster Node Failures",
"frequency": null,
"name": "Nodes"
},{
"category": "Alarms",
"description": "Get Fan Failures",
"frequency": null,
"name": "Fans"
},{
"category": "Alarms",
"description": "Get CPU Overtemp",
"frequency": null,
"name": "CPU"
},
...
],
"port": 8000
}]
Collecting Information about All Alarms, Alerts, and Informational Messages
Run the ./alerts cluster_add
command and specify the fully qualified domain name (FQDN) of your Qumulo cluster, your long-lived access token for the Qumulo Core REST API, and the plugins or plugin categories to include or exclude from monitoring.
In the following example, we include the Alarms
, Alerts
, and Informational
categories.
./alerts cluster_add \
--name cluster.example.com \
--token 12345678901234567890 \
-pc Alarms \
-pc Alerts \
-pc Informational
The following is example output.
[{
"frequency": 1,
"id": 1,
"name": "cluster.example.com",
"nlb": false,
"plugins": [{
"category": "Alarms",
"description": "Get Disk State Information",
"frequency": null,
"name": "Disks"
},{
"category": "Alarms",
"description": "Get Cluster Node Failures",
"frequency": null,
"name": "Nodes"
},{
"category": "Alerts",
"description": "Get Active Directory State",
"frequency": null,
"name": "AD"
},{
"category": "Alerts",
"description": "Get Audit Status",
"frequency": null,
"name": "Audit"
},{
"category": "Alerts",
"description": "Get Cluster Volume Capacity",
"frequency": null,
"name": "Capacity"
},
...
],
"port": 8000
}]