Hi all
Busy rolling snmp monitoring out across my network.
one set of online note say I need to configure "sensor", another says device_tracker ?
... sensor seem to be the more correct one... the more I read.
Any chance Anyone has done some nice cards for their Unifi switches/AP's etc, thats willing to share.
I got 5 switches, 3 is managed, so have snmp on them and then 3 x AP's.
This is the start of a bigger snmp roll out, want to monitor my TrueNAS, a large Vertiv Liebert UPS, and some smaller lab "TopTon" cluster nodes and printers
G
device_tracker:
# Unifi CORE / 24 Port
- platform: snmp
name: "USW Pro Max 24 PoE Switch Uptime - 24 Port"
host: 172.16.10.2 # Replace with your switch IP
community: public # Replace with your SNMP community string
baseoid: 1.3.6.1.2.1.1.3.0
unit_of_measurement: "days"
value_template: >
{{ (value | float / 8640000) | round(2) }}
- platform: snmp
name: "USW Pro Max 24 PoE Switch Model"
host: 172.16.10.2 # Replace with your switch IP
community: public
baseoid: 1.3.6.1.2.1.1.1.0
accept_errors: true
name: "USW Pro Max 24 PoE Switch Temp"
host: 172.16.10.2
baseoid: 1.3.6.1.4.1.19865.1.2.1.4.0 # Example OID
community: public
- platform: snmp
name: "USW Pro Max 24 PoE Port 1 Status"
host: 172.16.10.2 # Replace with your switch IP
community: public
baseoid: 1.3.6.1.2.1.2.2.1.7.1 # .1 at the end represents Port 1
- platform: snmp
name: "USW Pro Max 24 PoE Port 1 Bytes In"
host: 172.16.10.2 # Replace with your switch IP
community: public
baseoid: 1.3.6.1.2.1.2.2.1.10.1 # .1 at the end represents Port 1
unit_of_measurement: "bytes"
- platform: snmp
name: "USW Pro Max 24 PoE Port 1 Bytes Out"
host: 172.16.10.2 # Replace with your switch IP
community: public
baseoid: 1.3.6.1.2.1.2.2.1.16.1 # .1 at the end represents Port 1
unit_of_measurement: "bytes"
- platform: snmp
name: "USW Pro Max 24 PoE Port 2 Status"
host: 172.16.10.2
community: public
baseoid: 1.3.6.1.2.1.2.2.1.7.2
- platform: snmp
name: "USW Pro Max 24 PoE Port 2 Bytes In"
host: 172.16.10.2
community: public
baseoid: 1.3.6.1.2.1.2.2.1.10.2
unit_of_measurement: "bytes"
- platform: snmp
name: "USW Pro Max 24 PoE Port 2 Bytes Out"
host: 172.16.10.2
community: public
baseoid: 1.3.6.1.2.1.2.2.1.16.2
unit_of_measurement: "bytes"