Add adaptec_raid metrics.csv (#14955)
* adaptec_raid metrics.csv * Update metrics.csv * Update README.md * Update README.md * Update metrics.csv
Fotis Voutsas committed
Apr 25, 2023 at 19:14 UTC
db9c8caa7d0792cf16fcd5688cc88576d6efda0e
2 files changed
+9
-16
collectors/python.d.plugin/adaptec_raid/README.md
+4
-16
@@ -1,12 +1,3 @@
1
-<!--
2
-title: "Adaptec RAID controller monitoring with Netdata"
3
-custom_edit_url: "https://github.com/netdata/netdata/edit/master/collectors/python.d.plugin/adaptec_raid/README.md"
4
-sidebar_label: "Adaptec RAID"
5
-learn_status: "Published"
6
-learn_topic_type: "References"
7
-learn_rel_path: "Integrations/Monitor/Hardware"
8
--->
9
-
1
# Adaptec RAID controller collector
2
3
Collects logical and physical devices metrics using `arcconf` command-line utility.
@@ -16,6 +7,10 @@ Executed commands:
7
- `sudo -n arcconf GETCONFIG 1 LD`
8
- `sudo -n arcconf GETCONFIG 1 PD`
9
10
+## Metrics
11
+
12
+See [metrics.csv](https://github.com/netdata/netdata/blob/master/collectors/python.d.plugin/adaptec_raid/metrics.csv) for a list of metrics.
13
+
14
## Requirements
15
16
The module uses `arcconf`, which can only be executed by `root`. It uses
@@ -45,13 +40,6 @@ systemctl daemon-reload
40
systemctl restart netdata.service
41
```
42
48
-## Charts
49
-
50
-- Logical Device Status
51
-- Physical Device State
52
-- Physical Device S.M.A.R.T warnings
53
-- Physical Device Temperature
54
-
43
## Enable the collector
44
45
The `adaptec_raid` collector is disabled by default. To enable it, use `edit-config` from the
collectors/python.d.plugin/adaptec_raid/metrics.csv
new
+5
@@ -0,0 +1,5 @@
1
+metric,scope,dimensions,unit,description,chart_type,labels,plugin,module
2
+adaptec_raid.ld_status,,"a dimension per logical device",bool,"Status of logical devices (1: Failed or Degraded)",line,,python.d.plugin,adaptec_raid
3
+adaptec_raid.pd_state,,"a dimension per physical device",bool,"State of physical devices (1: not Online)",line,,python.d.plugin,adaptec_raid
4
+adaptec_raid.smart_warnings,,"a dimension per physical device",count,"S.M.A.R.T warnings",line,,python.d.plugin,adaptec_raid
5
+adaptec_raid.temperature,,"a dimension per physical device",celsius,Temperature,line,,python.d.plugin,adaptec_raid