metadata.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. plugin_name: freeipmi.plugin
  2. modules:
  3. - meta:
  4. plugin_name: freeipmi.plugin
  5. module_name: freeipmi
  6. monitored_instance:
  7. name: Intelligent Platform Management Interface (IPMI)
  8. link: "https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface"
  9. categories:
  10. - data-collection.hardware-devices-and-sensors
  11. icon_filename: "netdata.png"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - sensors
  19. - ipmi
  20. - freeipmi
  21. - ipmimonitoring
  22. most_popular: true
  23. overview:
  24. data_collection:
  25. metrics_description: |
  26. "Monitor enterprise server sensor readings, event log entries, and hardware statuses to ensure reliable server operations."
  27. method_description: |
  28. The plugin uses open source library IPMImonitoring to communicate with sensors.
  29. supported_platforms:
  30. include: []
  31. exclude: []
  32. multi_instance: true
  33. additional_permissions:
  34. description: "The plugin needs setuid."
  35. default_behavior:
  36. auto_detection:
  37. description: ""
  38. limits:
  39. description: ""
  40. performance_impact:
  41. description: "Linux kernel module for IPMI can create big overhead."
  42. setup:
  43. prerequisites:
  44. list:
  45. - title: Install freeipmi.plugin
  46. description: |
  47. When using our official DEB/RPM packages, the FreeIPMI plugin is included in a separate package named `netdata-plugin-freeipmi` which needs to be manually installed using your system package manager. It is not installed automatically due to the large number of dependencies it requires.
  48. When using a static build of Netdata, the FreeIPMI plugin will be included and installed automatically, though you will still need to have FreeIPMI installed on your system to be able to use the plugin.
  49. When using a local build of Netdata, you need to ensure that the FreeIPMI development packages (typically called `libipmimonitoring-dev`, `libipmimonitoring-devel`, or `freeipmi-devel`) are installed when building Netdata.
  50. - title: Preliminary actions
  51. description: |
  52. If you have not previously used IPMI on your system, you will probably need to run the `ipmimonitoring` command as root
  53. to initialize IPMI settings so that the Netdata plugin works correctly. It should return information about available sensors on the system.
  54. configuration:
  55. file:
  56. name: "netdata.conf"
  57. section_name: "[plugin:freeipmi]"
  58. options:
  59. description: |
  60. The configuration is set using command line options:
  61. ```
  62. # netdata.conf
  63. [plugin:freeipmi]
  64. command options = opt1 opt2 ... optN
  65. ```
  66. To display a help message listing the available command line options:
  67. ```bash
  68. ./usr/libexec/netdata/plugins.d/freeipmi.plugin --help
  69. ```
  70. folding:
  71. title: "Command options"
  72. enabled: true
  73. list:
  74. - name: SECONDS
  75. description: Data collection frequency.
  76. default_value: ""
  77. required: false
  78. - name: debug
  79. description: Enable verbose output.
  80. default_value: disabled
  81. required: false
  82. - name: no-sel
  83. description: Disable System Event Log (SEL) collection.
  84. default_value: disabled
  85. required: false
  86. - name: reread-sdr-cache
  87. description: Re-read SDR cache on every iteration.
  88. default_value: disabled
  89. required: false
  90. - name: interpret-oem-data
  91. description: Attempt to parse OEM data.
  92. default_value: disabled
  93. required: false
  94. - name: assume-system-event-record
  95. description: treat illegal SEL events records as normal.
  96. default_value: disabled
  97. required: false
  98. - name: ignore-non-interpretable-sensors
  99. description: Do not read sensors that cannot be interpreted.
  100. default_value: disabled
  101. required: false
  102. - name: bridge-sensors
  103. description: Bridge sensors not owned by the BMC.
  104. default_value: disabled
  105. required: false
  106. - name: shared-sensors
  107. description: Enable shared sensors if found.
  108. default_value: disabled
  109. required: false
  110. - name: no-discrete-reading
  111. description: Do not read sensors if their event/reading type code is invalid.
  112. default_value: enabled
  113. required: false
  114. - name: ignore-scanning-disabled
  115. description: Ignore the scanning bit and read sensors no matter what.
  116. default_value: disabled
  117. required: false
  118. - name: assume-bmc-owner
  119. description: Assume the BMC is the sensor owner no matter what (usually bridging is required too).
  120. default_value: disabled
  121. required: false
  122. - name: hostname HOST
  123. description: Remote IPMI hostname or IP address.
  124. default_value: local
  125. required: false
  126. - name: username USER
  127. description: Username that will be used when connecting to the remote host.
  128. default_value: ""
  129. required: false
  130. - name: password PASS
  131. description: Password that will be used when connecting to the remote host.
  132. default_value: ""
  133. required: false
  134. - name: noauthcodecheck / no-auth-code-check
  135. description: Don't check the authentication codes returned.
  136. default_value: ""
  137. required: false
  138. - name: driver-type IPMIDRIVER
  139. description: Specify the driver type to use instead of doing an auto selection. The currently available outofband drivers are LAN and LAN_2_0, which perform IPMI 1.5 and IPMI 2.0 respectively. The currently available inband drivers are KCS, SSIF, OPENIPMI and SUNBMC.
  140. default_value: ""
  141. required: false
  142. - name: sdr-cache-dir PATH
  143. description: SDR cache files directory.
  144. default_value: /tmp
  145. required: false
  146. - name: sensor-config-file FILE
  147. description: Sensors configuration filename.
  148. default_value: system default
  149. required: false
  150. - name: sel-config-file FILE
  151. description: SEL configuration filename.
  152. default_value: system default
  153. required: false
  154. - name: ignore N1,N2,N3,...
  155. description: Sensor IDs to ignore.
  156. default_value: ""
  157. required: false
  158. - name: ignore-status N1,N2,N3,...
  159. description: Sensor IDs to ignore status (nominal/warning/critical).
  160. default_value: ""
  161. required: false
  162. - name: -v
  163. description: Print version and exit.
  164. default_value: ""
  165. required: false
  166. - name: --help
  167. description: Print usage message and exit.
  168. default_value: ""
  169. required: false
  170. examples:
  171. folding:
  172. enabled: true
  173. title: "Config"
  174. list:
  175. - name: Decrease data collection frequency
  176. description: Basic example decreasing data collection frequency. The minimum `update every` is 5 (enforced internally by the plugin). IPMI is slow and CPU hungry. So, once every 5 seconds is pretty acceptable.
  177. config: |
  178. [plugin:freeipmi]
  179. update every = 10
  180. folding:
  181. enabled: false
  182. - name: Disable SEL collection
  183. description: Append to `command options =` the options you need.
  184. config: |
  185. [plugin:freeipmi]
  186. command options = no-sel
  187. - name: Ignore specific sensors
  188. description: |
  189. Specific sensor IDs can be excluded from freeipmi tools by editing `/etc/freeipmi/freeipmi.conf` and setting the IDs to be ignored at `ipmi-sensors-exclude-record-ids`.
  190. **However this file is not used by `libipmimonitoring`** (the library used by Netdata's `freeipmi.plugin`).
  191. To find the IDs to ignore, run the command `ipmimonitoring`. The first column is the wanted ID:
  192. ID | Name | Type | State | Reading | Units | Event
  193. 1 | Ambient Temp | Temperature | Nominal | 26.00 | C | 'OK'
  194. 2 | Altitude | Other Units Based Sensor | Nominal | 480.00 | ft | 'OK'
  195. 3 | Avg Power | Current | Nominal | 100.00 | W | 'OK'
  196. 4 | Planar 3.3V | Voltage | Nominal | 3.29 | V | 'OK'
  197. 5 | Planar 5V | Voltage | Nominal | 4.90 | V | 'OK'
  198. 6 | Planar 12V | Voltage | Nominal | 11.99 | V | 'OK'
  199. 7 | Planar VBAT | Voltage | Nominal | 2.95 | V | 'OK'
  200. 8 | Fan 1A Tach | Fan | Nominal | 3132.00 | RPM | 'OK'
  201. 9 | Fan 1B Tach | Fan | Nominal | 2150.00 | RPM | 'OK'
  202. 10 | Fan 2A Tach | Fan | Nominal | 2494.00 | RPM | 'OK'
  203. 11 | Fan 2B Tach | Fan | Nominal | 1825.00 | RPM | 'OK'
  204. 12 | Fan 3A Tach | Fan | Nominal | 3538.00 | RPM | 'OK'
  205. 13 | Fan 3B Tach | Fan | Nominal | 2625.00 | RPM | 'OK'
  206. 14 | Fan 1 | Entity Presence | Nominal | N/A | N/A | 'Entity Present'
  207. 15 | Fan 2 | Entity Presence | Nominal | N/A | N/A | 'Entity Present'
  208. ...
  209. `freeipmi.plugin` supports the option `ignore` that accepts a comma separated list of sensor IDs to ignore. To configure it set on `netdata.conf`:
  210. config: |
  211. [plugin:freeipmi]
  212. command options = ignore 1,2,3,4,...
  213. troubleshooting:
  214. problems:
  215. list:
  216. - name: Debug Mode
  217. description: |
  218. You can run `freeipmi.plugin` with the debug option enabled, to troubleshoot issues with it. The output should give you clues as to why the collector isn't working.
  219. - Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.
  220. ```bash
  221. cd /usr/libexec/netdata/plugins.d/
  222. ```
  223. - Switch to the `netdata` user.
  224. ```bash
  225. sudo -u netdata -s
  226. ```
  227. - Run the `freeipmi.plugin` in debug mode:
  228. ```bash
  229. ./freeipmi.plugin 5 debug
  230. ```
  231. - name: kimpi0 CPU usage
  232. description: |
  233. There have been reports that kipmi is showing increased CPU when the IPMI is queried. To lower the CPU consumption of the system you can issue this command:
  234. ```sh
  235. echo 10 > /sys/module/ipmi_si/parameters/kipmid_max_busy_us
  236. ```
  237. You can also permanently set the above setting by creating the file `/etc/modprobe.d/ipmi.conf` with this content:
  238. ```sh
  239. # prevent kipmi from consuming 100% CPU
  240. options ipmi_si kipmid_max_busy_us=10
  241. ```
  242. This instructs the kernel IPMI module to pause for a tick between checking IPMI. Querying IPMI will be a lot slower now (e.g. several seconds for IPMI to respond), but `kipmi` will not use any noticeable CPU.
  243. You can also use a higher number (this is the number of microseconds to poll IPMI for a response, before waiting for a tick).
  244. alerts:
  245. - name: ipmi_sensor_state
  246. link: https://github.com/netdata/netdata/blob/master/health/health.d/ipmi.conf
  247. metric: ipmi.sensor_state
  248. info: IPMI sensor ${label:sensor} (${label:component}) state
  249. metrics:
  250. folding:
  251. title: Metrics
  252. enabled: false
  253. description: |
  254. The plugin does a speed test when it starts, to find out the duration needed by the IPMI processor to respond. Depending on the speed of your IPMI processor, charts may need several seconds to show up on the dashboard.
  255. availability: []
  256. scopes:
  257. - name: global
  258. description: These metrics refer to the entire monitored application.
  259. labels: []
  260. metrics:
  261. - name: ipmi.sel
  262. description: IPMI Events
  263. unit: "events"
  264. chart_type: area
  265. dimensions:
  266. - name: events
  267. - name: sensor
  268. description: ""
  269. labels:
  270. - name: sensor
  271. description: The sensor name
  272. - name: type
  273. description: One of 45 recognized sensor types (Battery, Voltage...)
  274. - name: component
  275. description: One of 25 recognized components (Processor, Peripheral).
  276. metrics:
  277. - name: ipmi.sensor_state
  278. description: IPMI Sensors State
  279. unit: "state"
  280. chart_type: line
  281. dimensions:
  282. - name: nominal
  283. - name: critical
  284. - name: warning
  285. - name: unknown
  286. - name: ipmi.sensor_temperature_c
  287. description: IPMI Sensor Temperature Celsius
  288. unit: "Celsius"
  289. chart_type: line
  290. dimensions:
  291. - name: temperature
  292. - name: ipmi.sensor_temperature_f
  293. description: IPMI Sensor Temperature Fahrenheit
  294. unit: "Fahrenheit"
  295. chart_type: line
  296. dimensions:
  297. - name: temperature
  298. - name: ipmi.sensor_voltage
  299. description: IPMI Sensor Voltage
  300. unit: "Volts"
  301. chart_type: line
  302. dimensions:
  303. - name: voltage
  304. - name: ipmi.sensor_ampere
  305. description: IPMI Sensor Current
  306. unit: "Amps"
  307. chart_type: line
  308. dimensions:
  309. - name: ampere
  310. - name: ipmi.sensor_fan_speed
  311. description: IPMI Sensor Fans Speed
  312. unit: "RPM"
  313. chart_type: line
  314. dimensions:
  315. - name: rotations
  316. - name: ipmi.sensor_power
  317. description: IPMI Sensor Power
  318. unit: "Watts"
  319. chart_type: line
  320. dimensions:
  321. - name: power
  322. - name: ipmi.sensor_reading_percent
  323. description: IPMI Sensor Reading Percentage
  324. unit: "%"
  325. chart_type: line
  326. dimensions:
  327. - name: percentage