Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 52 additions & 46 deletions dashboards/pfsense_interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the count of bytes passed by a specific interface on the system. This includes both bytes received (in) and sent (out) by the interface.",
"description": "Rate of bytes passed per second by a specific interface. This includes both bytes received (in) and sent (out) by the interface.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -176,7 +176,8 @@
"value": 80
}
]
}
},
"unit": "Bps"
},
"overrides": []
},
Expand All @@ -196,7 +197,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -207,8 +208,8 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_in_pass_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_in_pass_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "In: {{ descr }} ({{ host }})",
"range": true,
"refId": "A"
Expand All @@ -218,23 +219,23 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_out_pass_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_out_pass_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Out: {{ descr }} ({{ host }})",
"range": true,
"refId": "B"
}
],
"title": "Interface Pass Bytes",
"title": "Interface Pass Bytes Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the number of packets passed by a specific interface on the system. This includes both bytes received (in) and sent (out) by the interface.",
"description": "Rate of packets passed per second by a specific interface. This includes both packets received (in) and sent (out) by the interface.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -287,7 +288,8 @@
"value": 80
}
]
}
},
"unit": "pps"
},
"overrides": []
},
Expand All @@ -307,7 +309,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -318,8 +320,8 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_in_pass_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_in_pass_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "In: {{ descr }} ({{ host }})",
"range": true,
"refId": "A"
Expand All @@ -329,23 +331,23 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_out_pass_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_out_pass_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Out: {{ descr }} ({{ host }})",
"range": true,
"refId": "B"
}
],
"title": "Interface Pass Packets",
"title": "Interface Pass Packets Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the count of bytes seen by a specific interface on the system, regardless of whether the packet was passed or not. This includes both bytes received (in) and sent (out) by the interface.",
"description": "Rate of bytes per second seen by a specific interface, regardless of whether the packet was passed or not. This includes both bytes received (in) and sent (out) by the interface.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -398,7 +400,8 @@
"value": 80
}
]
}
},
"unit": "Bps"
},
"overrides": []
},
Expand All @@ -418,7 +421,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -429,8 +432,8 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_in_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_in_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "In: {{ descr }} ({{ host }})",
"range": true,
"refId": "A"
Expand All @@ -440,23 +443,23 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_out_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_out_bytes{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Out: {{ descr }} ({{ host }})",
"range": true,
"refId": "B"
}
],
"title": "Interface Bytes",
"title": "Interface Bytes Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the number of packets seen by a specific interface on the system regardless of whether the packet was passed or not. This includes both bytes received (in) and sent (out) by the interface.",
"description": "Rate of packets per second seen by a specific interface regardless of whether the packet was passed or not. This includes both packets received (in) and sent (out) by the interface.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -509,7 +512,8 @@
"value": 80
}
]
}
},
"unit": "pps"
},
"overrides": []
},
Expand All @@ -529,7 +533,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -540,8 +544,8 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_in_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_in_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "In: {{ descr }} ({{ host }})",
"range": true,
"refId": "A"
Expand All @@ -551,23 +555,23 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_out_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_out_pkts_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Out: {{ descr }} ({{ host }})",
"range": true,
"refId": "B"
}
],
"title": "Interface Packets",
"title": "Interface Packets Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the number of errors encountered by an interface. This includes both bytes received (in) and sent (out) by the interface.",
"description": "Rate of errors per second encountered by an interface. This includes both input (in) and output (out) errors.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -620,7 +624,8 @@
"value": 80
}
]
}
},
"unit": "short"
},
"overrides": []
},
Expand All @@ -640,7 +645,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -651,8 +656,8 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_in_errs_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_in_errs_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "In: {{ descr }} ({{ host }})",
"range": true,
"refId": "A"
Expand All @@ -662,23 +667,23 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_out_errs_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_out_errs_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Out: {{ descr }} ({{ host }})",
"range": true,
"refId": "B"
}
],
"title": "Interface Errors",
"title": "Interface Errors Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"description": "Displays the number of collisions encountered by an interface.",
"description": "Rate of collisions per second encountered by an interface.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -731,7 +736,8 @@
"value": 80
}
]
}
},
"unit": "short"
},
"overrides": []
},
Expand All @@ -751,7 +757,7 @@
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -762,14 +768,14 @@
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "builder",
"expr": "pfsense_interface_collisions_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}",
"editorMode": "code",
"expr": "rate(pfsense_interface_collisions_count{job=~\"$job\", instance=~\"$instance\", host=~\"$host\", descr=~\"$interface\"}[$__rate_interval])",
"legendFormat": "{{ descr }} ({{ host }})",
"range": true,
"refId": "A"
}
],
"title": "Interface Collisions",
"title": "Interface Collisions Rate",
"type": "timeseries"
}
],
Expand Down
Loading