---
title: "How to Monitor a Server with Enhanced IPMI sensor"
description: "Monitoring servers with Enhanced IPMI sensors requires configuring IPMI and using the check\\ipmi\\sensor plugin. The plugin supports local and remote checks and monitors various hardware sensor groups based on system configuration."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020253213-op5-monitor-how-to-monitor-a-server-with-enhanced-ipmi-sensor/index.html"
---
- check\_ipmi\_sensor is no longer packaged with OP5 Monitor 9. Look into check\_monitor\_hardware\_ipmi instead.

- check\_ipmi\_sensor is on level 5 support on OP5 Monitor 8 (ITRS does not test this plugin continuously)

IPMI is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation. Through IPMI, several hardware sensors are made available for monitoring.

## Plugin check\_ipmi\_sensor

The check\_ipmi\_sensor plugin is an Open Source plugin which basically is a wrapper around a tool called FreeIPMI (see below). You can read more about [FreeIPMI](http://www.thomas-krenn.com/de/wiki/IPMI_Sensor_Monitoring_Plugin#Weitere_Informationen "FreeIPMI sensor monitoring") at the creator, Thomas Krenn's German webpage.

## Plugin details

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) needs to be configured to accept remote connections. The exact configuration procedure is hardware (motherboard/Bios) dependent.

## Prerequisites

- 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 based on your hardware.

On Dell PowerEdge servers (1950 and R410 at least) the following steps are needed to enable 'Serial over LAN'.

1. On Boot, press Ctrl-E when prompted.
2. Set IPMI Enabled
3. Set a static IP address and gateway.
4. Set a username and a password.
5. Reboot

**Note:** these steps are unnecessary on the OP5 Monitor server, only on the systems we want to monitor.

## Sensor groups that can be monitored

- TEMPERATURE
- VOLTAGE
- CURRENT
- FAN
- PHYSICAL\_SECURITY
- PLATFORM\_SECURITY\_VIOLATION\_ATTEMPT
- PROCESSOR
- POWER\_SUPPLY
- POWER\_UNIT
- MEMORY
- DRIVE\_SLOT
- SYSTEM\_FIRMWARE\_PROGRESS
  EVENT\_LOGGING\_DISABLED

- SYSTEM\_EVENT
- CRITICAL\_INTERRUPT
- MODULE\_BOARD
- SLOT\_CONNECTOR
- WATCHDOG2

**Note:** the availability of the sensor groups varies depending on the system configuration.

## Check Commands

If the check-commands do not exist in your configuration, do a "Check Command Import" via: ('Configure' -> 'Commands' -> 'Check Command Import -> check\_ipmi\_sensor').

Some check command examples follow:

|  |  |
| --- | --- |
| **command\_name** | **command\_line** |
| 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 suit your environment.

|  |  |  |  |
| --- | --- | --- | --- |
| **service\_description** | **check\_command** | **check\_command\_args** | **Note** |
| ipmi\_sensor\_memory | check\_ipmi\_sensor\_memory | root!password | \* |
| ipmi\_sensor\_fan | check\_ipmi\_sensor\_fan | root!password | \* |
| ipmi\_sensor\_power\_supply | check\_ipmi\_sensor\_power\_supply | root!password | \* |
| ipmi\_sensor\_power\_unit | check\_ipmi\_sensor\_power\_unit | root!password | \* |
| ipmi\_sensor\_driver\_slot | check\_ipmi\_sensor\_driver\_slot | root!password | \* |

**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.


