Wechseln zu:Navigation, Suche
Wiki
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 15: Zeile 15:
| Funktionsumfang
| Funktionsumfang
| Scope of functions }}
| Scope of functions }}
{{var | Screenshot anzeigen
| Screenshot anzeigen
| Show Screenshot }}
{{var | Screenshot ausblenden
| Screenshot ausblenden
| Hide Screenshot }}
{{var | Beschreibung--Bild
{{var | Beschreibung--Bild
| USC v1.13 API Keys.png
| USC_v1.28_API_Keys.png
| USC v1.13 API Keys-en.png }}
| USC_v1.28_API_Keys-en.png }}
{{var | Beschreibung--cap
{{var | Beschreibung--cap
| API Keys im USC Portal
| API Keys im USC Portal
Zeile 30: Zeile 36:
| USC v1.13 API Key hinzufuegen.png
| USC v1.13 API Key hinzufuegen.png
| USC v1.13 API Key hinzufuegen-en.png }}
| USC v1.13 API Key hinzufuegen-en.png }}
{{var | API Key hinzufügen--cap
| API Key
| API Key }}
{{var | API Key hinzufügen--desc
{{var | API Key hinzufügen--desc
| API Key hinzufügen mit der
| API Key hinzufügen mit der
| Add API Key with the }}
| Add API Key with the }}
{{var | Name
| Name
| Name }}
{{var | Name--val
| UTMs TTT-Point
| UTMs TTT-Point }}
{{var | Name--desc
{{var | Name--desc
| Aussagekräftiger Name für den API-Key
| Aussagekräftiger Name für den API-Key
Zeile 48: Zeile 45:
| Mandanten
| Mandanten
| Clients }}
| Clients }}
{{var | Mandanten--val
| TTT-Point AG
| TTT-Point AG }}
{{var | Mandanten--desc
{{var | Mandanten--desc
| Mandanten, für die die API Werte ausgibt.
| Mandanten, für die die API Werte ausgibt.
Zeile 60: Zeile 54:
| Geltungsbereich
| Geltungsbereich
| Scope }}
| Scope }}
{{var | Geltungsbereich--val
| Metrics
| Metrics }}
{{var | Geltungsbereich--desc
{{var | Geltungsbereich--desc
| Geltungsbereich für den API-Key. Z.Zt. ausschließlich ''Metrics'' verfügbar
| Geltungsbereich für den API-Key. Z.Zt. ausschließlich ''Metrics'' verfügbar
Zeile 73: Zeile 64:
| Choose a date }}
| Choose a date }}
{{var | Ablaufdatum--desc
{{var | Ablaufdatum--desc
| Es muss ein Ablaufdatum gewählt werden.<p>Soll die Geltungsdauer später geändert werden, ist es lediglich möglich, den API-Key zu löschen.</p>
| Es muss ein Ablaufdatum gewählt werden.<br> Soll die Geltungsdauer später geändert werden, ist es lediglich möglich, den API-Key zu löschen.
| An expiration date must be selected.<p>In case the validity period is to be changed later, it is only possible to delete the API key.</p> }}
| An expiration date must be selected.<br> In case the validity period is to be changed later, it is only possible to delete the API key. }}
{{var | Kommentar
{{var | Kommentar
| Kommentar
| Kommentar
Zeile 82: Zeile 73:
| Free text field }}
| Free text field }}
{{var | 1=Keine nachträgliche Änderung
{{var | 1=Keine nachträgliche Änderung
| 2=<small>{{Hinweis|!|g}} Dieses Feld kann nachträglich '''nicht''' geändert werden</small>
| 2=<small>{{Hinweis-box||g}} Dieses Feld kann nachträglich '''nicht''' geändert werden</small>
| 3=<small>{{Hinweis|!|g}} This field can '''not''' be changed afterwards</small> }}
| 3=<small>{{Hinweis-box||g}} This field can '''not''' be changed afterwards</small> }}
{{var | Speichern
{{var | Speichern
| Speichern
| Speichern
Zeile 99: Zeile 90:
| Kopiert den API Key in die Zwischenablage. Von hier kann er in andere Anwendungen eingefügt werden.
| Kopiert den API Key in die Zwischenablage. Von hier kann er in andere Anwendungen eingefügt werden.
| Copies the API key to the clipboard. From here it can be pasted into other applications. }}
| Copies the API key to the clipboard. From here it can be pasted into other applications. }}
{{var | Abgelaufene API Keys ausblenden
| Abgelaufene API Keys ausblenden
| Hide expired API keys }}
{{var | Abgelaufene API Keys ausblenden--desc
| API Keys die abgelaufen sind, lassen sich über diese Schaltfläche ausblenden. Diese API Keys besitzen das Label {{spc|clock|b|Abgelaufen}}.
| API keys that have expired can be hidden using this button. These API keys have the label {{spc|clock|b|Expired}}. }}
{{var | Anwendungsbeispiel
{{var | Anwendungsbeispiel
| Anwendungsbeispiel
| Anwendungsbeispiel
Zeile 114: Zeile 111:
* ngninx (Webserver) }}
* ngninx (Webserver) }}
{{var | Anwendungsbeispiel--Hinweis
{{var | Anwendungsbeispiel--Hinweis
| '''Keine Unterstützung durch unseren Support für Fremdprodukte'''<br>Wir leisten keinerlei Support für diese Anwendungen und können keine Unterstützung für Installation oder Konfiguration geben. <br>Es werden hier lediglich Anwendungs-Szenarien für API Keys gezeigt.
| '''Keine Unterstützung durch unseren Support für Fremdprodukte'''<br> Wir leisten keinerlei Support für diese Anwendungen und können keine Unterstützung für Installation oder Konfiguration geben. <br>Es werden hier lediglich Anwendungs-Szenarien für API Keys gezeigt.
| '''No support from our support for third-party products'''<br>We do not provide any support for these applications and cannot provide any support for installation or configuration.  
| '''No support from our support for third-party products'''<br> We do not provide any support for these applications and cannot provide any support for installation or configuration.<br> Only application scenarios for API Keys are shown here. }}
<br>Only application scenarios for API Keys are shown here. }}
{{var | Prometheus Konfiguration bearbeiten
{{var | Prometheus Konfiguration bearbeiten
| Prometheus Konfiguration bearbeiten
| Prometheus Konfiguration bearbeiten
Zeile 122: Zeile 118:
{{var | 1=Prometheus Konfiguration bearbeiten--desc
{{var | 1=Prometheus Konfiguration bearbeiten--desc
| 2=Öffnen der Konfigurationsdatei von Prometheus z. B. mit Editor ''nano'' {{code|<nowiki>sudo nano /etc/prometheus/prometheus.yml</nowiki>}}
| 2=Öffnen der Konfigurationsdatei von Prometheus z. B. mit Editor ''nano'' {{code|<nowiki>sudo nano /etc/prometheus/prometheus.yml</nowiki>}}
<p>Abschnitt '''scrape_configs''':</p>
<p>Abschnitt '''scrape_configs''':
| 3=Open the configuration file of Prometheus e.g. with editor ''nano'' {{code|<nowiki>sudo nano /etc/prometheus/prometheus.yml</nowiki>}}
| 3=Open the configuration file of Prometheus e.g. with editor ''nano'' {{code|<nowiki>sudo nano /etc/prometheus/prometheus.yml</nowiki>}}
<p>Section '''scrape_configs''':</p> }}
<p>Section '''scrape_configs''': }}
{{var | Aktualisiert zu
| Aktualisiert zu
| Updated to }}
{{var | Bearer-Token--desc
{{var | Bearer-Token--desc
| Als ''bearer_token'' wird der Wert des API Keys (mit Hochkommata) eingetragen.
| Als ''bearer_token'' wird der Wert des API Keys (mit Hochkommata) eingetragen.
Zeile 133: Zeile 132:
{{var | Prometheus Status--Bild
{{var | Prometheus Status--Bild
| Prometheus-UTM Metrics.png
| Prometheus-UTM Metrics.png
| Prometheus-UTM Metrics.png }}
{{var | Prometheus Status--cap
|
|  }}
|  }}
{{var | Grafana Konfiguration  
{{var | Grafana Konfiguration  
Zeile 142: Zeile 138:
{{var | Grafana Konfiguration--desc
{{var | Grafana Konfiguration--desc
|  
|  
* Burger-Menü oben links: Dashboards
* {{spc|+|m|-}} in der Menüleiste
* Blaues Dropdownmenü rechts: {{Button|New|dr|bc=#3d71b9;|c=white-l}} {{spc|Import|m}}
* Schaltfläche {{spc|fa|m|Import|class=fas fa-arrow-down-to-bracket}}
* Im Feld '''''Import via panel json''''' folgenden Code eintragen:
|  
|  
* Burger menu at the top left: Dashboards
* {{spc|+|m|-}} in the menu
* Blue drop-down menu on the right: {{Button|New|dr|bc=#3d71b9;|c=white-l}} {{spc|Import|m}}
* Button {{spc|fa|m|Import|class=fas fa-arrow-down-to-bracket}} }}
* In the field '''''Import via panel json''''' enter the following code: }}
{{var | Grafana Konfiguration-JSON--desc
{{var | Grafana Konfiguration--Bild
| Im Feld '''Import via panel json''' folgenden Code eintragen:
|
| Enter the following code in the field '''Import via panel json''': }}
}}
| Grafana Configuration }}
{{var | Grafana Konfiguration--cap
{{var | Grafana Konfiguration-ID--desc
|  
| Im Feld '''Import via grafana.com''' folgende ID eintragen:
|  }}
|Enter the following ID in the field '''Import via grafana.com''': }}
{{var | JSON Import
{{var | JSON Import
|
|
* Schaltfläche {{Button|Load|dr|bc=#3d71b9;|c=white-l}}
* Schaltfläche {{Button|Load|bc=#3d71b9;|c=white-l}}
* Datenquelle wählen: {{Button|Select a Prometheus data source|dr|bc=#111217;|c=white-l|class=mw25}} {{Bild|Grafana Datenquelle Prometheus.png| class=width-xxl}}
* Datenquelle wählen: {{Button|Select a Prometheus data source|dr|bc=#111217;|c=white-l|class=mw25}} {{Bild|Grafana Datenquelle Prometheus.png| class=width-xxl}}
* Schaltfläche {{Button|Import|dr|bc=#3d71b9;|c=white-l}}
* Schaltfläche {{Button|Import|bc=#3d71b9;|c=white-l}}
*
|  
|  
* Button {{Button|Load|dr|bc=#3d71b9;|c=white-l}}
* Button {{Button|Load|bc=#3d71b9;|c=white-l}}
* Select data source: {{Button|Select a Prometheus data source|dr|bc=#111217;|c=white-l|class=mw25}} {{Bild|Grafana Datenquelle Prometheus.png| class=width-xxl}}
* Select data source: {{Button|Select a Prometheus data source|dr|bc=#111217;|c=white-l|class=mw25}} {{Bild|Grafana Datenquelle Prometheus.png| class=width-xxl}}
* Button {{Button|Import|dr|bc=#3d71b9;|c=white-l}}
* Button {{Button|Import|bc=#3d71b9;|c=white-l}} }}
*  }}
{{var | Grafana Datenquelle Prometheus
| Grafana Datenquelle Prometheus.png
| Grafana Datenquelle Prometheus.png }}
{{var | Grafana Dashboard
| Grafana Dashboard
| Grafana Dashboard }}
{{var | Grafana Dashboard--Bild
{{var | Grafana Dashboard--Bild
| Grafana USC Dashboard1.png
| USC Api-Keys Grafana Dashboard USC1.png
| Grafana USC Dashboard1.png }}
| }}
{{var | Grafana Dashboard--cap
{{var | Grafana Dashboard--cap
| Grafana Dashboard
| Grafana Dashboard }}
{{var | Grafana Dashboard--desc
| Das Ergebnis sollte in etwa so wie dieses Dashboard aussehen.
| Das Ergebnis sollte in etwa so wie dieses Dashboard aussehen.
| The result should look similar to this dashboard. }}
| The result should look similar to this dashboard. }}
Zeile 184: Zeile 168:
| Datenquelle hinzufügen
| Datenquelle hinzufügen
| Add data source }}
| Add data source }}
{{var | Anleitungen für ältere Versionen anzeigen
| Anleitungen für ältere Versionen anzeigen
| Show instructions for older versions }}
{{var | Datenquelle hinzufügen--desc
{{var | Datenquelle hinzufügen--desc
|  
|  
* Aufruf von Grafana im Webbrowser
* Aufruf von Grafana im Webbrowser
* Burger-Menü oben links: Connections
* Im Seitenmenü: {{spc|Connections|m}} {{info|In älteren Versionen Burger Menü oben links}}
* Menü Links: {{spc|Data soures|m}}
* Menüpunkt {{spc|Data soures|m}}
* Schaltfläche: {{Button|Add new data source|+|bc=#3d71b9;|c=white-l}}
* Schaltfläche: {{Button|Add new data source|+|bc=#3d71b9;|c=white-l}}
* ''Prometheus'' wählen
* ''Prometheus'' wählen
* URL des Prometheus-Servers mit Port angeben. Z.B.: http://localhost:9090
* URL des Prometheus-Servers mit Port angeben, z.B.: http://localhost:9090
* Speichern mit {{Button|Save & test|bc=#3d71b9;|c=white-l}}
* Speichern mit {{Button|Save & test|bc=#3d71b9;|c=white-l}}
|  
|  
* Opening Grafana in the web browser
* Calling up Grafana in the web browser
* Burger menu top left: Connections
* In the side menu: {{spc|Connections|m}} {{info|In older versions burger menu top left}}
* Menu on the left: {{spc|Data soures|m}}
* Menu {{spc|Data soures|m}}
* Button: {{Button|Add new data source|+|bc=#3d71b9;|c=white-l}}
* Button: {{Button|Add new data source|+|bc=#3d71b9;|c=white-l}}
* Select ''Prometheus''
* Choose ''Prometheus''
* Specify URL of the Prometheus server with port. E.G.: http://localhost:9090
* Enter the URL of the Prometheus server with port, e.g: http://localhost:9090
* Save with {{Button|Save & test|bc=#3d71b9;|c=white-l}} }}
* Save with {{Button|Save & test|bc=#3d71b9;|c=white-l}} }}
{{var | Grafana Dashboard konfigurieren
{{var | Grafana Dashboard konfigurieren
Zeile 208: Zeile 195:
| Example }}
| Example }}
{{var | Grafana Dashboard2--Bild
{{var | Grafana Dashboard2--Bild
| Grafana USC Dashboard.png
| USC Api-Keys Grafana Dashboard USC2.png
|  }}
|  }}
{{var | Abschnitt
{{var | Abschnitt
| Abschnitt
| Abschnitt
| Section }}
| Section }}
{{var |  
{{var | UTMs Tabellarische Darstellung
|  
| UTMs Tabellarische Darstellung
| UTMs Tabular representation }}
{{var | Grafische Darstellung
| Grafische Darstellung
| Graphical representation }}
{{var | Grafische Darstellung--cap
| UTMs Online/offline/Firmware-Version (Graphische Darstellung)
| UTMs online/offline/firmware version (graphical representation) }}
{{var | Darstellung mit VPN-Tunnel
| mit VPN-Tunneln
| with vpn tunnel }}
{{var | Darstellung mit VPN-Tunnel--cap
| Darstellung mit VPN-Tunneln
| Visualisation with VPN tunnels }}
{{var | Grafana Dashboard2--cap
| Dashboard mit grafischer Anzeige der UTM (online/offline/Firmware-Version)
| Dashboard with graphical display of the UTM (online/offline/firmware version) }}
{{var | Übersicht der Lizenzen
| Übersicht der Lizenzen
| Overview of licences }}
{{var | Grafana Dashboard4--Bild
| USC Api-Keys Grafana Dashboard Lizenzen.png
|  }}
{{var | Grafana Dashboard4--cap
| Dashboard mit nützlichen Informationen zu den Lizenzen (aktiv/weniger als 30 Tage/abgelaufen)
| Dashboard with useful information on licences (active/less than 30 days/expired) }}
{{var | UTMs inkl. USC
| UTMs inkl. USC
| UTM incl. USC }}
{{var | Grafana Dashboard5--Bild
| USC Api-Keys Grafana Dashboard UTM.png
|  }}
{{var | Grafana Dashboard5--cap
| Dashboard mit Übersicht zu den betriebenen UTMs (online/offline/USC aktiv/Firmware-Verteilung/UTMs pro Endkunde)
| Dashboard with overview of the UTMs in operation (online/offline/USC active/firmware distribution/UTMs per end customer) }}
{{var | MDM Dashboard--cap
| MDM Dashboard: Mobilgeräte mit Firmware Versionen
| MDM Dashboard: Mobile devices with firmware versions }}
{{var | Grafana Dashboard6--Bild
| USC Api-Keys Grafana Dashboard MDM.png
|  }}
{{var | Grafana Dashboard6--cap
| Dashboard mit Übersicht zu dem MDM (Anzahl/Firmwareverteilung)
| Dashboard with overview of the MDM (number/firmware distribution) }}
{{var | VPN Übersicht
| VPN Übersicht
| VPN overview }}
{{var | VPN Übersicht--cap
| VPN Verbindungen/Tunnel Übersicht
| VPN connections/tunnel overview }}
{{var | Grafana Dashboard7--Bild
| USC Api-Keys Grafana Dashboard VPN.png
|  }}
|  }}
{{var | Grafana Dashboard7--cap
| Dashboard mit Übersicht zu VPN Verbidnungen/Tunneln (MobSec Verbindungen/Tunnel Status/USC VPN Verbindungen)
| Dashboard with overview of VPN connections/tunnels (MobSec connections/tunnel status/USC VPN connections) }}
{{var |  
{{var |  
|  
|  
|  }}
|  }}
{{var | 1=Grafana Dashboard1 code
| 2=<nowiki>{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.6"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "UTMs"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 20,
        "x": 0,
        "y": 0
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "expr": "sum(utm_usc_online_status == 1)",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "UTMs online",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 0,
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 100
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 20,
        "y": 0
      },
      "id": 7,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false
      },
      "pluginVersion": "9.3.6",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "expr": "sum(utm_usc_online_status == 1)",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "UTMs online",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-green",
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "displayMode": "auto",
            "inspect": false
          },
          "mappings": [
            {
              "options": {
                "0": {
                  "index": 0,
                  "text": "OFFLINE"
                },
                "1": {
                  "index": 1,
                  "text": "ONLINE"
                },
                "-1": {
                  "index": 2,
                  "text": "⁣"
                }
              },
              "type": "value"
            }
          ],
          "max": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "custom.width",
                "value": 77
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "device_id"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "UTM im Unified Security Portal anzeigen",
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "last_contact"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "update"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "none": {
                        "color": "transparent",
                        "index": 1,
                        "text": "Nicht verfügbar"
                      }
                    },
                    "type": "value"
                  },
                  {
                    "options": {
                      "pattern": "\\s*",
                      "result": {
                        "color": "transparent",
                        "index": 0,
                        "text": "Nicht verfügbar"
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "pattern": ".+",
                      "result": {
                        "color": "dark-green",
                        "index": 2
                      }
                    },
                    "type": "regex"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "virusscanner_lastrun"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "virusscanner_updated"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "update_version"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "pattern": "\\d+.*",
                      "result": {
                        "color": "dark-green",
                        "index": 0
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "pattern": ".+",
                      "result": {
                        "color": "transparent",
                        "index": 1
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "match": "empty",
                      "result": {
                        "color": "transparent",
                        "index": 2
                      }
                    },
                    "type": "special"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 3,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Update-Version"
          }
        ]
      },
      "pluginVersion": "9.3.6",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "sort(utm_usc_online_status{})",
          "format": "table",
          "hide": false,
          "instant": true,
          "legendFormat": "__auto",
          "range": false,
          "refId": "A"
        }
      ],
      "title": "UTMs",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "__name__": true,
              "instance": true,
              "job": true
            },
            "indexByName": {
              "Time": 4,
              "Value": 3,
              "__name__": 5,
              "accountname": 1,
              "device_id": 9,
              "hostname": 2,
              "instance": 13,
              "job": 14,
              "last_contact": 6,
              "tenant_domain": 0,
              "update_version": 8,
              "version": 7,
              "virusscanner_lastrun": 11,
              "virusscanner_status": 10,
              "virusscanner_updated": 12
            },
            "renameByName": {
              "Time": "",
              "Value": "Status",
              "__name__": "",
              "accountname": "Account-Name",
              "device_id": "Geräte-ID",
              "hostname": "Hostname",
              "instance": "",
              "job": "",
              "last_contact": "Letzter Kontakt",
              "name": "UTM-Name",
              "tenant_domain": "Domäne",
              "update": "Firmware-Update",
              "update_version": "Update-Version",
              "version": "Firmware-Version",
              "virusscanner_lastrun": "Virusscanner-Lauf",
              "virusscanner_status": "Virusscanner-Status",
              "virusscanner_updated": "Virusscanner-Update"
            }
          }
        },
        {
          "id": "convertFieldType",
          "options": {
            "conversions": [
              {
                "destinationType": "number",
                "targetField": "Letzter Kontakt"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_lastrun"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_updated"
              }
            ],
            "fields": {}
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Account-Name": 1,
              "Domäne": 0,
              "Firmware-Version": 5,
              "Geräte-ID": 7,
              "Hostname": 2,
              "Letzter Kontakt": 4,
              "Status": 3,
              "Update-Version": 6,
              "Virusscanner-Lauf": 8,
              "Virusscanner-Status": 10,
              "Virusscanner-Update": 9
            },
            "renameByName": {}
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "auto",
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-orange",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 60
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Value"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Noch gültig"
            },
            "properties": [
              {
                "id": "unit",
                "value": "Tage"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "NFR"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "false": {
                        "index": 1,
                        "text": "Nein"
                      },
                      "true": {
                        "index": 0,
                        "text": "Ja"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 68
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-Typ"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 116
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-ID"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 89
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-ID"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "Lizenz im Reseller-Portal anzeigen",
                    "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "license_uuid"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "UTM im Unified Security Portal anzeigen",
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 108
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Domäne"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 102
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 1,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "9.3.6",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "sort(utm_license_days_valid)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
          "legendFormat": "__auto",
          "range": false,
          "refId": "A"
        }
      ],
      "title": "Lizenzen",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "accountname",
                "license_creation_date",
                "license_displayname",
                "license_expiration_date",
                "license_id",
                "license_nfr",
                "license_type",
                "license_user",
                "license_uuid",
                "permission_affix",
                "tenant_domain",
                "Value"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "permission_affix": true
            },
            "indexByName": {
              "Value": 3,
              "accountname": 1,
              "license_creation_date": 4,
              "license_displayname": 2,
              "license_expiration_date": 5,
              "license_id": 6,
              "license_nfr": 7,
              "license_type": 8,
              "license_user": 9,
              "license_uuid": 10,
              "permission_affix": 11,
              "tenant_domain": 0
            },
            "renameByName": {
              "Value": "Noch gültig",
              "accountname": "Account-Name",
              "license_creation_date": "Erstellt am",
              "license_displayname": "Lizenz-Name",
              "license_expiration_date": "Gültig bis",
              "license_id": "Lizenz-ID",
              "license_nfr": "NFR",
              "license_type": "Lizenz-Typ",
              "license_user": "Anzahl Benutzer",
              "license_uuid": "Geräte-ID",
              "permission_affix": "",
              "tenant_domain": "Domäne"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "datasource": {
          "type": "prometheus",
          "uid": "ftmKeWRRz"
        },
        "filters": [],
        "hide": 0,
        "name": "Filters",
        "skipUrlSync": false,
        "type": "adhoc"
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "USC Monitoring II",
  "uid": "r38u25RRz",
  "version": 43,
  "weekStart": ""
}</nowiki>
| 3= }}
{{var | 1=Grafana Dashboard2 code
| 2=<nowiki>{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.6"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
    "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 16,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "text",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 5,
        "x": 0,
        "y": 0
      },
      "id": 10,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "10.0.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "expr": "sum(utm_usc_online_total)",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "UTMs online",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 5,
        "x": 5,
        "y": 0
      },
      "id": 9,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "10.0.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "expr": "sum(utm_usc_offline_total)",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "UTMs offline",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "mappings": [],
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 4,
        "x": 10,
        "y": 0
      },
      "id": 8,
      "options": {
        "legend": {
          "displayMode": "table",
          "placement": "bottom",
          "showLegend": true,
          "values": [
            "value",
            "percent"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "sum by (version) (utm_usc_online_status{last_contact!=\"-1\"})",
          "format": "heatmap",
          "hide": false,
          "instant": false,
          "interval": "",
          "legendFormat": "{{label_name}}",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Firmware - Verteilung",
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "UTMs"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 10,
        "x": 14,
        "y": 0
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "expr": "sum by (accountname) (utm_usc_online_status)",
          "legendFormat": "__auto",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "UTMs online",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-green",
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [
            {
              "options": {
                "0": {
                  "index": 0,
                  "text": "OFFLINE"
                },
                "1": {
                  "index": 1,
                  "text": "ONLINE"
                },
                "-1": {
                  "index": 2,
                  "text": "⁣"
                }
              },
              "type": "value"
            }
          ],
          "max": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "gradient",
                  "type": "color-background"
                }
              },
              {
                "id": "custom.width",
                "value": 77
              },
              {
                "id": "custom.align",
                "value": "center"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "device_id"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "UTM im Unified Security Portal anzeigen",
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "last_contact"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "update"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "gradient",
                  "type": "color-background"
                }
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "none": {
                        "color": "transparent",
                        "index": 1,
                        "text": "Nicht verfügbar"
                      }
                    },
                    "type": "value"
                  },
                  {
                    "options": {
                      "pattern": "\\s*",
                      "result": {
                        "color": "transparent",
                        "index": 0,
                        "text": "Nicht verfügbar"
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "pattern": ".+",
                      "result": {
                        "color": "dark-green",
                        "index": 2
                      }
                    },
                    "type": "regex"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "WebSession"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "0": {
                        "index": 0,
                        "text": "⁣"
                      },
                      "1": {
                        "index": 1,
                        "text": "Starte WebSession"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "links",
                "value": [
                  {
                    "title": "Starte WebSession",
                    "url": ""
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "virusscanner_lastrun"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              },
              {
                "id": "mappings",
                "value": []
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "virusscanner_updated"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "update_version"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "none": {
                        "color": "green",
                        "index": 3
                      }
                    },
                    "type": "value"
                  },
                  {
                    "options": {
                      "pattern": "\\d+.*",
                      "result": {
                        "color": "yellow",
                        "index": 0
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "pattern": ".+",
                      "result": {
                        "color": "transparent",
                        "index": 1
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "match": "empty",
                      "result": {
                        "color": "transparent",
                        "index": 2
                      }
                    },
                    "type": "special"
                  }
                ]
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "gradient",
                  "type": "color-background"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Hostname"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "",
                    "url": "https://${__value.text}:11115"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "id": 3,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Domäne"
          }
        ]
      },
      "pluginVersion": "10.0.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "sort(utm_usc_online_status)",
          "format": "table",
          "hide": false,
          "instant": true,
          "legendFormat": "__auto",
          "range": false,
          "refId": "A"
        }
      ],
      "title": "UTMs",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "__name__": true,
              "instance": true,
              "job": true
            },
            "indexByName": {
              "Time": 4,
              "Value": 3,
              "__name__": 5,
              "accountname": 1,
              "device_id": 9,
              "hostname": 2,
              "instance": 13,
              "job": 14,
              "last_contact": 6,
              "tenant_domain": 0,
              "update_version": 8,
              "version": 7,
              "virusscanner_lastrun": 11,
              "virusscanner_status": 10,
              "virusscanner_updated": 12
            },
            "renameByName": {
              "Time": "",
              "Value": "Status",
              "__name__": "",
              "accountname": "Account-Name",
              "device_id": "Geräte-ID",
              "hostname": "Hostname",
              "instance": "",
              "job": "",
              "last_contact": "Letzter Kontakt",
              "name": "UTM-Name",
              "tenant_domain": "Domäne",
              "update": "Firmware-Update",
              "update_version": "Update-Version",
              "version": "Firmware-Version",
              "virusscanner_lastrun": "Virusscanner-Lauf",
              "virusscanner_status": "Virusscanner-Status",
              "virusscanner_updated": "Virusscanner-Update"
            }
          }
        },
        {
          "disabled": true,
          "id": "calculateField",
          "options": {
            "alias": "WebSession",
            "mode": "reduceRow",
            "reduce": {
              "include": [
                "Status"
              ],
              "reducer": "last"
            }
          }
        },
        {
          "id": "convertFieldType",
          "options": {
            "conversions": [
              {
                "destinationType": "number",
                "targetField": "Letzter Kontakt"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_lastrun"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_updated"
              }
            ],
            "fields": {}
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "Account-Name": 1,
              "Domäne": 0,
              "Firmware-Version": 6,
              "Geräte-ID": 8,
              "Hostname": 2,
              "Letzter Kontakt": 5,
              "Status": 4,
              "Update-Version": 7,
              "Virusscanner-Lauf": 9,
              "Virusscanner-Status": 11,
              "Virusscanner-Update": 10,
              "WebSession": 3
            },
            "renameByName": {}
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "cellOptions": {
              "type": "auto"
            },
            "filterable": true,
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-orange",
                "value": 14
              },
              {
                "color": "dark-green",
                "value": 31
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Value"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "gradient",
                  "type": "color-background"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Noch gültig"
            },
            "properties": [
              {
                "id": "unit",
                "value": "Tage"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "NFR"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "false": {
                        "index": 1,
                        "text": "Nein"
                      },
                      "true": {
                        "index": 0,
                        "text": "Ja"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 68
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-Typ"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 116
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-ID"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 89
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-ID"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "Lizenz im Reseller-Portal anzeigen",
                    "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "license_uuid"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "targetBlank": true,
                    "title": "UTM im Unified Security Portal anzeigen",
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 108
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Domäne"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 102
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 14,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 1,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Noch gültig"
          }
        ]
      },
      "pluginVersion": "10.0.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "editorMode": "code",
          "exemplar": false,
          "expr": "utm_license_days_valid > 0",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
          "legendFormat": "{{label_name}}",
          "range": false,
          "refId": "A"
        }
      ],
      "title": "Lizenzen",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "accountname",
                "license_creation_date",
                "license_displayname",
                "license_expiration_date",
                "license_id",
                "license_nfr",
                "license_type",
                "license_user",
                "license_uuid",
                "permission_affix",
                "tenant_domain",
                "Value"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "permission_affix": true
            },
            "indexByName": {
              "Value": 3,
              "accountname": 1,
              "license_creation_date": 4,
              "license_displayname": 2,
              "license_expiration_date": 5,
              "license_id": 6,
              "license_nfr": 7,
              "license_type": 8,
              "license_user": 9,
              "license_uuid": 10,
              "permission_affix": 11,
              "tenant_domain": 0
            },
            "renameByName": {
              "Value": "Noch gültig",
              "accountname": "Account-Name",
              "license_creation_date": "Erstellt am",
              "license_displayname": "Lizenz-Name",
              "license_expiration_date": "Gültig bis",
              "license_id": "Lizenz-ID",
              "license_nfr": "NFR",
              "license_type": "Lizenz-Typ",
              "license_user": "Anzahl Benutzer",
              "license_uuid": "Geräte-ID",
              "permission_affix": "",
              "tenant_domain": "Domäne"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "5m",
  "schemaVersion": 38,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-2d",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "USC Monitoring I",
  "uid": "r38u25RRz",
  "version": 2,
  "weekStart": ""
}</nowiki>
| 3= }}


----
----

Aktuelle Version vom 28. Februar 2025, 10:29 Uhr