Pfsense temperature graph-2

little bit of help here guys ,

how can map these values on the temperature graph?
i’ve little knowledge of the Ansibel files, this here under is an attempt (but its currently wrong)

if i run the snmpwalk for that device i get the following

snmpwalk -c public -v 2c 172.21.3.33 .1.3.6.1.4.1.8072.1.3.2.3.1
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line.“GetTemps” = STRING: 52.1
NET-SNMP-EXTEND-MIB::nsExtendOutputFull.“GetTemps” = STRING: 52.1
52.1
52.1
52.1
NET-SNMP-EXTEND-MIB::nsExtendOutNumLines.“GetTemps” = INTEGER: 4
NET-SNMP-EXTEND-MIB::nsExtendResult.“GetTemps” = INTEGER: 0

vi /opt/librenms/includes/definitions/discovery/pfsense.yaml
modules:
os:
sysDescr_regex:
- ‘/ (?\d+.\d\S+) /’
- ‘/(?aarch64|alpha|amd64|arm\w*|i386|ia64|mips\w*|pc98|powerpc\w*|risc\w*|sparc\w*)/i’
sensors:
temperature:
options:
divisor: 10
data:
-
oid: NET-SNMP-EXTEND-MIB::nsExtendOutputFull
value: GetTemps
num_oid: ‘.1.3.6.1.4.1.8072.1.3.2.3.1.1.{{ $index }}’
descr: NET-SNMP-EXTEND-MIB::nsExtendOutNumLines
index: STRING.{{ $index }}

if someone can work this out , we can have a graph for the temperature of the pfsense :slight_smile: