Merge pull request #1725 from netalertx/next_release

DOCS: grafana sample #1723
This commit is contained in:
Jokob @NetAlertX authored and GitHub committed 2026-08-03 08:18:41 +10:00
commit 327e8f88f4
1 file changed
+36 -19
+36 -19
View File
@@ -1,4 +1,14 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"annotations": {
"list": [
{
@@ -22,7 +32,10 @@
"links": [],
"panels": [
{
"datasource": "Prometheus",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
@@ -74,6 +87,10 @@
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_connected_devices + netalertx_offline_devices",
"refId": "A"
}
@@ -84,7 +101,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -140,7 +157,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_connected_devices",
"refId": "A"
@@ -152,7 +169,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -209,7 +226,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_favorite_devices",
"refId": "A"
@@ -221,7 +238,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -278,7 +295,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_new_devices",
"refId": "A"
@@ -290,7 +307,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -347,7 +364,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_down_devices",
"refId": "A"
@@ -359,7 +376,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -416,7 +433,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_archived_devices",
"refId": "A"
@@ -428,7 +445,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@@ -555,7 +572,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_connected_devices",
"legendFormat": "Connected",
@@ -564,7 +581,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_total_devices - (netalertx_connected_devices + netalertx_down_devices)",
"legendFormat": "Offline",
@@ -573,7 +590,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"expr": "netalertx_down_devices",
"legendFormat": "Down Devices",
@@ -586,7 +603,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"description": "Connected (Online) Devices",
"fieldConfig": {
@@ -776,7 +793,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "netalertx_device_status{device_status=\"Online\"}",
@@ -840,7 +857,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"description": "Disconnected(Offline) Devices",
"fieldConfig": {
@@ -1029,7 +1046,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "netalertx_device_status{device_status=\"Offline\"}",