Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save theundefined/1e103fd0755c7b6a908a43f608228322 to your computer and use it in GitHub Desktop.
Save theundefined/1e103fd0755c7b6a908a43f608228322 to your computer and use it in GitHub Desktop.
SNMP:
- platform: snmp
name: snmp_wans_in
host: ip-routera
# baseoid: 1.3.6.1.2.1.2.2.1.10.14
baseoid: 1.3.6.1.2.1.31.1.1.1.6.6
version: 2c
unit_of_measurement: B
- platform: snmp
name: snmp_wans_out
host: ip-routera
# baseoid: 1.3.6.1.2.1.2.2.1.16.14
baseoid: 1.3.6.1.2.1.31.1.1.1.10.6
version: 2c
unit_of_measurement: B
Prędkość:
- platform: derivative
name: wans_traffic_download
unit_prefix: M
unit_time: s
source: sensor.snmp_wans_in
- platform: derivative
name: wans_traffic_upload
unit_prefix: M
unit_time: s
source: sensor.snmp_wans_out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment