master
yaml 145 lines 5.18 KB
Raw
1 plugin_name: go.d.plugin
2 modules:
3 - meta:
4 id: collector-go.d.plugin-adaptecraid
5 plugin_name: go.d.plugin
6 module_name: adaptec_raid
7 monitored_instance:
8 name: Adaptec RAID
9 link: "https://www.microchip.com/en-us/products/storage"
10 icon_filename: "adaptec.svg"
11 categories:
12 - data-collection.storage
13 keywords:
14 - storage
15 - raid-controller
16 - manage-disks
17 related_resources:
18 integrations:
19 list: []
20 info_provided_to_referring_integrations:
21 description: ""
22 overview:
23 data_collection:
24 metrics_description: |
25 Monitors the health of Adaptec Hardware RAID by tracking the status of logical and physical devices in your storage system.
26 It relies on the `arcconf` CLI tool but avoids directly executing the binary.
27 Instead, it utilizes `ndsudo`, a Netdata helper specifically designed to run privileged commands securely within the Netdata environment.
28 This approach eliminates the need to use `sudo`, improving security and potentially simplifying permission management.
29
30 Executed commands:
31 - `arcconf GETCONFIG 1 LD`
32 - `arcconf GETCONFIG 1 PD`
33 method_description: ""
34 supported_platforms:
35 include: [Linux, BSD]
36 exclude: []
37 multi_instance: false
38 additional_permissions:
39 description: ""
40 default_behavior:
41 auto_detection:
42 description: ""
43 limits:
44 description: ""
45 performance_impact:
46 description: ""
47 setup:
48 prerequisites:
49 list: []
50 configuration:
51 file:
52 name: go.d/adaptec_raid.conf
53 options:
54 description: |
55 The following options can be defined globally: update_every.
56 folding:
57 title: Config options
58 enabled: true
59 list:
60 - name: update_every
61 description: Data collection frequency.
62 default_value: 10
63 required: false
64 - name: timeout
65 description: arcconf binary execution timeout.
66 default_value: 2
67 required: false
68 examples:
69 folding:
70 title: Config
71 enabled: true
72 list:
73 - name: Custom update_every
74 description: Allows you to override the default data collection interval.
75 config: |
76 jobs:
77 - name: adaptec_raid
78 update_every: 5 # Collect Adaptec Hardware RAID statistics every 5 seconds
79 troubleshooting:
80 problems:
81 list: []
82 alerts:
83 - name: adaptec_raid_ld_health_status
84 metric: adaptecraid.logical_device_status
85 info: Adaptec RAID logical device (number ${label:ld_number} name ${label:ld_name}) health status is critical
86 link: https://github.com/netdata/netdata/blob/master/src/health/health.d/adaptec_raid.conf
87 - name: adaptec_raid_pd_health_state
88 metric: adaptecraid.physical_device_state
89 info: Adaptec RAID physical device (number ${label:pd_number} location ${label:location}) health state is critical
90 link: https://github.com/netdata/netdata/blob/master/src/health/health.d/adaptec_raid.conf
91 metrics:
92 folding:
93 title: Metrics
94 enabled: false
95 description: ""
96 availability: []
97 scopes:
98 - name: logical device
99 description: These metrics refer to the Logical Device (LD).
100 labels:
101 - name: ld_number
102 description: Logical device index number
103 - name: ld_name
104 description: Logical device name
105 - name: raid_level
106 description: RAID level
107 metrics:
108 - name: adaptecraid.logical_device_status
109 description: Logical Device status
110 unit: status
111 chart_type: line
112 dimensions:
113 - name: ok
114 - name: critical
115 - name: physical device
116 description: These metrics refer to the Physical Device (PD).
117 labels:
118 - name: pd_number
119 description: Physical device index number
120 - name: location
121 description: Physical device location (e.g. Connector 0, Device 1)
122 - name: vendor
123 description: Physical device vendor
124 - name: model
125 description: Physical device model
126 metrics:
127 - name: adaptecraid.physical_device_state
128 description: Physical Device state
129 unit: status
130 chart_type: line
131 dimensions:
132 - name: ok
133 - name: critical
134 - name: adaptecraid.physical_device_smart_warnings
135 description: Physical Device SMART warnings
136 unit: warnings
137 chart_type: line
138 dimensions:
139 - name: smart
140 - name: adaptecraid.physical_device_temperature
141 description: Physical Device temperature
142 unit: Celsius
143 chart_type: line
144 dimensions:
145 - name: temperature