Back to OP5 Monitor FAQ

How to Monitor a Server with Enhanced IPMI sensor

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 Copied

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 at the creator, Thomas Krenn’s German webpage.

Plugin details Copied

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 Copied

How to Enable IPMI Monitoring Copied

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 Copied

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

Check Commands Copied

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 Copied

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.

["Geneos"] ["FAQ"]

Was this topic helpful?