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_snmp_lmsensors

Rating
4 votes
Favoured:
1
Hits
156899
Files:
FileDescription
check_snmp_lmsensors.plcheck_snmp_lmsensors.pl
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 status of temperature sensors and fans on linux hosts with LM-SENSORS-MIB.
Check status of temperature sensors and fans on linux hosts with snmp.
A PERL plugin using Nagios::Plugin and Net::SNMP.
You need a lmsensors-enabled net-snmpd on the remote host.
If snmpwalk -v1 -c public .1.3.6.1.4.1.2021.13.16 works,
net-snmpd was built with support for libsensors.


Usage:
check_snmp_lmsensors.pl -w 40,55 -c 50,65 -i 1,2 -s Temp -C public -H host
Reviews (3)
bydragonauta, January 22, 2014
I'm using this awesome plugin.
I can check system temp and fan, but it lacks the CPU temps.

snmpwalk throws:
iso.3.6.1.4.1.2021.13.16.2.1.1.1 = INTEGER: 0
iso.3.6.1.4.1.2021.13.16.2.1.1.2 = INTEGER: 1
iso.3.6.1.4.1.2021.13.16.2.1.1.3 = INTEGER: 2
iso.3.6.1.4.1.2021.13.16.2.1.1.4 = INTEGER: 3
iso.3.6.1.4.1.2021.13.16.2.1.2.1 = STRING: "temp1"
iso.3.6.1.4.1.2021.13.16.2.1.2.2 = STRING: "temp1"
iso.3.6.1.4.1.2021.13.16.2.1.2.3 = STRING: "temp2"
iso.3.6.1.4.1.2021.13.16.2.1.2.4 = STRING: "temp2"
iso.3.6.1.4.1.2021.13.16.2.1.3.1 = Gauge32: 27800
iso.3.6.1.4.1.2021.13.16.2.1.3.2 = Gauge32: 105000
iso.3.6.1.4.1.2021.13.16.2.1.3.3 = Gauge32: 29800
iso.3.6.1.4.1.2021.13.16.2.1.3.4 = Gauge32: 105000
iso.3.6.1.4.1.2021.13.16.5.1.1.1 = INTEGER: 0
iso.3.6.1.4.1.2021.13.16.5.1.1.2 = INTEGER: 1
iso.3.6.1.4.1.2021.13.16.5.1.1.3 = INTEGER: 2
iso.3.6.1.4.1.2021.13.16.5.1.1.4 = INTEGER: 3
iso.3.6.1.4.1.2021.13.16.5.1.1.5 = INTEGER: 4
iso.3.6.1.4.1.2021.13.16.5.1.1.6 = INTEGER: 5
iso.3.6.1.4.1.2021.13.16.5.1.1.7 = INTEGER: 6
iso.3.6.1.4.1.2021.13.16.5.1.1.8 = INTEGER: 7
iso.3.6.1.4.1.2021.13.16.5.1.1.9 = INTEGER: 8
iso.3.6.1.4.1.2021.13.16.5.1.1.10 = INTEGER: 9
iso.3.6.1.4.1.2021.13.16.5.1.1.11 = INTEGER: 10
iso.3.6.1.4.1.2021.13.16.5.1.1.12 = INTEGER: 11
iso.3.6.1.4.1.2021.13.16.5.1.1.13 = INTEGER: 12
iso.3.6.1.4.1.2021.13.16.5.1.1.14 = INTEGER: 13
iso.3.6.1.4.1.2021.13.16.5.1.1.15 = INTEGER: 14
iso.3.6.1.4.1.2021.13.16.5.1.1.16 = INTEGER: 15
iso.3.6.1.4.1.2021.13.16.5.1.1.17 = INTEGER: 16
iso.3.6.1.4.1.2021.13.16.5.1.1.18 = INTEGER: 17
iso.3.6.1.4.1.2021.13.16.5.1.1.19 = INTEGER: 18
iso.3.6.1.4.1.2021.13.16.5.1.1.20 = INTEGER: 19
iso.3.6.1.4.1.2021.13.16.5.1.2.1 = STRING: "Physical id 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.2 = STRING: "Physical id 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.3 = STRING: "Physical id 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.4 = STRING: "Physical id 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.5 = STRING: "Core 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.6 = STRING: "Core 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.7 = STRING: "Core 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.8 = STRING: "Core 0"
iso.3.6.1.4.1.2021.13.16.5.1.2.9 = STRING: "Core 1"
iso.3.6.1.4.1.2021.13.16.5.1.2.10 = STRING: "Core 1"
iso.3.6.1.4.1.2021.13.16.5.1.2.11 = STRING: "Core 1"
iso.3.6.1.4.1.2021.13.16.5.1.2.12 = STRING: "Core 1"
iso.3.6.1.4.1.2021.13.16.5.1.2.13 = STRING: "Core 2"
iso.3.6.1.4.1.2021.13.16.5.1.2.14 = STRING: "Core 2"
iso.3.6.1.4.1.2021.13.16.5.1.2.15 = STRING: "Core 2"
iso.3.6.1.4.1.2021.13.16.5.1.2.16 = STRING: "Core 2"
iso.3.6.1.4.1.2021.13.16.5.1.2.17 = STRING: "Core 3"
iso.3.6.1.4.1.2021.13.16.5.1.2.18 = STRING: "Core 3"
iso.3.6.1.4.1.2021.13.16.5.1.2.19 = STRING: "Core 3"
iso.3.6.1.4.1.2021.13.16.5.1.2.20 = STRING: "Core 3"
iso.3.6.1.4.1.2021.13.16.5.1.3.1 = Gauge32: 39000
iso.3.6.1.4.1.2021.13.16.5.1.3.2 = Gauge32: 80000
iso.3.6.1.4.1.2021.13.16.5.1.3.3 = Gauge32: 100000
iso.3.6.1.4.1.2021.13.16.5.1.3.4 = Gauge32: 0
iso.3.6.1.4.1.2021.13.16.5.1.3.5 = Gauge32: 32000
iso.3.6.1.4.1.2021.13.16.5.1.3.6 = Gauge32: 80000
iso.3.6.1.4.1.2021.13.16.5.1.3.7 = Gauge32: 100000
iso.3.6.1.4.1.2021.13.16.5.1.3.8 = Gauge32: 0
iso.3.6.1.4.1.2021.13.16.5.1.3.9 = Gauge32: 39000
iso.3.6.1.4.1.2021.13.16.5.1.3.10 = Gauge32: 80000
iso.3.6.1.4.1.2021.13.16.5.1.3.11 = Gauge32: 100000
iso.3.6.1.4.1.2021.13.16.5.1.3.12 = Gauge32: 0
iso.3.6.1.4.1.2021.13.16.5.1.3.13 = Gauge32: 34000
iso.3.6.1.4.1.2021.13.16.5.1.3.14 = Gauge32: 80000
iso.3.6.1.4.1.2021.13.16.5.1.3.15 = Gauge32: 100000
iso.3.6.1.4.1.2021.13.16.5.1.3.16 = Gauge32: 0
iso.3.6.1.4.1.2021.13.16.5.1.3.17 = Gauge32: 34000
iso.3.6.1.4.1.2021.13.16.5.1.3.18 = Gauge32: 80000
iso.3.6.1.4.1.2021.13.16.5.1.3.19 = Gauge32: 100000
iso.3.6.1.4.1.2021.13.16.5.1.3.20 = Gauge32: 0

any advice?
coretemp-isa
bycha0tics, November 27, 2009
Misc option for lmSensors OID missing