IPMI is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation. Through IPMI a number of hardware sensors are made available for monitoring.
The check_ipmi_sensor plugins is a Open Source plugin which basically is a wrapper around a tool called FreeIPMI (see below). You can read more about FreeIPMI at the creator, Thomas Krenn’s German webpage.
The plugin supports IPMI v1.5 and IPMI v2.0. It can check IPMI sensors locally or via ‘Serial over LAN’ connection. In order for remote monitoring to be possible, the target (monitored system) need to be configured to accept remote connections. The exact configuration procedure is hardware (motherboard/Bios) dependant.
- Latest plugin package, or the package monitor-plugin-check_ipmi: "yum install monitor-plugin-check_ipmi"
- Install the FreeIPMI package on the op5 monitor server, ”yum install freeipmi”
- Enable and configure IPMI as described below.
How to Enable IPMI Monitoring
The following is an example on how-to enable IPMI , please note that it can differ for your hardware.
- On Boot, press Ctrl-E when prompted.
- Set IPMI Enabled
- Set a static IP address and gateway.
- Set a username and a password.
Note: these steps are not necessary on the op5 Monitor server, only on the systems we want to monitor.
Sensor groups that can be monitored
Note: the availability of the sensor groups is variating depending on system configuration.
If the check-commands does not exist in your configuration, do a "Check Command Import" via: (‘Configure’ -> ‘Commands’ -> ‘Check Command Import -> check_ipmi_sensor’).
Some check commands example following:
|check_ipmi_sensor_memory||$USER1$/check_ipmi_sensor -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -L user -O “-c /opt/monitor/var/ipmi” -b -T MEMORY|
|check_ipmi_sensor_fan||$USER1$/check_ipmi_sensor -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -L user -O “-c /opt/monitor/var/ipmi” -b -T FAN|
|check_ipmi_sensor_power_supply||$USER1$/check_ipmi_sensor -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -L user -O “-c /opt/monitor/var/ipmi” -b -T POWER_SUPPLY|
|check_ipmi_sensor_power_unit||$USER1$/check_ipmi_sensor -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -L user -O “-c /opt/monitor/var/ipmi” -b -T POWER_UNIT|
|check_ipmi_sensor_driver_slot||$USER1$/check_ipmi_sensor -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -L user -O “-c /opt/monitor/var/ipmi” -b -T DRIVE_SLOT|
Adding the services
Below are some examples of services you can add.
Add the required services, (‘Configure’ -> ‘Host: ‘ -> ‘Go’ -> ‘Services for host ‘ -> ‘Add new service’ -> ‘Go’):
Arguments are just examples, you need to adjust them to suite your environment.
Note*: You can instead add arguments(ARGs) USER11(root) and USER12(password) to the file /opt/monitor/etc/resource.cfg. Don’t forget to reload the Monitor service.