metadata.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. plugin_name: charts.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: charts.d.plugin
  5. module_name: sensors
  6. monitored_instance:
  7. name: Linux Sensors (sysfs)
  8. link: "https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface"
  9. categories:
  10. - data-collection.hardware-devices-and-sensors
  11. icon_filename: "microchip.svg"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - sensors
  19. - sysfs
  20. - hwmon
  21. - rpi
  22. - raspberry pi
  23. most_popular: false
  24. overview:
  25. data_collection:
  26. metrics_description: |
  27. Use this collector when `lm-sensors` doesn't work on your device (e.g. for RPi temperatures).
  28. For all other cases use the [Python collector](https://github.com/netdata/netdata/blob/master/collectors/python.d.plugin/sensors), which supports multiple jobs, is more efficient and performs calculations on top of the kernel provided values."
  29. method_description: |
  30. It will provide charts for all configured system sensors, by reading sensors directly from the kernel.
  31. The values graphed are the raw hardware values of the sensors.
  32. supported_platforms:
  33. include: [Linux]
  34. exclude: []
  35. multi_instance: true
  36. additional_permissions:
  37. description: ""
  38. default_behavior:
  39. auto_detection:
  40. description: "By default, the collector will try to read entries under `/sys/devices`"
  41. limits:
  42. description: ""
  43. performance_impact:
  44. description: ""
  45. setup:
  46. prerequisites:
  47. list:
  48. - title: "Install charts.d plugin"
  49. description: |
  50. If [using our official native DEB/RPM packages](https://github.com/netdata/netdata/blob/master/packaging/installer/UPDATE.md#determine-which-installation-method-you-used), make sure `netdata-plugin-chartsd` is installed.
  51. - title: "Enable the sensors collector"
  52. description: |
  53. The `sensors` collector is disabled by default. To enable it, use `edit-config` from the Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/configure/nodes.md), which is typically at `/etc/netdata`, to edit the `charts.d.conf` file.
  54. ```bash
  55. cd /etc/netdata # Replace this path with your Netdata config directory, if different
  56. sudo ./edit-config charts.d.conf
  57. ```
  58. Change the value of the `sensors` setting to `force` and uncomment the line. Save the file and restart the Netdata Agent with `sudo systemctl restart netdata`, or the [appropriate method](https://github.com/netdata/netdata/blob/master/docs/configure/start-stop-restart.md) for your system.
  59. configuration:
  60. file:
  61. name: charts.d/sensors.conf
  62. options:
  63. description: |
  64. The config file is sourced by the charts.d plugin. It's a standard bash file.
  65. The following collapsed table contains all the options that can be configured for the sensors collector.
  66. folding:
  67. title: "Config options"
  68. enabled: true
  69. list:
  70. - name: sensors_sys_dir
  71. description: The directory the kernel exposes sensor data.
  72. default_value: "/sys/devices"
  73. required: false
  74. - name: sensors_sys_depth
  75. description: How deep in the tree to check for sensor data.
  76. default_value: 10
  77. required: false
  78. - name: sensors_source_update
  79. description: If set to 1, the script will overwrite internal script functions with code generated ones.
  80. default_value: 1
  81. required: false
  82. - name: sensors_update_every
  83. description: The data collection frequency. If unset, will inherit the netdata update frequency.
  84. default_value: 1
  85. required: false
  86. - name: sensors_priority
  87. description: The charts priority on the dashboard.
  88. default_value: 90000
  89. required: false
  90. - name: sensors_retries
  91. description: The number of retries to do in case of failure before disabling the collector.
  92. default_value: 10
  93. required: false
  94. examples:
  95. folding:
  96. enabled: false
  97. title: "Config"
  98. list:
  99. - name: Set sensors path depth
  100. description: Set a different sensors path depth
  101. config: |
  102. # the directory the kernel keeps sensor data
  103. #sensors_sys_dir="/sys/devices"
  104. # how deep in the tree to check for sensor data
  105. sensors_sys_depth=5
  106. # if set to 1, the script will overwrite internal
  107. # script functions with code generated ones
  108. # leave to 1, is faster
  109. #sensors_source_update=1
  110. # the data collection frequency
  111. # if unset, will inherit the netdata update frequency
  112. #sensors_update_every=
  113. # the charts priority on the dashboard
  114. #sensors_priority=90000
  115. # the number of retries to do in case of failure
  116. # before disabling the module
  117. #sensors_retries=10
  118. troubleshooting:
  119. problems:
  120. list: []
  121. alerts: []
  122. metrics:
  123. folding:
  124. title: Metrics
  125. enabled: false
  126. description: ""
  127. availability: []
  128. scopes:
  129. - name: sensor chip
  130. description: "Metrics related to sensor chips. Each chip provides its own set of the following metrics."
  131. labels: []
  132. metrics:
  133. - name: sensors.temp
  134. description: Temperature
  135. unit: "Celsius"
  136. chart_type: line
  137. dimensions:
  138. - name: "{filename}"
  139. - name: sensors.volt
  140. description: Voltage
  141. unit: "Volts"
  142. chart_type: line
  143. dimensions:
  144. - name: "{filename}"
  145. - name: sensors.curr
  146. description: Current
  147. unit: "Ampere"
  148. chart_type: line
  149. dimensions:
  150. - name: "{filename}"
  151. - name: sensors.power
  152. description: Power
  153. unit: "Watt"
  154. chart_type: line
  155. dimensions:
  156. - name: "{filename}"
  157. - name: sensors.fans
  158. description: Fans Speed
  159. unit: "Rotations / Minute"
  160. chart_type: line
  161. dimensions:
  162. - name: "{filename}"
  163. - name: sensors.energy
  164. description: Energy
  165. unit: "Joule"
  166. chart_type: area
  167. dimensions:
  168. - name: "{filename}"
  169. - name: sensors.humidity
  170. description: Humidity
  171. unit: "Percent"
  172. chart_type: line
  173. dimensions:
  174. - name: "{filename}"