Skip to content

Commit

Permalink
Uplink speed for UAP and USW (#6)
Browse files Browse the repository at this point in the history
* Added Uplink Speed for UAP e USW devices

- New `UAP Uplink Speed` item.
- New `USW Uplink Speed` item.
- New `Uplink Speed Changed to Lower Speed` triggers for `UAP Uplink Speed` and `USW Uplink Speed` items.
- Changes on `.gitignore` file.
  • Loading branch information
MassimilianoPasquini97 authored Oct 19, 2023
1 parent d1f6b8f commit ef5f355
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# macos
.DS_Store

# docker
docker-compose-*.yml
52 changes: 52 additions & 0 deletions 6.2/zbx_template_unifi_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2828,6 +2828,32 @@ zabbix_export:
-
tag: Appliaction
value: metrics
-
uuid: b2e80e77e4194c70b6bce36272bda380
name: 'UAP Uplink Speed'
type: DEPENDENT
key: unifi.uap.uplink.speed
delay: '0'
history: 7d
trends: '0'
units: bps
preprocessing:
- type: JSONPATH
parameters:
- '$.data[0].uplink.speed'
- type: MULTIPLIER
parameters:
- '1000000'
master_item:
key: unifi.uap.device
tags:
- tag: Application
value: metrics
triggers:
- uuid: c2fba874987848f3bbd1a407a478cc09
expression: 'last(/Unifi UAP/unifi.uap.uplink.speed,#1:now-24h)>last(/Unifi UAP/unifi.uap.uplink.speed,#1)=1'
name: 'Uplink Speed Changed to Lower Speed'
priority: INFO
-
uuid: 367a5272bf6a46c6ab6e31928be77657
name: 'UAP Uptime'
Expand Down Expand Up @@ -4868,6 +4894,32 @@ zabbix_export:
-
tag: Appliaction
value: metrics
-
uuid: 1946471c78f54a4695317b460084e79f
name: 'USW Uplink Speed'
type: DEPENDENT
key: unifi.usw.uplink.speed
delay: '0'
history: 7d
trends: '0'
units: bps
preprocessing:
- type: JSONPATH
parameters:
- '$.data[0].uplink.speed'
- type: MULTIPLIER
parameters:
- '1000000'
master_item:
key: unifi.usw.device
tags:
- tag: Application
value: metrics
triggers:
- uuid: d879cab0510a463eb3f42673bbd97745
expression: 'last(/Unifi USW/unifi.usw.uplink.speed,#1:now-24h)>last(/Unifi USW/unifi.usw.uplink.speed,#1)=1'
name: 'Uplink Speed Changed to Lower Speed'
priority: INFO
-
uuid: b8a393919007480099d2917f4757fd80
name: 'USW Uplink Type'
Expand Down
52 changes: 52 additions & 0 deletions 6.4/zbx_template_unifi_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2828,6 +2828,32 @@ zabbix_export:
-
tag: Appliaction
value: metrics
-
uuid: b2e80e77e4194c70b6bce36272bda380
name: 'UAP Uplink Speed'
type: DEPENDENT
key: unifi.uap.uplink.speed
delay: '0'
history: 7d
trends: '0'
units: bps
preprocessing:
- type: JSONPATH
parameters:
- '$.data[0].uplink.speed'
- type: MULTIPLIER
parameters:
- '1000000'
master_item:
key: unifi.uap.device
tags:
- tag: Application
value: metrics
triggers:
- uuid: c2fba874987848f3bbd1a407a478cc09
expression: 'last(/Unifi UAP/unifi.uap.uplink.speed,#1:now-24h)>last(/Unifi UAP/unifi.uap.uplink.speed,#1)=1'
name: 'Uplink Speed Changed to Lower Speed'
priority: INFO
-
uuid: 367a5272bf6a46c6ab6e31928be77657
name: 'UAP Uptime'
Expand Down Expand Up @@ -4888,6 +4914,32 @@ zabbix_export:
-
tag: Appliaction
value: metrics
-
uuid: 1946471c78f54a4695317b460084e79f
name: 'USW Uplink Speed'
type: DEPENDENT
key: unifi.usw.uplink.speed
delay: '0'
history: 7d
trends: '0'
units: bps
preprocessing:
- type: JSONPATH
parameters:
- '$.data[0].uplink.speed'
- type: MULTIPLIER
parameters:
- '1000000'
master_item:
key: unifi.usw.device
tags:
- tag: Application
value: metrics
triggers:
- uuid: d879cab0510a463eb3f42673bbd97745
expression: 'last(/Unifi USW/unifi.usw.uplink.speed,#1:now-24h)>last(/Unifi USW/unifi.usw.uplink.speed,#1)=1'
name: 'Uplink Speed Changed to Lower Speed'
priority: INFO
-
uuid: 4b0e3c9d49ac4321856dcd8fcd3f4afd
name: 'USW Uptime'
Expand Down

0 comments on commit ef5f355

Please sign in to comment.