Back to the list of connectors

lm_sensors

Description

This connector enables the monitoring of environment sensors on Linux, through the sensors command.

Connector file name: MS_HW_lmsensors.hdf

Target

Typical platform: Any system

Operating system: Linux

Prerequisites

Leverages: lm_sensors

Technology and protocols: System Commands

This connector requires advanced privileges on the managed host for the commands below:

  • /usr/bin/sensors
  • /usr/sbin/dmidecode

This connector therefore needs to run as root or you need to configure a privilege-escalation mechanism like sudo on the managed host to allow the monitoring account to run the commands listed above.

Sample of /etc/sudoers to allow the above commands to be run as root by the patrol account:

patrol ALL=(root) NOPASSWD: /usr/bin/sensors
patrol ALL=(root) NOPASSWD: /usr/sbin/dmidecode

Connector Activation Criteria

The lm_sensors connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • Operating System is Linux
  • The command below succeeds on the monitored host
    • Command: /usr/bin/sensors -h
    • Output contains: Usage: sensors (regex)

Monitors

Object Type Collected Parameters Discovered Properties
Enclosure (MS_HW_ENCLOSURE)
  • BIOS Version
  • Serial Number
  • Type
  • Vendor
Fan (MS_HW_FAN)
  • Speed
  • Alarm Threshold
  • Fan Type/Location
  • Warning Threshold
Temperature Sensor (MS_HW_TEMPERATURE)
  • Temperature
  • Alarm Threshold
  • Warning Threshold
Voltage Sensor (MS_HW_VOLTAGE)
  • Voltage
  • Lower Threshold
  • Upper Threshold
  • Voltage Type
No results.