Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_lm_sensors

Current Version
3.1.1
Owner
Hits
111478
Files:
FileDescription
check_lm_sensors-3.1.1.tar.gzcheck_lm_sensors-3.1.1.tar.gz
check_lm_sensors-3.1.1-0.src.rpmcheck_lm_sensors-3.1.1-0.src.rpm
check_lm_sensors-3.1.1-0.noarch.rpmcheck_lm_sensors-3.1.1-0.noarch.rpm
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
check_lm_sensors is a Nagios plugin to monitor the values of on board sensors and hard disk temperatures on Linux systems
Reviews (1)
As /usr/sbin/hddtemp has to be run by root, there are two manual tweaks to do to have it run properly.

First add sudo in /usr/lib/nagios/plugins/contrib/check_lm_sensors at the command issued at line 29O (in the revision 1030) :
my $command = "$hddtemp_bin -n /dev/$name";
changes to ->
my $command = "sudo $hddtemp_bin -n /dev/$name";

Then edit the sudoers file to add an authorization to the nagios user for sudoing this peculiar command :
nagios ALL=(root) NOPASSWD:/usr/sbin/hddtemp
(if your nagios user is not called nagios, please update accordingly)

And that's all.