metadata.yaml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. plugin_name: charts.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: charts.d.plugin
  5. module_name: nut
  6. monitored_instance:
  7. name: Network UPS Tools (NUT)
  8. link: ''
  9. categories:
  10. - data-collection.ups
  11. icon_filename: 'plug-circle-bolt.svg'
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ''
  17. keywords:
  18. - nut
  19. - network ups tools
  20. - ups
  21. - pdu
  22. most_popular: false
  23. overview:
  24. data_collection:
  25. metrics_description: 'Examine UPS/PDU metrics with Netdata for insights into power device performance. Improve your power device performance with comprehensive dashboards and anomaly detection.'
  26. method_description: 'This collector uses the `nut` (Network UPS Tools) to query statistics for multiple UPS devices.'
  27. supported_platforms:
  28. include: []
  29. exclude: []
  30. multi_instance: true
  31. additional_permissions:
  32. description: ''
  33. default_behavior:
  34. auto_detection:
  35. description: ''
  36. limits:
  37. description: ''
  38. performance_impact:
  39. description: ''
  40. setup:
  41. prerequisites:
  42. list:
  43. - title: "Install charts.d plugin"
  44. description: |
  45. 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.
  46. - title: "Required software"
  47. description: "Make sure the Network UPS Tools (`nut`) is installed and can detect your UPS devices."
  48. configuration:
  49. file:
  50. name: charts.d/nut.conf
  51. options:
  52. description: |
  53. The config file is sourced by the charts.d plugin. It's a standard bash file.
  54. The following collapsed table contains all the options that can be configured for the nut collector.
  55. folding:
  56. title: "Config options"
  57. enabled: true
  58. list:
  59. - name: nut_ups
  60. description: A space separated list of UPS names. If empty, the list returned by `upsc -l` will be used.
  61. default_value: ""
  62. required: false
  63. - name: nut_names
  64. description: Each line represents an alias for one UPS. If empty, the FQDN will be used.
  65. default_value: ""
  66. required: false
  67. - name: nut_timeout
  68. description: How long to wait for nut to respond.
  69. default_value: 2
  70. required: false
  71. - name: nut_clients_chart
  72. description: Set this to 1 to enable another chart showing the number of UPS clients connected to `upsd`.
  73. default_value: 1
  74. required: false
  75. - name: nut_update_every
  76. description: The data collection frequency. If unset, will inherit the netdata update frequency.
  77. default_value: 2
  78. required: false
  79. - name: nut_priority
  80. description: The charts priority on the dashboard
  81. default_value: 90000
  82. required: false
  83. - name: nut_retries
  84. description: The number of retries to do in case of failure before disabling the collector.
  85. default_value: 10
  86. required: false
  87. examples:
  88. folding:
  89. enabled: true
  90. title: "Config"
  91. list:
  92. - name: Provide names to UPS devices
  93. description: Map aliases to UPS devices
  94. config: |
  95. # a space separated list of UPS names
  96. # if empty, the list returned by 'upsc -l' will be used
  97. #nut_ups=
  98. # each line represents an alias for one UPS
  99. # if empty, the FQDN will be used
  100. nut_names["XXXXXX"]="UPS-office"
  101. nut_names["YYYYYY"]="UPS-rack"
  102. # how much time in seconds, to wait for nut to respond
  103. #nut_timeout=2
  104. # set this to 1, to enable another chart showing the number
  105. # of UPS clients connected to upsd
  106. #nut_clients_chart=1
  107. # the data collection frequency
  108. # if unset, will inherit the netdata update frequency
  109. #nut_update_every=2
  110. # the charts priority on the dashboard
  111. #nut_priority=90000
  112. # the number of retries to do in case of failure
  113. # before disabling the module
  114. #nut_retries=10
  115. troubleshooting:
  116. problems:
  117. list: []
  118. alerts:
  119. - name: nut_ups_charge
  120. link: https://github.com/netdata/netdata/blob/master/health/health.d/nut.conf
  121. metric: nut.charge
  122. info: average UPS charge over the last minute
  123. os: "*"
  124. - name: nut_10min_ups_load
  125. link: https://github.com/netdata/netdata/blob/master/health/health.d/nut.conf
  126. metric: nut.load
  127. info: average UPS load over the last 10 minutes
  128. os: "*"
  129. - name: nut_last_collected_secs
  130. link: https://github.com/netdata/netdata/blob/master/health/health.d/nut.conf
  131. metric: nut.load
  132. info: number of seconds since the last successful data collection
  133. metrics:
  134. folding:
  135. title: Metrics
  136. enabled: false
  137. description: ""
  138. availability: []
  139. scopes:
  140. - name: ups
  141. description: "Metrics related to UPS. Each UPS provides its own set of the following metrics."
  142. labels: []
  143. metrics:
  144. - name: nut.charge
  145. description: UPS Charge
  146. unit: "percentage"
  147. chart_type: area
  148. dimensions:
  149. - name: charge
  150. - name: nut.runtime
  151. description: UPS Runtime
  152. unit: "seconds"
  153. chart_type: line
  154. dimensions:
  155. - name: runtime
  156. - name: nut.battery.voltage
  157. description: UPS Battery Voltage
  158. unit: "Volts"
  159. chart_type: line
  160. dimensions:
  161. - name: voltage
  162. - name: high
  163. - name: low
  164. - name: nominal
  165. - name: nut.input.voltage
  166. description: UPS Input Voltage
  167. unit: "Volts"
  168. chart_type: line
  169. dimensions:
  170. - name: voltage
  171. - name: fault
  172. - name: nominal
  173. - name: nut.input.current
  174. description: UPS Input Current
  175. unit: "Ampere"
  176. chart_type: line
  177. dimensions:
  178. - name: nominal
  179. - name: nut.input.frequency
  180. description: UPS Input Frequency
  181. unit: "Hz"
  182. chart_type: line
  183. dimensions:
  184. - name: frequency
  185. - name: nominal
  186. - name: nut.output.voltage
  187. description: UPS Output Voltage
  188. unit: "Volts"
  189. chart_type: line
  190. dimensions:
  191. - name: voltage
  192. - name: nut.load
  193. description: UPS Load
  194. unit: "percentage"
  195. chart_type: area
  196. dimensions:
  197. - name: load
  198. - name: nut.load_usage
  199. description: UPS Load Usage
  200. unit: "Watts"
  201. chart_type: area
  202. dimensions:
  203. - name: load_usage
  204. - name: nut.temperature
  205. description: UPS Temperature
  206. unit: "temperature"
  207. chart_type: line
  208. dimensions:
  209. - name: temp
  210. - name: nut.clients
  211. description: UPS Connected Clients
  212. unit: "clients"
  213. chart_type: area
  214. dimensions:
  215. - name: clients