freeipmi.plugin
Netdata has a freeipmi plugin.
FreeIPMI provides in-band and out-of-band IPMI software based on the IPMI v1.5/2.0 specification. The IPMI specification defines a set of interfaces for platform management and is implemented by a number vendors for system management. The features of IPMI that most users will be interested in are sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL).
freeipmi.plugin
#
Compile install
libipmimonitoring-dev
orlibipmimonitoring-devel
(freeipmi-devel
on RHEL based OS) using the package manager of your system.re-install Netdata from source. The installer will detect that the required libraries are now available and will also build
freeipmi.plugin
.
โ In some distributions
libipmimonitoring.pc
is located in an unregistered directory. In that case you should find the file and link it to the standard pkg-config directory. Usually, runningsudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/libipmimonitoring.pc/libipmimonitoring.pc /usr/lib/pkgconfig/libipmimonitoring.pc
resolves the issue.
Keep in mind IPMI requires root access, so the plugin is setuid to root.
If you just installed the required IPMI tools, please run at least once the command ipmimonitoring
and verify it returns sensors information. This command initialises IPMI configuration, so that the Netdata plugin will be able to work.
#
Netdata useThe plugin creates (up to) 8 charts, based on the information collected from IPMI:
- number of sensors by state
- number of events in SEL
- Temperatures CELSIUS
- Temperatures FAHRENHEIT
- Voltages
- Currents
- Power
- Fans
It also adds 2 alarms:
- Sensors in non-nominal state (i.e. warning and critical)
- SEL is non empty
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.
freeipmi.plugin
configuration#
The plugin supports a few options. To see them, run:
You can set these options in /etc/netdata/netdata.conf
at this section:
Append to command options =
the settings you need. 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.
#
Ignoring specific sensorsSpecific 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
. However this file is not used by libipmimonitoring
(the library used by Netdata's freeipmi.plugin
).
So, freeipmi.plugin
supports the option ignore
that accepts a comma separated list of sensor IDs to ignore. To configure it, edit /etc/netdata/netdata.conf
and set:
To find the IDs to ignore, run the command ipmimonitoring
. The first column is the wanted ID:
#
DebuggingYou can run the plugin by hand:
You will get verbose output on what the plugin does.
#
kipmi0 CPU usageThere 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:
You can also permanently set the above setting by creating the file /etc/modprobe.d/ipmi.conf
with this content:
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. You can also use a higher number (this is the number of microseconds to poll IPMI for a response, before waiting for a tick).
If you need to disable IPMI for Netdata, edit /etc/netdata/netdata.conf
and set: