He Guys,
i have setup several SNMP-Sensors, but only two (fortigate_cpu_usage and fortigate_memory_usage) from 6 are working.
Here are my SNMP-Sensors:
- platform: snmp
host: 192.168.0.254
baseoid: .1.3.6.1.4.1.12356.101.4.1.4.0
community: !secret fortigate_snmp
name: 'Fortigate Memory Usage'
unit_of_measurement: "%"
- platform: snmp
host: 192.168.0.254
baseoid: .1.3.6.1.4.1.12356.101.4.1.3.0
community: !secret fortigate_snmp
name: 'Fortigate CPU Usage'
unit_of_measurement: "%"
- platform: snmp
host: 192.168.0.254
baseoid: .1.3.6.1.4.1.12356.101.13.2.1.1.5
community: !secret fortigate_snmp
name: 'Fortigate aktuelle Bandbreite'
unit_of_measurement: "kBit/s"
- platform: snmp
host: 192.168.0.1
baseoid: .1.3.6.1.4.1.4526.22.3.1.6
community: !secret fortigate_snmp
name: 'NAS HDD SMART Errors'
- platform: snmp
host: 192.168.0.1
baseoid: .1.3.6.1.4.1.4526.22.7.1.4
community: !secret fortigate_snmp
name: 'NAS Array Status'
- platform: snmp
host: 192.168.0.1
baseoid: .1.3.6.1.4.1.4526.22.4.1.3
community: !secret fortigate_snmp
name: 'NAS Luefter Status'
This the Output form my pi, when i try to parse the SNMP OID’s manually:
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.254 .1.3.6.1.4.1.12356.101.4.1.4.0
iso.3.6.1.4.1.12356.101.4.1.4.0 = Gauge32: 35
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.254 .1.3.6.1.4.1.12356.101.4.1.3.0
iso.3.6.1.4.1.12356.101.4.1.3.0 = Gauge32: 0
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.254 .1.3.6.1.4.1.12356.101.13.2.1.1.5
iso.3.6.1.4.1.12356.101.13.2.1.1.5.1 = Gauge32: 50
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.1 .1.3.6.1.4.1.4526.22.3.1.6
iso.3.6.1.4.1.4526.22.3.1.6.1 = INTEGER: 0
iso.3.6.1.4.1.4526.22.3.1.6.2 = INTEGER: 0
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.1 .1.3.6.1.4.1.4526.22.7.1.4
iso.3.6.1.4.1.4526.22.7.1.4.1 = STRING: "REDUNDANT"
pi@pi:~ $ snmpwalk -Os -c home -v 2c 192.168.0.1 .1.3.6.1.4.1.4526.22.4.1.3
iso.3.6.1.4.1.4526.22.4.1.3.1 = STRING: "ok"
Anyone has an idea, why this happens?
Thanks
BR
Lukas