Page 1 of 1
lm_sensors
Posted: Thu Nov 06, 2014 7:26 am
by hanya.radwan
hi,
I searched a lot how to configure lm_sensors with net_snmp, but I can't the suitable document for that.
thanks,
Re: lm_sensors
Posted: Thu Nov 06, 2014 10:55 am
by lmiltchev
I found one for Ubuntu - I am not sure if this is going to be very helpful but here it is:
http://www.net-snmp.org/wiki/index.php/ ... untu_10.04
What have you tried so far? Did you try running snmpwalk to test the lm-sensors MIB?
Re: lm_sensors
Posted: Sun Nov 23, 2014 7:35 am
by hanya.radwan
hi,
I need lm_sensors for solaries and I can't find the best one, can you help me regards that.
Re: lm_sensors
Posted: Mon Nov 24, 2014 10:16 am
by slansing
Did you try running snmpwalk to test the lm-sensors MIB?
Lets get the basics out of the way first, so we know you can actually monitor these. Please run an SNMP walk against the OID you are looking for on one of those Solaris systems.
Code: Select all
snmpwalk -v 2c -c commstring remote.solaris.system's.address 1.3.6.1.4.1.2021.13.16
Adjust the line above for your community string, snmp version, and address, that OID should be the correct one.
Re: lm_sensors
Posted: Wed Nov 26, 2014 5:59 am
by hanya.radwan
I run the command , and host has net-snmp, the purpose of using lm_sensors is to check power temperature, fans, harddisk faults , motherboard faults, voltage and others
[root@nms ~]# snmpwalk -v 2c -c public 10.200.24.175 1.3.6.1.4.1.2021.13.16
LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 1
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 8300
Re: lm_sensors
Posted: Wed Nov 26, 2014 12:08 pm
by lmiltchev
What is the output of the following command?
Code: Select all
snmpwalk -v 2c -c public -m ALL 10.200.24.175 lmSensors
There is some info on monitoring CPU temp, fan and power supply sensors on Solaris here:
http://www.net-snmp.org/docs/README.solaris.html
Re: lm_sensors
Posted: Wed Nov 26, 2014 3:52 pm
by bdgoecke
It is working you are getting results.
The reason you are only getting one sensor result could be several issues. It could be a limitation of the hardware, it could be the configuration of the lm-sensors software, or the configuration of the net-snmp.
I would suggest you look for information about what sensors your hardware will support, and then see what sensors net-snmp can be configured to query.
You might also look at the SNMP software offered by Sun, that might have access to more sensors.
Re: lm_sensors
Posted: Thu Nov 27, 2014 2:06 am
by hanya.radwan
this the output:
[root@nms ~]# snmpwalk -v 2c -c public -m ALL 10.200.24.175 lmSensors
LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 1
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 8300
Re: lm_sensors
Posted: Mon Dec 01, 2014 10:47 am
by lmiltchev
Did you look for information about what sensors your hardware will support as suggested by bdgoecke?