Search found 2 matches

by fvant
Mon Dec 05, 2005 11:23 am
Forum: Scripts and Templates
Topic: Net-SNMP lm_sensors temperature, fan speed, voltage monitor
Replies: 39
Views: 150572

I tried to read the hd temps, following the example in the post here but .54 is not available. lm_sensors is compiled in as i get loads of other stuff, just not the hd temps. snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.54 UCD-SNMP-MIB::ucdavis.54 = No Such Object available on this agent at ...
by fvant
Mon Dec 05, 2005 10:35 am
Forum: Scripts and Templates
Topic: graph your harddisk temperature
Replies: 7
Views: 12511

I see this working locally, but how would i monitor hdtemps on remote machines ?

EDIT:
this script workd for me. Taking hostname and full device path (/dev/hde) as arguments.

Code: Select all

nc $1 7634 | sed -e 's/^|//' -e 's/||/\n/g' | awk -F \| --assign=drive=$2 '$1 == drive {print $3}'