O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.12 Hardware Checks with LM Sensors

Modern mainboards are equipped with sensors that allow you to check the "health" of the system. In the lm-sensors[82] project it is also possible in Linux to query this data via I2C or SMBus (System Management Bus, a I2C special case).

To enable this, the kernel must have a suitable driver. Kernel 2.4.x normally requires additional modules, which are included in the software.[83] With a little luck, your distribution may include precompiled modules (e.g., SUSE). Kernel 2.6, however, already includes many drivers; here you just compile the entire branch below I2C Hardware Sensors Chip support.

It would take too much space here to detail the installation of the necessary modules. We will therefore only go into ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required