summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorFotis Voutsas <fotis@netdata.cloud>2023-04-25 19:14:21 +0300
committerGitHub <noreply@github.com>2023-04-25 19:14:21 +0300
commitdb9c8caa7d0792cf16fcd5688cc88576d6efda0e (patch)
tree231601e57605c9a170c5599d42a3be54719bd888 /collectors
parent273a4299ad1428a1f8f5a1598a903e6e8bef14d2 (diff)
Add adaptec_raid metrics.csv (#14955)
* adaptec_raid metrics.csv * Update metrics.csv * Update README.md * Update README.md * Update metrics.csv
Diffstat (limited to 'collectors')
-rw-r--r--collectors/python.d.plugin/adaptec_raid/README.md20
-rw-r--r--collectors/python.d.plugin/adaptec_raid/metrics.csv5
2 files changed, 9 insertions, 16 deletions
diff --git a/collectors/python.d.plugin/adaptec_raid/README.md b/collectors/python.d.plugin/adaptec_raid/README.md
index 41d5b62e09..5451179882 100644
--- a/collectors/python.d.plugin/adaptec_raid/README.md
+++ b/collectors/python.d.plugin/adaptec_raid/README.md
@@ -1,12 +1,3 @@
-<!--
-title: "Adaptec RAID controller monitoring with Netdata"
-custom_edit_url: "https://github.com/netdata/netdata/edit/master/collectors/python.d.plugin/adaptec_raid/README.md"
-sidebar_label: "Adaptec RAID"
-learn_status: "Published"
-learn_topic_type: "References"
-learn_rel_path: "Integrations/Monitor/Hardware"
--->
-
# Adaptec RAID controller collector
Collects logical and physical devices metrics using `arcconf` command-line utility.
@@ -16,6 +7,10 @@ Executed commands:
- `sudo -n arcconf GETCONFIG 1 LD`
- `sudo -n arcconf GETCONFIG 1 PD`
+## Metrics
+
+See [metrics.csv](https://github.com/netdata/netdata/blob/master/collectors/python.d.plugin/adaptec_raid/metrics.csv) for a list of metrics.
+
## Requirements
The module uses `arcconf`, which can only be executed by `root`. It uses
@@ -45,13 +40,6 @@ systemctl daemon-reload
systemctl restart netdata.service
```
-## Charts
-
-- Logical Device Status
-- Physical Device State
-- Physical Device S.M.A.R.T warnings
-- Physical Device Temperature
-
## Enable the collector
The `adaptec_raid` collector is disabled by default. To enable it, use `edit-config` from the
diff --git a/collectors/python.d.plugin/adaptec_raid/metrics.csv b/collectors/python.d.plugin/adaptec_raid/metrics.csv
new file mode 100644
index 0000000000..a6a72ed3b0
--- /dev/null
+++ b/collectors/python.d.plugin/adaptec_raid/metrics.csv
@@ -0,0 +1,5 @@
+metric,scope,dimensions,unit,description,chart_type,labels,plugin,module
+adaptec_raid.ld_status,,"a dimension per logical device",bool,"Status of logical devices (1: Failed or Degraded)",line,,python.d.plugin,adaptec_raid
+adaptec_raid.pd_state,,"a dimension per physical device",bool,"State of physical devices (1: not Online)",line,,python.d.plugin,adaptec_raid
+adaptec_raid.smart_warnings,,"a dimension per physical device",count,"S.M.A.R.T warnings",line,,python.d.plugin,adaptec_raid
+adaptec_raid.temperature,,"a dimension per physical device",celsius,Temperature,line,,python.d.plugin,adaptec_raid