snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

getting value as label instead of value

Open amitcohen91 opened this issue 3 years ago • 0 comments

I’m trying to collect data from the Fortinet firewall. but I get some value as a label in the SNMP-exporter. for example:

fgHwSensorEntValue{fgHwSensorEntIndex="1",fgHwSensorEntName="PSU [1]",fgHwSensorEntValue="ON"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="10",fgHwSensorEntName="B50210_1 Temperature",fgHwSensorEntValue="39.636398"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="11",fgHwSensorEntName="B50210_2 Temperature",fgHwSensorEntValue="42.970001"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="2",fgHwSensorEntName="PSU [2]",fgHwSensorEntValue="ON"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="3",fgHwSensorEntName="SYS Fan1 Speed",fgHwSensorEntValue="6054"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="4",fgHwSensorEntName="SYS Fan2 Speed",fgHwSensorEntValue="6000"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="5",fgHwSensorEntName="Ext Temperature",fgHwSensorEntValue="42"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="6",fgHwSensorEntName="Fan Temperature",fgHwSensorEntValue="32"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="7",fgHwSensorEntName="CPU_ON-DIE Temperature",fgHwSensorEntValue="45.554001"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="8",fgHwSensorEntName="BCM_switch Temperature",fgHwSensorEntValue="52.400002"} 1
fgHwSensorEntValue{fgHwSensorEntIndex="9",fgHwSensorEntName="B50185 Temperature",fgHwSensorEntValue="66.495796"} 

This looks like when I'm trying to snmp-walk

snmpwalk -v 2c -c community <IP> .1.3.6.1.4.1.12356.101.4.3.2.1.3
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.1 = STRING: "ON"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.2 = STRING: "ON"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.3 = STRING: "6459"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.4 = STRING: "6279"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.5 = STRING: "42.5"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.6 = STRING: "33"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.7 = STRING: "45.554001"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.8 = STRING: "52.400002"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.9 = STRING: "66.495796"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.10 = STRING: "40.192001"
SNMPv2-SMI::enterprises.12356.101.4.3.2.1.3.11 = STRING: "43.5256"

How it looks while using MIB-browser image

amitcohen91 avatar Jul 26 '22 12:07 amitcohen91