OIDs for Memory and temperature sensors

  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
Hi,

I am trying to graph different things from Cumulus in Cacti. I am getting good graph for interface and CPU process but Memory and Temperature its not working. Does anyone know valid OIDs for memory and Temperature in Cumulus ?
Photo of Sushil Karki

Sushil Karki

  • 260 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Paul Schmidt

Paul Schmidt, Employee

  • 240 Points 100 badge 2x thumb
Hi Sushil,

UCD-SNMP-MIB should contain memory info.
Try 1.3.2.1.4.1.2021.4 
ex.
root@sw17:~ #  snmpwalk  -c public -v2c localhost .1.3.6.1.4.1.2021.4UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 2006072 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 1535508 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1535508 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 33844 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 315756 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: error(1)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (0)

Temperature info (platform specific) should be in LM-SENSORS-MIB.
ex.
root@sw17:~ #  snmpwalk  -c public -v2c localhost .1.3.6.1.4.1.2021.13.16.2.1LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 0
LM-SENSORS-MIB::lmTempSensorsIndex.2 = INTEGER: 1
LM-SENSORS-MIB::lmTempSensorsIndex.3 = INTEGER: 2
LM-SENSORS-MIB::lmTempSensorsIndex.4 = INTEGER: 3
LM-SENSORS-MIB::lmTempSensorsIndex.5 = INTEGER: 4
LM-SENSORS-MIB::lmTempSensorsIndex.6 = INTEGER: 5
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.2 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.3 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.4 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsDevice.5 = STRING: temp4
LM-SENSORS-MIB::lmTempSensorsDevice.6 = STRING: temp5
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 46318
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 28000
LM-SENSORS-MIB::lmTempSensorsValue.3 = Gauge32: 26000
LM-SENSORS-MIB::lmTempSensorsValue.4 = Gauge32: 28000
LM-SENSORS-MIB::lmTempSensorsValue.5 = Gauge32: 29000
LM-SENSORS-MIB::lmTempSensorsValue.6 = Gauge32: 20000
 
The following KB might be useful...

https://support.cumulusnetworks.com/hc/en-us/articles/207341008