Compare commits

3 Commits

3 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
nodegopher
config.yaml*
!config.yaml.sample
!config.sample.yml
main.go.*

View File

@ -49,7 +49,7 @@ datasources:
timeout: 10
- name: router01_net_down_rate_perten
type: query
address: 'http://prometheus.moon.lan:9090'
address: 'http://prometheus.local.lan:9090'
query: 'rate(node_network_receive_bytes_total{device="igb0", instance="router01.local.lan:9100", job="node"}[30s])/62500000*10'
timeout: 10
@ -101,14 +101,14 @@ graphs:
source: host01
target: router01
mainstatquery: '{{ router01_lan_down_rate }}'
mainstatformat: 'up %0.0f bps'
mainstatformat: 'up %0.0f Bps'
secondarystatquery: '{{ router01_lan_up_rate }}'
secondarystatformat: 'down %0.0f Bps'
- id: edge1
source: router01
target: host01
mainstatquery: '{{ router01_lan_down_rate }}'
mainstatformat: 'up %0.0f bps'
mainstatformat: 'up %0.0f Bps'
secondarystatquery: '{{ router01_lan_up_rate }}'
secondarystatformat: 'down %0.0f Bps'
thicknessquery: '{{ router01_net_down_rate_perten }}'
@ -116,14 +116,14 @@ graphs:
source: router01
target: internet
mainstatquery: '{{ router01_net_up_rate }}'
mainstatformat: 'up %0.0f bps'
mainstatformat: 'up %0.0f Bps'
secondarystatquery: '{{ router01_net_down_rate }}'
secondarystatformat: 'down %0.0f Bps'
- id: edge3
source: internet
target: router01
mainstatquery: '{{ router01_net_up_rate }}'
mainstatformat: 'up %0.0f bps'
mainstatformat: 'up %0.0f Bps'
secondarystatquery: '{{ router01_net_down_rate }}'
secondarystatformat: 'down %0.0f Bps'
thicknessquery: '{{ router01_net_down_rate_perten }}'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 34 KiB