metadata.yaml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: adaptec_raid
  6. monitored_instance:
  7. name: AdaptecRAID
  8. link: "https://www.microchip.com/en-us/products/storage"
  9. categories:
  10. - data-collection.storage-mount-points-and-filesystems
  11. icon_filename: "adaptec.svg"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - storage
  19. - raid-controller
  20. - manage-disks
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: |
  25. This collector monitors Adaptec RAID hardware storage controller metrics about both physical and logical drives.
  26. method_description: |
  27. It uses the arcconf command line utility (from adaptec) to monitor your raid controller.
  28. Executed commands:
  29. - sudo -n arcconf GETCONFIG 1 LD
  30. - sudo -n arcconf GETCONFIG 1 PD
  31. supported_platforms:
  32. include: []
  33. exclude: []
  34. multi_instance: false
  35. additional_permissions:
  36. description: "The module uses arcconf, which can only be executed by root. It uses sudo and assumes that it is configured such that the netdata user can execute arcconf as root without a password."
  37. default_behavior:
  38. auto_detection:
  39. description: "After all the permissions are satisfied, netdata should be to execute commands via the arcconf command line utility"
  40. limits:
  41. description: ""
  42. performance_impact:
  43. description: ""
  44. setup:
  45. prerequisites:
  46. list:
  47. - title: Grant permissions for netdata, to run arcconf as sudoer
  48. description: |
  49. The module uses arcconf, which can only be executed by root. It uses sudo and assumes that it is configured such that the netdata user can execute arcconf as root without a password.
  50. Add to your /etc/sudoers file:
  51. which arcconf shows the full path to the binary.
  52. ```bash
  53. netdata ALL=(root) NOPASSWD: /path/to/arcconf
  54. ```
  55. - title: Reset Netdata's systemd unit CapabilityBoundingSet (Linux distributions with systemd)
  56. description: |
  57. The default CapabilityBoundingSet doesn't allow using sudo, and is quite strict in general. Resetting is not optimal, but a next-best solution given the inability to execute arcconf using sudo.
  58. As root user, do the following:
  59. ```bash
  60. mkdir /etc/systemd/system/netdata.service.d
  61. echo -e '[Service]\nCapabilityBoundingSet=~' | tee /etc/systemd/system/netdata.service.d/unset-capability-bounding-set.conf
  62. systemctl daemon-reload
  63. systemctl restart netdata.service
  64. ```
  65. configuration:
  66. file:
  67. name: "python.d/adaptec_raid.conf"
  68. options:
  69. description: |
  70. There are 2 sections:
  71. * Global variables
  72. * One or more JOBS that can define multiple different instances to monitor.
  73. The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
  74. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  75. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  76. folding:
  77. title: "Config options"
  78. enabled: true
  79. list:
  80. - name: update_every
  81. description: Sets the default data collection frequency.
  82. default_value: 5
  83. required: false
  84. - name: priority
  85. description: Controls the order of charts at the netdata dashboard.
  86. default_value: 60000
  87. required: false
  88. - name: autodetection_retry
  89. description: Sets the job re-check interval in seconds.
  90. default_value: 0
  91. required: false
  92. - name: penalty
  93. description: Indicates whether to apply penalty to update_every in case of failures.
  94. default_value: yes
  95. required: false
  96. examples:
  97. folding:
  98. enabled: true
  99. title: "Config"
  100. list:
  101. - name: Basic
  102. folding:
  103. enabled: false
  104. description: A basic example configuration per job
  105. config: |
  106. job_name:
  107. name: my_job_name
  108. update_every: 1 # the JOB's data collection frequency
  109. priority: 60000 # the JOB's order on the dashboard
  110. penalty: yes # the JOB's penalty
  111. autodetection_retry: 0 # the JOB's re-check interval in seconds
  112. troubleshooting:
  113. problems:
  114. list: []
  115. alerts:
  116. - name: adaptec_raid_ld_status
  117. link: https://github.com/netdata/netdata/blob/master/health/health.d/adaptec_raid.conf
  118. metric: adaptec_raid.ld_status
  119. info: logical device status is failed or degraded
  120. - name: adaptec_raid_pd_state
  121. link: https://github.com/netdata/netdata/blob/master/health/health.d/adaptec_raid.conf
  122. metric: adaptec_raid.pd_state
  123. info: physical device state is not online
  124. metrics:
  125. folding:
  126. title: Metrics
  127. enabled: false
  128. description: ""
  129. availability: []
  130. scopes:
  131. - name: global
  132. description: "These metrics refer to the entire monitored application."
  133. labels: []
  134. metrics:
  135. - name: adaptec_raid.ld_status
  136. description: "Status of logical devices (1: Failed or Degraded)"
  137. unit: "bool"
  138. chart_type: line
  139. dimensions:
  140. - name: a dimension per logical device
  141. - name: adaptec_raid.pd_state
  142. description: "State of physical devices (1: not Online)"
  143. unit: "bool"
  144. chart_type: line
  145. dimensions:
  146. - name: a dimension per physical device
  147. - name: adaptec_raid.smart_warnings
  148. description: S.M.A.R.T warnings
  149. unit: "count"
  150. chart_type: line
  151. dimensions:
  152. - name: a dimension per physical device
  153. - name: adaptec_raid.temperature
  154. description: Temperature
  155. unit: "celsius"
  156. chart_type: line
  157. dimensions:
  158. - name: a dimension per physical device