Wechseln zu:Navigation, Suche
Wiki
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
{{#vardefine:headerIcon|fal fa-key}}
{{#vardefine:headerIcon|fal fa-key}}
{{:USC/Api-Keys.lang}}
{{:USC/Api-Keys.lang}}
{{var | neu--bug Prometheus konfig
| Fehler in [[#{{#var:Prometheus Konfiguration bearbeiten}} | prometheus.yml]] korrigiert
|  }}
{{var | neu--bug params
| In der vorhergehenden Version fehlten die Zeilen {{code|params:<br>  version: ['2.2']}}
|  }}
{{var | neu--Für alle Mandanten
| [[#API_Key_hinzufügen|Option ''Für alle Mandanten'' hinzugefügt]]
| }}


{{var | neu--Konfiguration korrigiert
{{var | neu--Konfiguration korrigiert
Zeile 12: Zeile 22:
| [[#Scope_of_functions|Overview of API keys]] is now sortable  }}
| [[#Scope_of_functions|Overview of API keys]] is now sortable  }}


</div>{{TOC2}}{{Select_lang}}
</div>{{TOC2|limit=2}}{{Select_lang}}
{{Header|2.5|
{{Header|2.5|
* {{#var:neu--Übersicht sortierbar}}
* {{#var:neu--Übersicht sortierbar}}
|vorher-ver=04.2025
|vorher-ver=07.2025
|vorher=
|vorher=
* {{#var:neu--Konfiguration korrigiert}}
* {{#var:neu--Konfiguration korrigiert}}
|Menu={{Menu|list-allgemein||key|API Keys}}
|zuletzt=10.2025
* {{#var:neu--bug Prometheus konfig}}
* {{#var:neu--Für alle Mandanten}} <small>(08.2025)</small>
|Menu={{Menu-USP|Allgemein|API Keys}}
}}
}}
----
----


=== {{#var:Beschreibung}} ===
{| class="sptable2 pd5 zh1 einrücken noborder"
|-
| colspan="2"| {{#var:Beschreibung--desc}}
| class=Bild rowspan="5" | {{Bild|{{#var:Beschreibung--Bild}}|{{#var:Beschreibung--cap}} }}
|-
| {{spc|+|b|{{#var:API Key hinzufügen}} }} || {{#var:API Key hinzufügen--desc}}
|-
| {{spc|copy|b|{{#var:In Zwischenablage kopieren}} }} || {{#var:In Zwischenablage kopieren--desc}}
|-
| id="abgelaufen" | {{spc|clock|b|{{#var:Abgelaufene API Keys ausblenden}} }} {{Hinweis-box|{{#var:neu ab}}: 1.28|gr|1.28|status=neu}} || {{#var:Abgelaufene API Keys ausblenden--desc}}
|- class="Leerzeile"
|
|}


=== {{#var:Beschreibung}} ===
<div class="Einrücken">
{{Einblenden2| {{#var:Übersicht anzeigen}} | {{#var:hide}} |dezent|true|
{{pt3| {{#var:Beschreibung--Bild}} | {{#var:Beschreibung--cap}} }} }}
{{#var:Beschreibung--desc}}
</div><br clear=all>
----
----


 
{{h-3|{{#var:API Key hinzufügen}} | {{spc|+|b|{{#var:API Key hinzufügen}} }} {{Hinweis-box||gr|2.8|status=update}} }}
{{h3|{{#var:API Key hinzufügen}} }} {{spc|+|b|{{#var:API Key hinzufügen}}|sp-class=pd5}}


{| class="sptable2 pd5 zh1 Einrücken"
{| class="sptable2 pd5 zh1 Einrücken"
|-
|-
! {{#var:cap}} !! {{#var:val}} !! {{#var:desc}}  
! {{#var:cap}} !! {{#var:val}} !! {{#var:desc}}  
| class="Bild" rowspan="7" | {{Bild| {{#var:API Key hinzufügen--Bild}} |API Key}}
| class="Bild" rowspan="9" | {{Bild| {{#var:API Key hinzufügen--Bild}} |API Key}}
|-
|-
| {{b|Name}} || class=mw12 | {{ic|UTMs TTT-Point|class=available}} || {{#var:Name--desc}}
| {{b|Name}} || class=mw12 | {{ic|UTMs TTT-Point|class=available}} || {{#var:Name--desc}}
|-
| {{b|{{#var:Für alle Mandanten}} }} {{Hinweis-box||gr|2.8|status=neu}} || {{ButtonAus}} || {{#var:Für alle Mandanten--desc}}
|-
|-
| {{b|{{#var:Mandanten}} }} || {{ic|{{cb|TTT-Point AG|-}}|cb|class=available}} || {{#var:Mandanten--desc}} <li class="list--element__alert list--element__warning">{{#var:Mandanten--Hinweis}}</li>{{#var:Keine nachträgliche Änderung}}
| {{b|{{#var:Mandanten}} }} || {{ic|{{cb|TTT-Point AG|-}}|cb|class=available}} || {{#var:Mandanten--desc}} <li class="list--element__alert list--element__warning">{{#var:Mandanten--Hinweis}}</li>{{#var:Keine nachträgliche Änderung}}
Zeile 47: Zeile 70:
| {{b|{{#var:Ablaufdatum}} }} || {{ic|{{#var:Ablaufdatum--val}}|class=available}} || {{#var:Ablaufdatum--desc}} {{#var:Keine nachträgliche Änderung}}
| {{b|{{#var:Ablaufdatum}} }} || {{ic|{{#var:Ablaufdatum--val}}|class=available}} || {{#var:Ablaufdatum--desc}} {{#var:Keine nachträgliche Änderung}}
|-
|-
| {{b|{{#var:Kommentar}} }} || {{ic|{{#var:Kommentar--val}}|class=available}} || {{#var:Kommentar--desc}}
| {{b|{{#var:Kommentar}} }} || {{ic|{{#var:Kommentar--val}}|cb|class=available}} || {{#var:Kommentar--desc}}
|- class="Leerzeile"
|- class="Leerzeile"
| {{spc|save}} || colspan="2" | {{#var:Speichern--desc}}<li class="list--element__alert list--element__hint small">{{#var:Speichern--Hinweis}}</li>
| {{spc|save}} || colspan="2" | {{#var:Speichern--desc}}<li class="list--element__alert list--element__hint small">{{#var:Speichern--Hinweis}}</li>
|- class="Leerzeile"
|- class="Leerzeile"
|
|
|- class="Leerzeile"
| {{spc|copy|b|{{#var:In Zwischenablage kopieren}}|sp-class=pd5 }} || colspan="2" | {{#var:In Zwischenablage kopieren--desc}}
|- class="Leerzeile"
| id="abgelaufen" | {{spc|clock|b|{{#var:Abgelaufene API Keys ausblenden}}|sp-class=pd5 }} {{Hinweis-box|{{#var:neu ab}}: 1.28|gr|1.28|status=neu}} || colspan="2" | {{#var:Abgelaufene API Keys ausblenden--desc}}
|}
|}
----
----


=== {{#var:Anwendungsbeispiel}} ===
=== {{#var:Anwendungsbeispiel}} ===
Zeile 72: Zeile 91:
<div class="Einrücken">
<div class="Einrücken">
{{#var:Prometheus Konfiguration bearbeiten--desc}}
{{#var:Prometheus Konfiguration bearbeiten--desc}}
{{Hinweis-box|{{#var:Aktualisiert zu}} 04.2025|gr|2.3.13|status=update}}
{{Hinweis-box|{{#var:Aktualisiert zu}} 10.2025|gr|2.3.13|status=update}} {{info|{{#var:neu--bug params}} | icon=bug}}
<span class="code fs-initial block" style="max-height: 15em; max-width: 75%;"><nowiki>scrape_configs:
<span class="code fs-initial block" style="max-height: 15em; max-width: 75%;"><nowiki>global:
  scrape_configs
  scrape_interval: 15s
   # Securepoint Graph
  evaluation_interval: 15s
  - job_name 'securepoint_cloud_metrics_2.2'
 
    scrape_interval 60s # Do not edit
scrape_configs:
    scrape_timeout 30s
   - job_name: 'securepoint_cloud_metrics_2.2'
    metrics_path 'sms-mgt-apiapi2.0metrics'
    scrape_interval: 60s
    params
    scrape_timeout: 30s
    #version ['2.2']
    metrics_path: '/sms-mgt-api/api/2.0/metrics'
    scheme 'https'
    scheme: https
    bearer_token 'eyJhbGciOiJIUzI1NiIsInR5c......'
    bearer_token: 'eyJhbGciOiJIUzI1NiIsInR5c......'
    static_configs
    params:
    - targets ['portal.securepoint.cloud']
      version: ['2.2']
    static_configs:
      - targets: ['portal.securepoint.cloud']
</nowiki></span><br clear=all>
</nowiki></span><br clear=all>
<li class="list--element__alert list--element__hint">{{#var:Bearer-Token--desc}}</li>
<li class="list--element__alert list--element__hint">{{#var:Bearer-Token--desc}}</li>
Zeile 156: Zeile 177:
     }
     }
   ],
   ],
  "annotations": {
    "annotations": {
     "list": [
     "list": [
       {
       {
Zeile 181: Zeile 202:
   "fiscalYearStartMonth": 0,
   "fiscalYearStartMonth": 0,
   "graphTooltip": 0,
   "graphTooltip": 0,
   "id": null,
   "id": 16,
   "links": [],
   "links": [],
   "liveNow": false,
   "liveNow": false,
Zeile 193: Zeile 214:
         "defaults": {
         "defaults": {
           "color": {
           "color": {
             "mode": "palette-classic"
             "mode": "thresholds"
           },
           },
          "custom": {
           "mappings": [],
            "axisCenteredZero": false,
           "thresholds": {
            "axisColorMode": "text",
             "mode": "absolute",
            "axisLabel": "",
             "steps": [
            "axisPlacement": "auto",
               {
            "barAlignment": 0,
                 "color": "text",
            "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
                 "value": null
               },
               },
               {
               {
                 "color": "red",
                 "color": "green",
                 "value": 80
                 "value": 1
               }
               }
             ]
             ]
           },
           }
          "unit": "UTMs"
         },
         },
         "overrides": []
         "overrides": []
       },
       },
       "gridPos": {
       "gridPos": {
         "h": 5,
         "h": 8,
         "w": 20,
         "w": 5,
         "x": 0,
         "x": 0,
         "y": 0
         "y": 0
       },
       },
       "id": 5,
       "id": 10,
       "options": {
       "options": {
         "legend": {
         "orientation": "auto",
           "calcs": [],
        "reduceOptions": {
          "displayMode": "list",
           "calcs": [
           "placement": "bottom",
            "lastNotNull"
           "showLegend": true
          ],
           "fields": "",
           "values": false
         },
         },
         "tooltip": {
         "showThresholdLabels": false,
          "mode": "single",
        "showThresholdMarkers": true
          "sort": "none"
        }
       },
       },
      "pluginVersion": "10.0.2",
       "targets": [
       "targets": [
         {
         {
Zeile 270: Zeile 260:
           },
           },
           "editorMode": "code",
           "editorMode": "code",
           "expr": "sum(utm_usc_online_status == 1)",
           "expr": "sum(utm_usc_online_total)",
           "legendFormat": "__auto",
           "legendFormat": "__auto",
           "range": true,
           "range": true,
Zeile 277: Zeile 267:
       ],
       ],
       "title": "UTMs online",
       "title": "UTMs online",
       "type": "timeseries"
       "type": "gauge"
     },
     },
     {
     {
Zeile 289: Zeile 279:
             "mode": "thresholds"
             "mode": "thresholds"
           },
           },
          "decimals": 0,
           "mappings": [],
           "mappings": [],
          "max": 100,
          "min": 0,
           "thresholds": {
           "thresholds": {
             "mode": "absolute",
             "mode": "absolute",
             "steps": [
             "steps": [
               {
               {
                 "color": "dark-red",
                 "color": "green",
                 "value": null
                 "value": null
               },
               },
               {
               {
                 "color": "dark-green",
                 "color": "red",
                 "value": 100
                 "value": 1
               }
               }
             ]
             ]
           },
           }
          "unit": "string"
         },
         },
         "overrides": []
         "overrides": []
       },
       },
       "gridPos": {
       "gridPos": {
         "h": 5,
         "h": 8,
         "w": 4,
         "w": 5,
         "x": 20,
         "x": 5,
         "y": 0
         "y": 0
       },
       },
       "id": 7,
       "id": 9,
       "options": {
       "options": {
         "orientation": "auto",
         "orientation": "auto",
         "reduceOptions": {
         "reduceOptions": {
           "calcs": [
           "calcs": [
             "last"
             "lastNotNull"
           ],
           ],
           "fields": "",
           "fields": "",
Zeile 327: Zeile 313:
         },
         },
         "showThresholdLabels": false,
         "showThresholdLabels": false,
         "showThresholdMarkers": false
         "showThresholdMarkers": true
       },
       },
       "pluginVersion": "9.3.6",
       "pluginVersion": "10.0.2",
       "targets": [
       "targets": [
         {
         {
Zeile 337: Zeile 323:
           },
           },
           "editorMode": "code",
           "editorMode": "code",
           "expr": "sum(utm_usc_online_status == 1)",
           "expr": "sum(utm_usc_offline_total)",
           "legendFormat": "__auto",
           "legendFormat": "__auto",
           "range": true,
           "range": true,
Zeile 343: Zeile 329:
         }
         }
       ],
       ],
       "title": "UTMs online",
       "title": "UTMs offline",
       "type": "gauge"
       "type": "gauge"
     },
     },
Zeile 354: Zeile 340:
         "defaults": {
         "defaults": {
           "color": {
           "color": {
             "fixedColor": "dark-green",
             "mode": "palette-classic"
            "mode": "thresholds"
           },
           },
           "custom": {
           "custom": {
             "align": "left",
             "hideFrom": {
            "displayMode": "auto",
              "legend": false,
            "inspect": false
              "tooltip": false,
              "viz": false
            }
           },
           },
           "mappings": [
           "mappings": [],
            {
          "unit": "none"
              "options": {
        },
                "0": {
        "overrides": []
                  "index": 0,
      },
                  "text": "OFFLINE"
      "gridPos": {
                },
        "h": 8,
                "1": {
        "w": 4,
                  "index": 1,
        "x": 10,
                  "text": "ONLINE"
        "y": 0
                },
      },
                "-1": {
      "id": 8,
                  "index": 2,
      "options": {
                  "text": ""
        "legend": {
                }
          "displayMode": "table",
              },
          "placement": "bottom",
              "type": "value"
          "showLegend": true,
             }
          "values": [
            "value",
            "percent"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
             "lastNotNull"
           ],
           ],
           "max": 1,
           "fields": "",
           "thresholds": {
           "values": false
            "mode": "absolute",
        },
            "steps": [
        "tooltip": {
              {
          "mode": "single",
                "color": "dark-red",
          "sort": "none"
                "value": null
        }
              },
      },
              {
      "targets": [
                "color": "dark-green",
        {
                "value": 1
          "datasource": {
              }
            "type": "prometheus",
            ]
            "uid": "${DS_PROMETHEUS}"
           },
           },
           "unit": "none"
           "editorMode": "code",
        },
          "exemplar": false,
        "overrides": [
          "expr": "sum by (version) (utm_usc_online_status{last_contact!=\"-1\"})",
           {
          "format": "heatmap",
            "matcher": {
           "hide": false,
              "id": "byName",
          "instant": false,
              "options": "Status"
          "interval": "",
            },
          "legendFormat": "{{label_name}}",
            "properties": [
          "range": true,
              {
          "refId": "A"
                "id": "custom.displayMode",
        }
                "value": "color-background"
      ],
              },
      "title": "Firmware - Verteilung",
              {
      "type": "piechart"
                "id": "custom.width",
    },
                "value": 77
    {
              },
      "datasource": {
              {
        "type": "prometheus",
                "id": "custom.align",
        "uid": "${DS_PROMETHEUS}"
                "value": "center"
      },
              }
      "fieldConfig": {
            ]
        "defaults": {
          "color": {
            "mode": "palette-classic"
           },
           },
           {
           "custom": {
             "matcher": {
             "axisCenteredZero": false,
              "id": "byName",
            "axisColorMode": "text",
              "options": "device_id"
            "axisLabel": "",
             },
             "axisPlacement": "auto",
             "properties": [
             "barAlignment": 0,
              {
            "drawStyle": "line",
                "id": "links",
            "fillOpacity": 0,
                "value": [
            "gradientMode": "none",
                  {
            "hideFrom": {
                    "targetBlank": true,
              "legend": false,
                    "title": "UTM im Unified Security Portal anzeigen",
              "tooltip": false,
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
              "viz": false
                  }
            },
                ]
             "lineInterpolation": "linear",
              }
             "lineWidth": 1,
             ]
            "pointSize": 5,
          },
            "scaleDistribution": {
          {
               "type": "linear"
             "matcher": {
              "id": "byName",
               "options": "last_contact"
             },
             },
             "properties": [
             "showPoints": "auto",
              {
            "spanNulls": false,
                "id": "unit",
            "stacking": {
                "value": "dateTimeFromNow"
              "group": "A",
               }
              "mode": "none"
             ]
            },
            "thresholdsStyle": {
               "mode": "off"
             }
           },
           },
           {
           "decimals": 0,
            "matcher": {
          "mappings": [],
              "id": "byName",
          "thresholds": {
              "options": "update"
            "mode": "absolute",
            },
             "steps": [
             "properties": [
               {
               {
                 "id": "custom.displayMode",
                 "color": "green",
                 "value": "color-background"
                 "value": null
               },
               },
               {
               {
                 "id": "mappings",
                 "color": "red",
                 "value": [
                 "value": 80
                  {
              }
                    "options": {
            ]
                      "none": {
          },
                        "color": "transparent",
          "unit": "UTMs"
                        "index": 1,
        },
                        "text": "Nicht verfügbar"
        "overrides": []
                      }
      },
                    },
      "gridPos": {
                    "type": "value"
        "h": 8,
                  },
        "w": 10,
                  {
        "x": 14,
                    "options": {
        "y": 0
                      "pattern": "\\s*",
      },
                      "result": {
      "id": 5,
                        "color": "transparent",
      "options": {
                        "index": 0,
        "legend": {
                        "text": "Nicht verfügbar"
          "calcs": [],
                      }
          "displayMode": "list",
                    },
          "placement": "bottom",
                    "type": "regex"
          "showLegend": true
                  },
        },
                  {
        "tooltip": {
                    "options": {
          "mode": "single",
                      "pattern": ".+",
          "sort": "none"
                      "result": {
        }
                        "color": "dark-green",
      },
                        "index": 2
      "targets": [
                      }
        {
                    },
          "datasource": {
                    "type": "regex"
            "type": "prometheus",
                  }
            "uid": "${DS_PROMETHEUS}"
                ]
              }
            ]
           },
           },
           {
           "editorMode": "code",
             "matcher": {
          "expr": "sum by (accountname) (utm_usc_online_status)",
              "id": "byName",
          "legendFormat": "__auto",
               "options": "virusscanner_lastrun"
          "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"
             },
             },
             "properties": [
             "inspect": false
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
           },
           },
           {
           "mappings": [
            "matcher": {
            {
              "id": "byName",
              "options": {
               "options": "virusscanner_updated"
                "0": {
             },
                  "index": 0,
             "properties": [
                  "text": "OFFLINE"
                },
                "1": {
                  "index": 1,
                  "text": "ONLINE"
                },
                "-1": {
                  "index": 2,
                  "text": ""
                }
              },
               "type": "value"
             }
          ],
          "max": 1,
          "thresholds": {
            "mode": "absolute",
             "steps": [
              {
                "color": "dark-red",
                "value": null
              },
               {
               {
                 "id": "unit",
                 "color": "dark-green",
                 "value": "dateTimeFromNow"
                 "value": 1
               }
               }
             ]
             ]
           },
           },
          "unit": "none"
        },
        "overrides": [
           {
           {
             "matcher": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "update_version"
               "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": [
             "properties": [
               {
               {
                 "id": "mappings",
                 "id": "links",
                 "value": [
                 "value": [
                   {
                   {
                     "options": {
                     "targetBlank": true,
                      "pattern": "\\d+.*",
                     "title": "UTM im Unified Security Portal anzeigen",
                      "result": {
                     "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                        "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"
               }
               }
             ]
             ]
           }
           },
        ]
          {
      },
            "matcher": {
      "gridPos": {
              "id": "byName",
        "h": 8,
              "options": "last_contact"
        "w": 24,
            },
        "x": 0,
            "properties": [
        "y": 5
              {
      },
                "id": "unit",
      "id": 3,
                "value": "dateTimeFromNow"
      "options": {
              }
        "footer": {
            ]
          "fields": "",
           },
          "reducer": [
            "sum"
          ],
           "show": false
        },
        "showHeader": true,
        "sortBy": [
           {
           {
             "desc": true,
             "matcher": {
            "displayName": "Update-Version"
              "id": "byName",
          }
              "options": "update"
        ]
      },
      "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": {
             "properties": [
              "Time": 4,
              {
              "Value": 3,
                "id": "custom.cellOptions",
              "__name__": 5,
                "value": {
              "accountname": 1,
                  "mode": "gradient",
              "device_id": 9,
                  "type": "color-background"
              "hostname": 2,
                }
              "instance": 13,
               },
              "job": 14,
               {
               "last_contact": 6,
                "id": "mappings",
               "tenant_domain": 0,
                "value": [
              "update_version": 8,
                  {
              "version": 7,
                    "options": {
              "virusscanner_lastrun": 11,
                      "none": {
              "virusscanner_status": 10,
                        "color": "transparent",
              "virusscanner_updated": 12
                        "index": 1,
            },
                        "text": "Nicht verfügbar"
            "renameByName": {
                      }
              "Time": "",
                    },
              "Value": "Status",
                    "type": "value"
              "__name__": "",
                  },
              "accountname": "Account-Name",
                  {
              "device_id": "Geräte-ID",
                    "options": {
              "hostname": "Hostname",
                      "pattern": "\\s*",
              "instance": "",
                      "result": {
              "job": "",
                        "color": "transparent",
              "last_contact": "Letzter Kontakt",
                        "index": 0,
              "name": "UTM-Name",
                        "text": "Nicht verfügbar"
              "tenant_domain": "Domäne",
                      }
              "update": "Firmware-Update",
                    },
              "update_version": "Update-Version",
                    "type": "regex"
              "version": "Firmware-Version",
                  },
              "virusscanner_lastrun": "Virusscanner-Lauf",
                  {
              "virusscanner_status": "Virusscanner-Status",
                    "options": {
              "virusscanner_updated": "Virusscanner-Update"
                      "pattern": ".+",
            }
                      "result": {
          }
                        "color": "dark-green",
        },
                        "index": 2
        {
                      }
          "id": "convertFieldType",
                    },
          "options": {
                    "type": "regex"
             "conversions": [
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "WebSession"
            },
             "properties": [
               {
               {
                 "destinationType": "number",
                 "id": "mappings",
                 "targetField": "Letzter Kontakt"
                 "value": [
              },
                  {
              {
                    "options": {
                "destinationType": "number",
                      "0": {
                "targetField": "virusscanner_lastrun"
                        "index": 0,
               },
                        "text": "⁣"
               {
                      },
                 "destinationType": "number",
                      "1": {
                 "targetField": "virusscanner_updated"
                        "index": 1,
                        "text": "Starte WebSession"
                      }
                    },
                    "type": "value"
                  }
                ]
               },
               {
                 "id": "links",
                 "value": [
                  {
                    "title": "Starte WebSession",
                    "url": ""
                  }
                ]
               }
               }
             ],
             ]
            "fields": {}
           },
           }
           {
        },
             "matcher": {
        {
               "id": "byName",
          "id": "organize",
               "options": "virusscanner_lastrun"
           "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": {}
             "properties": [
          }
              {
        }
                "id": "unit",
      ],
                "value": "dateTimeFromNow"
      "type": "table"
              },
    },
              {
    {
                "id": "mappings",
      "datasource": {
                "value": []
        "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": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "Value"
               "options": "virusscanner_updated"
             },
             },
             "properties": [
             "properties": [
               {
               {
                 "id": "custom.displayMode",
                 "id": "unit",
                 "value": "color-background"
                 "value": "dateTimeFromNow"
               }
               }
             ]
             ]
Zeile 749: Zeile 723:
             "matcher": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "Noch gültig"
               "options": "update_version"
            },
            "properties": [
              {
                "id": "unit",
                "value": "Tage"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "NFR"
             },
             },
             "properties": [
             "properties": [
Zeile 769: Zeile 731:
                   {
                   {
                     "options": {
                     "options": {
                       "false": {
                       "none": {
                         "index": 1,
                         "color": "green",
                        "text": "Nein"
                         "index": 3
                      },
                      "true": {
                         "index": 0,
                        "text": "Ja"
                       }
                       }
                     },
                     },
                     "type": "value"
                     "type": "value"
                   }
                   },
                ]
                  {
              },
                    "options": {
              {
                      "pattern": "\\d+.*",
                "id": "custom.width",
                      "result": {
                "value": 68
                        "color": "yellow",
              }
                        "index": 0
            ]
                      }
          },
                    },
          {
                    "type": "regex"
            "matcher": {
                  },
              "id": "byName",
                  {
              "options": "Lizenz-Typ"
                    "options": {
            },
                      "pattern": ".+",
            "properties": [
                      "result": {
              {
                        "color": "transparent",
                "id": "custom.width",
                        "index": 1
                "value": 116
                      }
              }
                    },
            ]
                    "type": "regex"
          },
                  },
          {
                  {
            "matcher": {
                    "options": {
              "id": "byName",
                      "match": "empty",
              "options": "Lizenz-ID"
                      "result": {
            },
                        "color": "transparent",
            "properties": [
                        "index": 2
                      }
                    },
                    "type": "special"
                  }
                ]
              },
               {
               {
                 "id": "custom.width",
                 "id": "custom.cellOptions",
                 "value": 89
                 "value": {
                  "mode": "gradient",
                  "type": "color-background"
                }
               }
               }
             ]
             ]
Zeile 815: Zeile 782:
             "matcher": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "Lizenz-ID"
               "options": "Hostname"
             },
             },
             "properties": [
             "properties": [
Zeile 823: Zeile 790:
                   {
                   {
                     "targetBlank": true,
                     "targetBlank": true,
                     "title": "Lizenz im Reseller-Portal anzeigen",
                     "title": "",
                     "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
                     "url": "https://${__value.text}:11115"
                   }
                   }
                 ]
                 ]
               }
               }
             ]
             ]
          },
           }
          {
         ]
            "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": {
       "gridPos": {
Zeile 870: Zeile 803:
         "w": 24,
         "w": 24,
         "x": 0,
         "x": 0,
         "y": 13
         "y": 8
       },
       },
       "id": 1,
       "id": 3,
       "options": {
       "options": {
        "cellHeight": "sm",
         "footer": {
         "footer": {
          "countRows": false,
           "fields": "",
           "fields": "",
           "reducer": [
           "reducer": [
Zeile 882: Zeile 817:
         },
         },
         "showHeader": true,
         "showHeader": true,
         "sortBy": []
         "sortBy": [
          {
            "desc": false,
            "displayName": "Domäne"
          }
        ]
       },
       },
       "pluginVersion": "9.3.6",
       "pluginVersion": "10.0.2",
       "targets": [
       "targets": [
         {
         {
Zeile 893: Zeile 833:
           "editorMode": "code",
           "editorMode": "code",
           "exemplar": false,
           "exemplar": false,
           "expr": "sort(utm_license_days_valid)",
           "expr": "sort(utm_usc_online_status)",
           "format": "table",
           "format": "table",
           "hide": false,
           "hide": false,
           "instant": true,
           "instant": true,
          "interval": "",
          "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
           "legendFormat": "__auto",
           "legendFormat": "__auto",
           "range": false,
           "range": false,
Zeile 904: Zeile 842:
         }
         }
       ],
       ],
       "title": "Lizenzen",
       "title": "UTMs",
       "transformations": [
       "transformations": [
         {
         {
           "id": "filterFieldsByName",
           "id": "organize",
           "options": {
           "options": {
             "include": {
             "excludeByName": {
               "names": [
               "Time": true,
                "accountname",
              "__name__": true,
                "license_creation_date",
               "instance": true,
                "license_displayname",
               "job": true
                "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": {
             "indexByName": {
              "Time": 4,
               "Value": 3,
               "Value": 3,
              "__name__": 5,
               "accountname": 1,
               "accountname": 1,
               "license_creation_date": 4,
               "device_id": 9,
               "license_displayname": 2,
               "hostname": 2,
               "license_expiration_date": 5,
               "instance": 13,
               "license_id": 6,
               "job": 14,
               "license_nfr": 7,
              "last_contact": 6,
               "license_type": 8,
               "tenant_domain": 0,
               "license_user": 9,
               "update_version": 8,
               "license_uuid": 10,
               "version": 7,
               "permission_affix": 11,
               "virusscanner_lastrun": 11,
               "tenant_domain": 0
               "virusscanner_status": 10,
               "virusscanner_updated": 12
             },
             },
             "renameByName": {
             "renameByName": {
               "Value": "Noch gültig",
              "Time": "",
               "Value": "Status",
              "__name__": "",
               "accountname": "Account-Name",
               "accountname": "Account-Name",
               "license_creation_date": "Erstellt am",
               "device_id": "Geräte-ID",
               "license_displayname": "Lizenz-Name",
               "hostname": "Hostname",
               "license_expiration_date": "Gültig bis",
              "instance": "",
               "license_id": "Lizenz-ID",
              "job": "",
               "license_nfr": "NFR",
               "last_contact": "Letzter Kontakt",
               "license_type": "Lizenz-Typ",
               "name": "UTM-Name",
               "license_user": "Anzahl Benutzer",
              "tenant_domain": "Domäne",
               "license_uuid": "Geräte-ID",
               "update": "Firmware-Update",
               "permission_affix": "",
               "update_version": "Update-Version",
               "tenant_domain": "Domäne"
               "version": "Firmware-Version",
             }
               "virusscanner_lastrun": "Virusscanner-Lauf",
               "virusscanner_status": "Virusscanner-Status",
               "virusscanner_updated": "Virusscanner-Update"
             }
           }
           }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "datasource": {
          "type": "prometheus",
          "uid": "ftmKeWRRz"
         },
         },
         "filters": [],
         {
        "hide": 0,
          "disabled": true,
        "name": "Filters",
          "id": "calculateField",
        "skipUrlSync": false,
          "options": {
        "type": "adhoc"
            "alias": "WebSession",
      }
            "mode": "reduceRow",
    ]
            "reduce": {
  },
              "include": [
  "time": {
                "Status"
    "from": "now-15m",
              ],
    "to": "now"
              "reducer": "last"
  },
            }
  "timepicker": {},
          }
  "timezone": "",
        },
  "title": "USC Monitoring II",
        {
  "uid": "r38u25RRz",
          "id": "convertFieldType",
  "version": 43,
          "options": {
  "weekStart": ""
            "conversions": [
}</nowiki> </span>
              {
{{#var:JSON Import}}
                "destinationType": "number",
</div><br clear=all>
                "targetField": "Letzter Kontakt"
----
              },
 
              {
{{h6| {{#var:Beispiel}} 2 - {{#var:UTMs Tabellarische Darstellung}} |{{#var:Beispiel}} 2 }}
                "destinationType": "number",
;{{#var:UTMs Tabellarische Darstellung}}
                "targetField": "virusscanner_lastrun"
{{Bild|{{#var:Grafana Dashboard2--Bild}}|{{#var:Grafana Dashboard2--cap}}|class=width-xxl right}}
              },
{{#var:Grafana Konfiguration--desc}}
              {
* {{#var:Grafana Konfiguration-JSON--desc}}
                "destinationType": "number",
 
                "targetField": "virusscanner_updated"
<span class="code fs-initial block Einrücken2" style="max-height: 15em; xmax-width: 75%;"><nowiki>{
              }
  "__inputs": [
            ],
    {
            "fields": {}
      "name": "DS_PROMETHEUS",
          }
      "label": "Prometheus",
        },
      "description": "",
        {
      "type": "datasource",
          "id": "organize",
      "pluginId": "prometheus",
          "options": {
      "pluginName": "Prometheus"
            "excludeByName": {},
    }
            "indexByName": {
  ],
              "Account-Name": 1,
  "__elements": {},
              "Domäne": 0,
  "__requires": [
              "Firmware-Version": 6,
    {
              "Geräte-ID": 8,
      "type": "panel",
              "Hostname": 2,
      "id": "gauge",
              "Letzter Kontakt": 5,
      "name": "Gauge",
              "Status": 4,
       "version": ""
              "Update-Version": 7,
              "Virusscanner-Lauf": 9,
              "Virusscanner-Status": 11,
              "Virusscanner-Update": 10,
              "WebSession": 3
            },
            "renameByName": {}
          }
        }
      ],
       "type": "table"
     },
     },
     {
     {
       "type": "grafana",
       "datasource": {
      "id": "grafana",
        "type": "prometheus",
      "name": "Grafana",
        "uid": "${DS_PROMETHEUS}"
       "version": "9.3.6"
      },
    },
       "fieldConfig": {
    {
        "defaults": {
      "type": "datasource",
          "custom": {
      "id": "prometheus",
            "align": "left",
      "name": "Prometheus",
            "cellOptions": {
      "version": "1.0.0"
              "type": "auto"
    },
            },
    {
            "filterable": true,
      "type": "panel",
            "inspect": false
      "id": "table",
          },
      "name": "Table",
          "mappings": [],
      "version": ""
          "thresholds": {
    },
            "mode": "absolute",
    {
            "steps": [
      "type": "panel",
              {
      "id": "timeseries",
                "color": "dark-red",
      "name": "Time series",
                "value": null
      "version": ""
              },
    }
              {
  ],
                "color": "dark-orange",
    "annotations": {
                "value": 14
    "list": [
              },
      {
              {
        "builtIn": 1,
                "color": "dark-green",
        "datasource": {
                "value": 31
          "type": "grafana",
              }
          "uid": "-- Grafana --"
            ]
          }
         },
         },
         "enable": true,
         "overrides": [
        "hide": true,
          {
        "iconColor": "rgba(0, 211, 255, 1)",
            "matcher": {
        "name": "Annotations & Alerts",
              "id": "byName",
        "target": {
              "options": "Value"
          "limit": 100,
            },
          "matchAny": false,
            "properties": [
          "tags": [],
              {
          "type": "dashboard"
                "id": "custom.cellOptions",
        },
                "value": {
        "type": "dashboard"
                  "mode": "gradient",
      }
                  "type": "color-background"
    ]
                }
  },
              }
  "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": {
            "matcher": {
            "mode": "absolute",
              "id": "byName",
             "steps": [
              "options": "Noch gültig"
            },
             "properties": [
               {
               {
                 "color": "text",
                 "id": "unit",
                 "value": null
                 "value": "Tage"
               },
               }
               {
            ]
                 "color": "green",
          },
                 "value": 1
          {
            "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
               }
               }
             ]
             ]
          }
        },
        "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)",
            "matcher": {
          "legendFormat": "__auto",
              "id": "byName",
          "range": true,
              "options": "Lizenz-Typ"
          "refId": "A"
            },
        }
            "properties": [
      ],
              {
      "title": "UTMs online",
                "id": "custom.width",
      "type": "gauge"
                "value": 116
    },
              }
    {
             ]
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
             "mode": "thresholds"
           },
           },
           "mappings": [],
           {
          "thresholds": {
            "matcher": {
            "mode": "absolute",
              "id": "byName",
             "steps": [
              "options": "Lizenz-ID"
            },
             "properties": [
               {
               {
                 "color": "green",
                 "id": "custom.width",
                 "value": null
                 "value": 89
               },
               }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Lizenz-ID"
            },
            "properties": [
               {
               {
                 "color": "red",
                 "id": "links",
                 "value": 1
                 "value": [
                  {
                    "targetBlank": true,
                    "title": "Lizenz im Reseller-Portal anzeigen",
                    "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
                  }
                ]
               }
               }
             ]
             ]
           }
           },
        },
          {
        "overrides": []
            "matcher": {
      },
              "id": "byName",
      "gridPos": {
              "options": "license_uuid"
        "h": 8,
            },
        "w": 5,
            "properties": [
        "x": 5,
              {
        "y": 0
                "id": "links",
      },
                "value": [
      "id": 9,
                  {
      "options": {
                    "targetBlank": true,
        "orientation": "auto",
                    "title": "UTM im Unified Security Portal anzeigen",
        "reduceOptions": {
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
          "calcs": [
                  }
             "lastNotNull"
                ]
          ],
              },
          "fields": "",
              {
          "values": false
                "id": "custom.width",
        },
                "value": 108
        "showThresholdLabels": false,
              }
         "showThresholdMarkers": true
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Domäne"
            },
             "properties": [
              {
                "id": "custom.width",
                "value": 102
              }
            ]
          }
         ]
       },
       },
       "pluginVersion": "10.0.2",
       "gridPos": {
      "targets": [
         "h": 14,
         {
         "w": 24,
          "datasource": {
         "x": 0,
            "type": "prometheus",
         "y": 16
            "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": {
       "id": 1,
         "defaults": {
      "options": {
           "color": {
         "cellHeight": "sm",
            "mode": "palette-classic"
        "footer": {
           },
           "countRows": false,
          "custom": {
          "fields": "",
             "hideFrom": {
          "reducer": [
              "legend": false,
            "sum"
              "tooltip": false,
           ],
              "viz": false
          "show": false
             }
        },
        "showHeader": true,
        "sortBy": [
          {
             "desc": false,
            "displayName": "Noch gültig"
          }
        ]
      },
      "pluginVersion": "10.0.2",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
             "uid": "${DS_PROMETHEUS}"
           },
           },
           "mappings": [],
           "editorMode": "code",
          "unit": "none"
          "exemplar": false,
        },
          "expr": "utm_license_days_valid > 0",
        "overrides": []
           "format": "table",
      },
           "hide": false,
      "gridPos": {
           "instant": true,
        "h": 8,
           "interval": "",
        "w": 4,
           "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
        "x": 10,
           "legendFormat": "{{label_name}}",
        "y": 0
           "range": false,
      },
           "refId": "A"
      "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": [
       "title": "Lizenzen",
      "transformations": [
         {
         {
           "datasource": {
           "id": "filterFieldsByName",
            "type": "prometheus",
          "options": {
             "uid": "${DS_PROMETHEUS}"
             "include": {
          },
              "names": [
          "editorMode": "code",
                "accountname",
          "exemplar": false,
                "license_creation_date",
          "expr": "sum by (version) (utm_usc_online_status{last_contact!=\"-1\"})",
                "license_displayname",
          "format": "heatmap",
                "license_expiration_date",
          "hide": false,
                "license_id",
          "instant": false,
                "license_nfr",
          "interval": "",
                "license_type",
          "legendFormat": "{{label_name}}",
                "license_user",
          "range": true,
                "license_uuid",
          "refId": "A"
                "permission_affix",
        }
                "tenant_domain",
      ],
                "Value"
      "title": "Firmware - Verteilung",
              ]
      "type": "piechart"
            }
    },
          }
    {
         },
      "datasource": {
         {
         "type": "prometheus",
           "id": "organize",
        "uid": "${DS_PROMETHEUS}"
           "options": {
      },
             "excludeByName": {
      "fieldConfig": {
               "permission_affix": true
         "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",
             "indexByName": {
            "lineWidth": 1,
              "Value": 3,
            "pointSize": 5,
              "accountname": 1,
            "scaleDistribution": {
              "license_creation_date": 4,
               "type": "linear"
              "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
             },
             },
             "showPoints": "auto",
             "renameByName": {
            "spanNulls": false,
              "Value": "Noch gültig",
            "stacking": {
              "accountname": "Account-Name",
               "group": "A",
              "license_creation_date": "Erstellt am",
               "mode": "none"
              "license_displayname": "Lizenz-Name",
            },
              "license_expiration_date": "Gültig bis",
            "thresholdsStyle": {
              "license_id": "Lizenz-ID",
               "mode": "off"
              "license_nfr": "NFR",
               "license_type": "Lizenz-Typ",
               "license_user": "Anzahl Benutzer",
              "license_uuid": "Geräte-ID",
              "permission_affix": "",
               "tenant_domain": "Domäne"
             }
             }
           },
           }
          "decimals": 0,
        }
          "mappings": [],
      ],
          "thresholds": {
      "type": "table"
            "mode": "absolute",
    }
            "steps": [
  ],
              {
  "refresh": "5m",
                "color": "green",
  "schemaVersion": 38,
                "value": null
  "style": "dark",
              },
  "tags": [],
              {
  "templating": {
                "color": "red",
    "list": []
                "value": 80
  },
              }
  "time": {
            ]
    "from": "now-2d",
          },
    "to": "now"
          "unit": "UTMs"
  },
        },
  "timepicker": {},
        "overrides": []
  "timezone": "",
      },
  "title": "USC Monitoring I",
      "gridPos": {
  "uid": "r38u25RRz",
        "h": 8,
  "version": 2,
        "w": 10,
  "weekStart": ""
        "x": 14,
} </nowiki> </span>
        "y": 0
{{#var:JSON Import}}
      },
</div><br clear=all>
      "id": 5,
----
      "options": {
 
        "legend": {
{{h6| {{#var:Beispiel}} 2 - {{#var:UTMs Tabellarische Darstellung}} |{{#var:Beispiel}} 2 }}
          "calcs": [],
;{{#var:UTMs Tabellarische Darstellung}}
          "displayMode": "list",
{{Bild|{{#var:Grafana Dashboard2--Bild}}|{{#var:Grafana Dashboard2--cap}}|class=width-xxl right}}
          "placement": "bottom",
{{#var:Grafana Konfiguration--desc}}
          "showLegend": true
* {{#var:Grafana Konfiguration-JSON--desc}}
        },
 
        "tooltip": {
<span class="code fs-initial block Einrücken2" style="max-height: 15em; xmax-width: 75%;"><nowiki>{
          "mode": "single",
  "__inputs": [
          "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": {
       "name": "DS_PROMETHEUS",
        "type": "prometheus",
      "label": "Prometheus",
        "uid": "${DS_PROMETHEUS}"
      "description": "",
      },
       "type": "datasource",
       "fieldConfig": {
      "pluginId": "prometheus",
        "defaults": {
      "pluginName": "Prometheus"
          "color": {
    }
            "fixedColor": "dark-green",
  ],
            "mode": "thresholds"
  "__elements": {},
          },
  "__requires": [
          "custom": {
    {
            "align": "left",
      "type": "panel",
            "cellOptions": {
      "id": "gauge",
              "type": "auto"
      "name": "Gauge",
            },
      "version": ""
            "inspect": false
    },
          },
    {
          "mappings": [
      "type": "grafana",
            {
      "id": "grafana",
              "options": {
      "name": "Grafana",
                "0": {
      "version": "9.3.6"
                  "index": 0,
    },
                  "text": "OFFLINE"
    {
                },
      "type": "datasource",
                "1": {
      "id": "prometheus",
                  "index": 1,
      "name": "Prometheus",
                  "text": "ONLINE"
      "version": "1.0.0"
                },
    },
                "-1": {
    {
                  "index": 2,
      "type": "panel",
                  "text": ""
      "id": "table",
                }
      "name": "Table",
              },
      "version": ""
              "type": "value"
    },
            }
    {
          ],
      "type": "panel",
          "max": 1,
      "id": "timeseries",
          "thresholds": {
      "name": "Time series",
            "mode": "absolute",
      "version": ""
            "steps": [
    }
              {
  ],
                "color": "dark-red",
  "annotations": {
                "value": null
    "list": [
              },
      {
              {
        "builtIn": 1,
                "color": "dark-green",
        "datasource": {
                "value": 1
           "type": "grafana",
              }
           "uid": "-- Grafana --"
            ]
           },
           "unit": "none"
         },
         },
         "overrides": [
         "enable": true,
          {
        "hide": true,
            "matcher": {
        "iconColor": "rgba(0, 211, 255, 1)",
              "id": "byName",
        "name": "Annotations & Alerts",
              "options": "Status"
        "target": {
            },
          "limit": 100,
            "properties": [
          "matchAny": false,
              {
          "tags": [],
                "id": "custom.cellOptions",
          "type": "dashboard"
                "value": {
        },
                  "mode": "gradient",
        "type": "dashboard"
                  "type": "color-background"
      }
                }
    ]
              },
  },
              {
  "editable": true,
                "id": "custom.width",
  "fiscalYearStartMonth": 0,
                "value": 77
  "graphTooltip": 0,
              },
  "id": null,
              {
  "links": [],
                "id": "custom.align",
  "liveNow": false,
                "value": "center"
  "panels": [
              }
    {
            ]
      "datasource": {
          },
        "type": "prometheus",
          {
        "uid": "${DS_PROMETHEUS}"
            "matcher": {
      },
              "id": "byName",
      "fieldConfig": {
              "options": "device_id"
        "defaults": {
            },
          "color": {
            "properties": [
            "mode": "palette-classic"
              {
                "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}"
                  }
                ]
              }
            ]
           },
           },
           {
           "custom": {
             "matcher": {
             "axisCenteredZero": false,
               "id": "byName",
            "axisColorMode": "text",
               "options": "last_contact"
            "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"
             },
             },
             "properties": [
             "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
               {
               {
                 "id": "unit",
                 "color": "red",
                 "value": "dateTimeFromNow"
                 "value": 80
               }
               }
             ]
             ]
           },
           },
           {
           "unit": "UTMs"
            "matcher": {
        },
              "id": "byName",
        "overrides": []
              "options": "update"
      },
            },
      "gridPos": {
            "properties": [
        "h": 5,
              {
        "w": 20,
                "id": "custom.cellOptions",
        "x": 0,
                "value": {
        "y": 0
                  "mode": "gradient",
      },
                  "type": "color-background"
      "id": 5,
                }
      "options": {
              },
        "legend": {
              {
          "calcs": [],
                "id": "mappings",
          "displayMode": "list",
                "value": [
          "placement": "bottom",
                  {
          "showLegend": true
                    "options": {
        },
                      "none": {
        "tooltip": {
                        "color": "transparent",
          "mode": "single",
                        "index": 1,
          "sort": "none"
                        "text": "Nicht verfügbar"
        }
                      }
      },
                    },
      "targets": [
                    "type": "value"
        {
                  },
          "datasource": {
                  {
            "type": "prometheus",
                    "options": {
            "uid": "${DS_PROMETHEUS}"
                      "pattern": "\\s*",
          },
                      "result": {
          "editorMode": "code",
                        "color": "transparent",
          "expr": "sum(utm_usc_online_status == 1)",
                        "index": 0,
          "legendFormat": "__auto",
                        "text": "Nicht verfügbar"
          "range": true,
                      }
          "refId": "A"
                    },
        }
                    "type": "regex"
      ],
                  },
      "title": "UTMs online",
                  {
      "type": "timeseries"
                    "options": {
    },
                      "pattern": ".+",
    {
                      "result": {
      "datasource": {
                        "color": "dark-green",
        "type": "prometheus",
                        "index": 2
        "uid": "${DS_PROMETHEUS}"
                      }
      },
                    },
      "fieldConfig": {
                    "type": "regex"
        "defaults": {
                  }
          "color": {
                ]
             "mode": "thresholds"
              }
             ]
           },
           },
           {
           "decimals": 0,
            "matcher": {
          "mappings": [],
              "id": "byName",
          "max": 100,
              "options": "WebSession"
          "min": 0,
             },
          "thresholds": {
             "properties": [
             "mode": "absolute",
             "steps": [
               {
               {
                 "id": "mappings",
                 "color": "dark-red",
                 "value": [
                 "value": null
                  {
                    "options": {
                      "0": {
                        "index": 0,
                        "text": "⁣"
                      },
                      "1": {
                        "index": 1,
                        "text": "Starte WebSession"
                      }
                    },
                    "type": "value"
                  }
                ]
               },
               },
               {
               {
                 "id": "links",
                 "color": "dark-green",
                 "value": [
                 "value": 100
                  {
               }
                    "title": "Starte WebSession",
             ]
                    "url": ""
                  }
                ]
               }
             ]
           },
           },
           {
           "unit": "string"
            "matcher": {
        },
              "id": "byName",
        "overrides": []
              "options": "virusscanner_lastrun"
      },
            },
      "gridPos": {
            "properties": [
        "h": 5,
              {
        "w": 4,
                "id": "unit",
        "x": 20,
                "value": "dateTimeFromNow"
        "y": 0
              },
      },
              {
      "id": 7,
                "id": "mappings",
      "options": {
                "value": []
        "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",
            "matcher": {
          "expr": "sum(utm_usc_online_status == 1)",
              "id": "byName",
          "legendFormat": "__auto",
              "options": "virusscanner_updated"
          "range": true,
            },
          "refId": "A"
            "properties": [
        }
              {
      ],
                "id": "unit",
      "title": "UTMs online",
                "value": "dateTimeFromNow"
      "type": "gauge"
              }
    },
             ]
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-green",
            "mode": "thresholds"
          },
          "custom": {
            "align": "left",
             "displayMode": "auto",
            "inspect": false
           },
           },
           {
           "mappings": [
            "matcher": {
            {
              "id": "byName",
              "options": {
              "options": "update_version"
                "0": {
            },
                  "index": 0,
            "properties": [
                  "text": "OFFLINE"
              {
                },
                "id": "mappings",
                "1": {
                "value": [
                  "index": 1,
                  {
                  "text": "ONLINE"
                    "options": {
                },
                      "none": {
                "-1": {
                        "color": "green",
                  "index": 2,
                        "index": 3
                  "text": ""
                      }
                }
                    },
              },
                    "type": "value"
              "type": "value"
                  },
            }
                  {
          ],
                    "options": {
          "max": 1,
                      "pattern": "\\d+.*",
          "thresholds": {
                      "result": {
            "mode": "absolute",
                        "color": "yellow",
            "steps": [
                        "index": 0
              {
                      }
                "color": "dark-red",
                    },
                "value": null
                    "type": "regex"
                  },
                  {
                    "options": {
                      "pattern": ".+",
                      "result": {
                        "color": "transparent",
                        "index": 1
                      }
                    },
                    "type": "regex"
                  },
                  {
                    "options": {
                      "match": "empty",
                      "result": {
                        "color": "transparent",
                        "index": 2
                      }
                    },
                    "type": "special"
                  }
                ]
               },
               },
               {
               {
                 "id": "custom.cellOptions",
                 "color": "dark-green",
                 "value": {
                 "value": 1
                  "mode": "gradient",
                  "type": "color-background"
                }
               }
               }
             ]
             ]
           },
           },
           {
          "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": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "Hostname"
               "options": "device_id"
             },
             },
             "properties": [
             "properties": [
Zeile 1.664: Zeile 1.572:
                   {
                   {
                     "targetBlank": true,
                     "targetBlank": true,
                     "title": "",
                     "title": "UTM im Unified Security Portal anzeigen",
                     "url": "https://${__value.text}:11115"
                     "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
                   }
                   }
                 ]
                 ]
               }
               }
             ]
             ]
           }
           },
        ]
          {
      },
            "matcher": {
      "gridPos": {
              "id": "byName",
        "h": 8,
              "options": "last_contact"
        "w": 24,
            },
        "x": 0,
            "properties": [
        "y": 8
              {
      },
                "id": "unit",
      "id": 3,
                "value": "dateTimeFromNow"
      "options": {
              }
        "cellHeight": "sm",
             ]
        "footer": {
           },
          "countRows": false,
          "fields": "",
          "reducer": [
             "sum"
          ],
           "show": false
        },
        "showHeader": true,
        "sortBy": [
           {
           {
             "desc": false,
             "matcher": {
            "displayName": "Domäne"
              "id": "byName",
          }
              "options": "update"
        ]
      },
      "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": {
             "properties": [
              "Time": 4,
              {
              "Value": 3,
                "id": "custom.displayMode",
              "__name__": 5,
                "value": "color-background"
              "accountname": 1,
               },
               "device_id": 9,
               {
               "hostname": 2,
                "id": "mappings",
              "instance": 13,
                "value": [
              "job": 14,
                  {
              "last_contact": 6,
                    "options": {
              "tenant_domain": 0,
                      "none": {
              "update_version": 8,
                        "color": "transparent",
              "version": 7,
                        "index": 1,
              "virusscanner_lastrun": 11,
                        "text": "Nicht verfügbar"
              "virusscanner_status": 10,
                      }
              "virusscanner_updated": 12
                    },
            },
                    "type": "value"
            "renameByName": {
                  },
              "Time": "",
                  {
              "Value": "Status",
                    "options": {
              "__name__": "",
                      "pattern": "\\s*",
              "accountname": "Account-Name",
                      "result": {
              "device_id": "Geräte-ID",
                        "color": "transparent",
              "hostname": "Hostname",
                        "index": 0,
              "instance": "",
                        "text": "Nicht verfügbar"
              "job": "",
                      }
              "last_contact": "Letzter Kontakt",
                    },
              "name": "UTM-Name",
                    "type": "regex"
              "tenant_domain": "Domäne",
                  },
              "update": "Firmware-Update",
                  {
              "update_version": "Update-Version",
                    "options": {
              "version": "Firmware-Version",
                      "pattern": ".+",
              "virusscanner_lastrun": "Virusscanner-Lauf",
                      "result": {
              "virusscanner_status": "Virusscanner-Status",
                        "color": "dark-green",
               "virusscanner_updated": "Virusscanner-Update"
                        "index": 2
             }
                      }
           }
                    },
        },
                    "type": "regex"
        {
                  }
          "disabled": true,
                ]
          "id": "calculateField",
               }
          "options": {
             ]
            "alias": "WebSession",
           },
             "mode": "reduceRow",
          {
             "reduce": {
            "matcher": {
              "include": [
              "id": "byName",
                "Status"
              "options": "virusscanner_lastrun"
              ],
             },
              "reducer": "last"
             "properties": [
             }
              {
           }
                "id": "unit",
        },
                "value": "dateTimeFromNow"
        {
              }
          "id": "convertFieldType",
             ]
          "options": {
           },
             "conversions": [
          {
            "matcher": {
              "id": "byName",
              "options": "virusscanner_updated"
            },
             "properties": [
               {
               {
                 "destinationType": "number",
                 "id": "unit",
                 "targetField": "Letzter Kontakt"
                 "value": "dateTimeFromNow"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_lastrun"
              },
              {
                "destinationType": "number",
                "targetField": "virusscanner_updated"
               }
               }
             ],
             ]
             "fields": {}
          },
          }
          {
        },
             "matcher": {
        {
              "id": "byName",
          "id": "organize",
              "options": "update_version"
          "options": {
            },
            "excludeByName": {},
            "properties": [
            "indexByName": {
              {
              "Account-Name": 1,
                "id": "mappings",
              "Domäne": 0,
                "value": [
              "Firmware-Version": 6,
                  {
              "Geräte-ID": 8,
                    "options": {
              "Hostname": 2,
                      "pattern": "\\d+.*",
              "Letzter Kontakt": 5,
                      "result": {
              "Status": 4,
                        "color": "dark-green",
              "Update-Version": 7,
                        "index": 0
              "Virusscanner-Lauf": 9,
                      }
              "Virusscanner-Status": 11,
                    },
              "Virusscanner-Update": 10,
                    "type": "regex"
               "WebSession": 3
                  },
            },
                  {
            "renameByName": {}
                    "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"
              }
            ]
           }
           }
         }
         ]
       ],
       },
       "type": "table"
       "gridPos": {
    },
        "h": 8,
    {
        "w": 24,
      "datasource": {
         "x": 0,
         "type": "prometheus",
         "y": 5
         "uid": "${DS_PROMETHEUS}"
       },
       },
       "fieldConfig": {
       "id": 3,
        "defaults": {
      "options": {
          "custom": {
        "footer": {
            "align": "left",
          "fields": "",
            "cellOptions": {
          "reducer": [
              "type": "auto"
             "sum"
            },
           ],
            "filterable": true,
           "show": false
             "inspect": false
        },
          },
        "showHeader": true,
           "mappings": [],
        "sortBy": [
           "thresholds": {
          {
            "mode": "absolute",
            "desc": true,
            "steps": [
            "displayName": "Update-Version"
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-orange",
                "value": 14
              },
              {
                "color": "dark-green",
                "value": 31
              }
            ]
           }
           }
         },
         ]
        "overrides": [
      },
          {
      "pluginVersion": "9.3.6",
            "matcher": {
      "targets": [
              "id": "byName",
        {
              "options": "Value"
          "datasource": {
            },
            "type": "prometheus",
            "properties": [
            "uid": "${DS_PROMETHEUS}"
              {
          },
                "id": "custom.cellOptions",
          "editorMode": "code",
                "value": {
          "exemplar": false,
                  "mode": "gradient",
          "expr": "sort(utm_usc_online_status{})",
                  "type": "color-background"
          "format": "table",
                }
          "hide": false,
              }
          "instant": true,
            ]
          "legendFormat": "__auto",
           },
          "range": false,
           {
          "refId": "A"
             "matcher": {
        }
               "id": "byName",
      ],
               "options": "Noch gültig"
      "title": "UTMs",
      "transformations": [
        {
           "id": "organize",
           "options": {
             "excludeByName": {
               "Time": true,
              "__name__": true,
               "instance": true,
              "job": true
             },
             },
             "properties": [
             "indexByName": {
               {
               "Time": 4,
                "id": "unit",
              "Value": 3,
                "value": "Tage"
              "__name__": 5,
               }
              "accountname": 1,
            ]
              "device_id": 9,
          },
               "hostname": 2,
          {
              "instance": 13,
            "matcher": {
              "job": 14,
               "id": "byName",
              "last_contact": 6,
               "options": "NFR"
              "tenant_domain": 0,
              "update_version": 8,
               "version": 7,
              "virusscanner_lastrun": 11,
               "virusscanner_status": 10,
              "virusscanner_updated": 12
             },
             },
             "properties": [
             "renameByName": {
               {
               "Time": "",
                "id": "mappings",
              "Value": "Status",
                "value": [
              "__name__": "",
                  {
              "accountname": "Account-Name",
                    "options": {
              "device_id": "Geräte-ID",
                      "false": {
              "hostname": "Hostname",
                        "index": 1,
              "instance": "",
                        "text": "Nein"
              "job": "",
                      },
              "last_contact": "Letzter Kontakt",
                      "true": {
              "name": "UTM-Name",
                        "index": 0,
              "tenant_domain": "Domäne",
                        "text": "Ja"
              "update": "Firmware-Update",
                      }
              "update_version": "Update-Version",
                    },
               "version": "Firmware-Version",
                    "type": "value"
               "virusscanner_lastrun": "Virusscanner-Lauf",
                  }
              "virusscanner_status": "Virusscanner-Status",
                ]
               "virusscanner_updated": "Virusscanner-Update"
               },
             }
               {
           }
                "id": "custom.width",
        },
                "value": 68
        {
               }
          "id": "convertFieldType",
             ]
           "options": {
           },
             "conversions": [
           {
              {
             "matcher": {
                "destinationType": "number",
              "id": "byName",
                "targetField": "Letzter Kontakt"
              "options": "Lizenz-Typ"
              },
            },
              {
            "properties": [
                "destinationType": "number",
                "targetField": "virusscanner_lastrun"
              },
               {
               {
                 "id": "custom.width",
                 "destinationType": "number",
                 "value": 116
                 "targetField": "virusscanner_updated"
               }
               }
             ]
             ],
          },
             "fields": {}
          {
          }
             "matcher": {
        },
              "id": "byName",
        {
              "options": "Lizenz-ID"
          "id": "organize",
            },
          "options": {
             "properties": [
            "excludeByName": {},
               {
             "indexByName": {
                "id": "custom.width",
               "Account-Name": 1,
                "value": 89
              "Domäne": 0,
               }
              "Firmware-Version": 5,
            ]
              "Geräte-ID": 7,
          },
               "Hostname": 2,
          {
              "Letzter Kontakt": 4,
            "matcher": {
              "Status": 3,
               "id": "byName",
               "Update-Version": 6,
               "options": "Lizenz-ID"
              "Virusscanner-Lauf": 8,
               "Virusscanner-Status": 10,
              "Virusscanner-Update": 9
             },
             },
             "properties": [
             "renameByName": {}
              {
          }
                "id": "links",
        }
                "value": [
      ],
                  {
      "type": "table"
                    "targetBlank": true,
    },
                    "title": "Lizenz im Reseller-Portal anzeigen",
    {
                    "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
      "datasource": {
                  }
        "type": "prometheus",
                ]
        "uid": "${DS_PROMETHEUS}"
              }
      },
             ]
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "auto",
             "inspect": false
           },
           },
           {
           "mappings": [],
            "matcher": {
          "thresholds": {
              "id": "byName",
            "mode": "absolute",
               "options": "license_uuid"
            "steps": [
            },
               {
            "properties": [
                "color": "dark-red",
                "value": null
              },
               {
               {
                 "id": "links",
                 "color": "dark-orange",
                 "value": [
                 "value": 30
                  {
                    "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",
                 "color": "dark-green",
                 "value": 108
                 "value": 60
               }
               }
             ]
             ]
           },
           }
        },
        "overrides": [
           {
           {
             "matcher": {
             "matcher": {
               "id": "byName",
               "id": "byName",
               "options": "Domäne"
               "options": "Value"
             },
             },
             "properties": [
             "properties": [
               {
               {
                 "id": "custom.width",
                 "id": "custom.displayMode",
                 "value": 102
                 "value": "color-background"
               }
               }
             ]
             ]
           }
           },
        ]
          {
      },
            "matcher": {
      "gridPos": {
              "id": "byName",
        "h": 14,
              "options": "Noch gültig"
        "w": 24,
            },
        "x": 0,
            "properties": [
        "y": 16
              {
      },
                "id": "unit",
      "id": 1,
                "value": "Tage"
      "options": {
              }
        "cellHeight": "sm",
             ]
        "footer": {
           },
          "countRows": false,
          "fields": "",
          "reducer": [
             "sum"
          ],
           "show": false
        },
        "showHeader": true,
        "sortBy": [
           {
           {
             "desc": false,
             "matcher": {
            "displayName": "Noch gültig"
              "id": "byName",
          }
              "options": "NFR"
        ]
            },
      },
            "properties": [
      "pluginVersion": "10.0.2",
              {
      "targets": [
                "id": "mappings",
        {
                "value": [
          "datasource": {
                  {
            "type": "prometheus",
                    "options": {
            "uid": "${DS_PROMETHEUS}"
                      "false": {
          },
                        "index": 1,
          "editorMode": "code",
                        "text": "Nein"
          "exemplar": false,
                      },
          "expr": "utm_license_days_valid > 0",
                      "true": {
          "format": "table",
                        "index": 0,
          "hide": false,
                        "text": "Ja"
          "instant": true,
                      }
          "interval": "",
                    },
          "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
                    "type": "value"
          "legendFormat": "{{label_name}}",
                  }
          "range": false,
                ]
          "refId": "A"
              },
        }
              {
      ],
                "id": "custom.width",
      "title": "Lizenzen",
                "value": 68
      "transformations": [
              }
        {
            ]
           "id": "filterFieldsByName",
           },
           "options": {
           {
             "include": {
             "matcher": {
               "names": [
               "id": "byName",
                "accountname",
              "options": "Lizenz-Typ"
                "license_creation_date",
            },
                "license_displayname",
            "properties": [
                "license_expiration_date",
              {
                "license_id",
                 "id": "custom.width",
                "license_nfr",
                 "value": 116
                 "license_type",
               }
                "license_user",
             ]
                 "license_uuid",
           },
                "permission_affix",
          {
                "tenant_domain",
            "matcher": {
                "Value"
              "id": "byName",
               ]
              "options": "Lizenz-ID"
             }
           }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "permission_affix": true
             },
             },
             "indexByName": {
             "properties": [
              "Value": 3,
              {
              "accountname": 1,
                "id": "custom.width",
              "license_creation_date": 4,
                "value": 89
               "license_displayname": 2,
               }
              "license_expiration_date": 5,
            ]
              "license_id": 6,
          },
              "license_nfr": 7,
          {
              "license_type": 8,
            "matcher": {
               "license_user": 9,
               "id": "byName",
              "license_uuid": 10,
               "options": "Lizenz-ID"
               "permission_affix": 11,
              "tenant_domain": 0
             },
             },
             "renameByName": {
             "properties": [
              "Value": "Noch gültig",
              {
              "accountname": "Account-Name",
                "id": "links",
              "license_creation_date": "Erstellt am",
                "value": [
              "license_displayname": "Lizenz-Name",
                  {
              "license_expiration_date": "Gültig bis",
                    "targetBlank": true,
              "license_id": "Lizenz-ID",
                    "title": "Lizenz im Reseller-Portal anzeigen",
               "license_nfr": "NFR",
                    "url": "https://my.securepoint.de/2.0/licenses/${__data.fields.Lizenz-ID}"
              "license_type": "Lizenz-Typ",
                  }
               "license_user": "Anzahl Benutzer",
                ]
               "license_uuid": "Geräte-ID",
               }
              "permission_affix": "",
            ]
               "tenant_domain": "Domäne"
          },
            }
          {
          }
            "matcher": {
        }
               "id": "byName",
      ],
               "options": "license_uuid"
      "type": "table"
            },
    }
            "properties": [
  ],
               {
  "refresh": "5m",
                "id": "links",
  "schemaVersion": 38,
                "value": [
  "style": "dark",
                  {
  "tags": [],
                    "targetBlank": true,
  "templating": {
                    "title": "UTM im Unified Security Portal anzeigen",
    "list": []
                    "url": "https://portal.securepoint.cloud/sms/#show-tenant-${__data.fields.Domäne}-usc-utms-${__data.fields.Geräte-ID}"
  },
                  }
  "time": {
                ]
    "from": "now-2d",
              },
    "to": "now"
              {
  },
                "id": "custom.width",
  "timepicker": {},
                "value": 108
  "timezone": "",
              }
  "title": "USC Monitoring I",
            ]
  "uid": "r38u25RRz",
          },
  "version": 2,
          {
  "weekStart": ""
            "matcher": {
}</nowiki> </span>
              "id": "byName",
{{#var:JSON Import}}
              "options": "Domäne"
<br clear=all>
            },
----
            "properties": [
 
              {
<!--
                "id": "custom.width",
{{h6| {{#var:Beispiel}} 3 - {{#var:Darstellung mit VPN-Tunnel}} |{{#var:Beispiel}} 3 }}
                "value": 102
;{{#var:Darstellung mit VPN-Tunnel--cap}}
              }
{{#var:Grafana Konfiguration--desc}}
            ]
<span class="code fs-initial block Einrücken2" style="max-height: 15em; xmax-width: 75%;">xxxxxxxxx Dummy-Code muss noch angepasst werden xxxxxxxxxxxxx<nowiki>{
          }
  "__inputs": [
        ]
    {
      },
      "name": "DS_PROMETHEUS",
      "gridPos": {
      "label": "Prometheus",
        "h": 8,
      "description": "",
        "w": 24,
      "type": "datasource",
        "x": 0,
       "pluginId": "prometheus",
        "y": 13
       "pluginName": "Prometheus"
       },
    }
       "id": 1,
  ],
      "options": {
  "__elements": {},
        "footer": {
  "__requires": [
          "fields": "",
    {
          "reducer": [
      "type": "panel",
            "sum"
      "id": "gauge",
          ],
      "name": "Gauge",
          "show": false
      "version": ""
        },
    },
        "showHeader": true,
    {
        "sortBy": []
      "type": "grafana",
       },
      "id": "grafana",
       "pluginVersion": "9.3.6",
       "name": "Grafana",
       "targets": [
       "version": "9.3.6"
        {
    },
          "datasource": {
    {
            "type": "prometheus",
       "type": "datasource",
            "uid": "${DS_PROMETHEUS}"
      "id": "prometheus",
          },
      "name": "Prometheus",
          "editorMode": "code",
      "version": "1.0.0"
          "exemplar": false,
    },
          "expr": "sort(utm_license_days_valid)",
    {
          "format": "table",
      "type": "panel",
          "hide": false,
      "id": "table",
          "instant": true,
      "name": "Table",
          "interval": "",
      "version": ""
          "key": "Q-9474a811-7756-42b1-ba32-22e507638503-0",
    },
          "legendFormat": "__auto",
    {
          "range": false,
      "type": "panel",
          "refId": "A"
      "id": "timeseries",
        }
      "name": "Time series",
      ],
      "version": ""
      "title": "Lizenzen",
    }
      "transformations": [
  ],
        {
    "annotations": {
          "id": "filterFieldsByName",
    "list": [
          "options": {
      {
            "include": {
        "builtIn": 1,
              "names": [
        "datasource": {
                "accountname",
          "type": "grafana",
                "license_creation_date",
          "uid": "-- Grafana --"
                "license_displayname",
        },
                "license_expiration_date",
        "enable": true,
                "license_id",
        "hide": true,
                "license_nfr",
        "iconColor": "rgba(0, 211, 255, 1)",
                "license_type",
        "name": "Annotations & Alerts",
                "license_user",
        "target": {
                "license_uuid",
          "limit": 100,
                "permission_affix",
          "matchAny": false,
                "tenant_domain",
          "tags": [],
                "Value"
           "type": "dashboard"
              ]
            }
           }
         },
         },
         "type": "dashboard"
         {
      }
          "id": "organize",
    ]
          "options": {
  },
            "excludeByName": {
  "editable": true,
              "permission_affix": true
  "fiscalYearStartMonth": 0,
            },
  "graphTooltip": 0,
            "indexByName": {
  "id": 16,
              "Value": 3,
  "links": [],
              "accountname": 1,
  "liveNow": false,
              "license_creation_date": 4,
  "panels": [
              "license_displayname": 2,
    {
              "license_expiration_date": 5,
      "datasource": {
              "license_id": 6,
        "type": "prometheus",
              "license_nfr": 7,
        "uid": "${DS_PROMETHEUS}"
              "license_type": 8,
      },
              "license_user": 9,
      "fieldConfig": {
              "license_uuid": 10,
        "defaults": {
              "permission_affix": 11,
          "color": {
              "tenant_domain": 0
            "mode": "thresholds"
            },
          },
            "renameByName": {
          "mappings": [],
              "Value": "Noch gültig",
          "thresholds": {
              "accountname": "Account-Name",
            "mode": "absolute",
              "license_creation_date": "Erstellt am",
            "steps": [
              "license_displayname": "Lizenz-Name",
               {
              "license_expiration_date": "Gültig bis",
                "color": "text",
              "license_id": "Lizenz-ID",
                "value": null
              "license_nfr": "NFR",
               },
               "license_type": "Lizenz-Typ",
               {
              "license_user": "Anzahl Benutzer",
                "color": "green",
               "license_uuid": "Geräte-ID",
                "value": 1
               "permission_affix": "",
              }
              "tenant_domain": "Domäne"
            ]
            }
           }
           }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "datasource": {
          "type": "prometheus",
          "uid": "ftmKeWRRz"
         },
         },
         "overrides": []
         "filters": [],
      },
         "hide": 0,
      "gridPos": {
         "name": "Filters",
        "h": 8,
         "skipUrlSync": false,
        "w": 5,
         "type": "adhoc"
        "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": {
   "time": {
     "from": "now-2d",
     "from": "now-15m",
     "to": "now"
     "to": "now"
   },
   },
   "timepicker": {},
   "timepicker": {},
   "timezone": "",
   "timezone": "",
   "title": "USC Monitoring I",
   "title": "USC Monitoring II",
   "uid": "r38u25RRz",
   "uid": "r38u25RRz",
   "version": 2,
   "version": 43,
   "weekStart": ""
   "weekStart": ""
}</nowiki></span>
} </nowiki></span>
{{#var:JSON Import}}
{{#var:JSON Import}}
-->
-->

Aktuelle Version vom 24. Oktober 2025, 14:51 Uhr








































API Keys für UTM Monitoring nutzen

Letzte Anpassung zur Version: 2.5

Neu:
Zuletzt aktualisiert: 
notempty
Dieser Artikel bezieht sich auf eine Beta-Version
-
Aufruf: portal.securepoint.cloud Allgemein API Keys

Funktionsumfang

API Keys ermöglichen für andere Anwendungen eine Authentifizierung im USC Portal.
Dabei haben die API Keys einen festgelegten Geltungsbereich der z.Zt. ausschließlich Metriken für ein Monitoring umfasst.
API Keys im USC Portal
 API Key hinzufügen Fügt einen neuen API Key hinzu
 In Zwischenablage kopieren Kopiert den API Key in die Zwischenablage. Von hier kann er in andere Anwendungen eingefügt werden.
 Abgelaufene API Keys ausblenden notempty
Neu ab: 1.28
API Keys die abgelaufen sind, lassen sich über diese Schaltfläche ausblenden. Diese API Keys besitzen das Label  Abgelaufen.

API Key hinzufügen

 API Key hinzufügen
Beschriftung Wert Beschreibung
API Key
Name UTMs TTT-Point Aussagekräftiger Name für den API-Key
Für alle Mandanten
   Bei Aktivierung    wird diesem API Key Zugriff auf alle Mandanten gewährt
Mandanten TTT-Point AG Mandanten, für die die API Werte ausgibt.
  • Wird kein Mandant angegeben, werden Werte für sämtliche Mandanten und den Reseller selbst ausgegeben!
  • Dieses Feld kann nachträglich nicht geändert werden
    Geltungsbereich Metrics Geltungsbereich für den API-Key. Z.Zt. ausschließlich Metrics verfügbar
    Dieses Feld kann nachträglich nicht geändert werden
    Ablaufdatum Wählen Sie ein Datum Es muss ein Ablaufdatum gewählt werden.
    Soll die Geltungsdauer später geändert werden, ist es lediglich möglich, den API-Key zu löschen.
    Dieses Feld kann nachträglich nicht geändert werden
    Kommentar     Freies Textfeld
      Speichern Legt den API-Key an und schließt den Dialog.
  • Die Werte für Mandanten, Geltungsbereich und Ablaufdatum können anschließend nicht mehr geändert werden.

  • Anwendungsbeispiel





  • Hinweis

    Dieser Abschnitt beinhaltet Beschreibungen der Software von Drittanbietern und basiert auf dem Stand zum Zeitpunkt der Erstellung dieser Seite.
    Änderungen an der Benutzeroberfläche durch den Hersteller sind jederzeit möglich und müssen in der Durchführung entsprechend berücksichtigt werden.
    Alle Angaben ohne Gewähr.

  • Das folgende Beispiel setzt eine funktionsfähige Installation folgender Produkte voraus:
    • Linux VM
    • Prometheus (Opensource Monitoring)
    • Grafana (Open-Source-Anwendung zur grafischen Darstellung von Daten)
    • ngninx (Webserver)
    notempty
    Keine Unterstützung durch unseren Support für Fremdprodukte
    Wir leisten keinerlei Support für diese Anwendungen und können keine Unterstützung für Installation oder Konfiguration geben.
    Es werden hier lediglich Anwendungs-Szenarien für API Keys gezeigt.


    Prometheus Konfiguration bearbeiten

    Öffnen der Konfigurationsdatei von Prometheus z. B. mit Editor nano sudo nano /etc/prometheus/prometheus.yml

    Abschnitt scrape_configs: notempty

    Aktualisiert zu 10.2025
    In der vorhergehenden Version fehlten die Zeilen params:
    version: ['2.2']

    global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: 'securepoint_cloud_metrics_2.2' scrape_interval: 60s scrape_timeout: 30s metrics_path: '/sms-mgt-api/api/2.0/metrics' scheme: https bearer_token: 'eyJhbGciOiJIUzI1NiIsInR5c......' params: version: ['2.2'] static_configs: - targets: ['portal.securepoint.cloud']

  • Als bearer_token wird der Wert des API Keys (mit Hochkommata) eingetragen.

  • Anschließend Konfiguration speichern und den Dienst neu starten. sudo systemctl restart prometheus

    Der Befehl sudo systemctl status prometheus.service zeigt, ob der Dienst korrekt starten konnte.
    verlassen der Ergebnis-Anzeige mit Taste q

    Ein Aufruf der Prometheus-Seite im Menü Status / Targets im Browser sollte ein Ergebnis ähnlich dem nebenstehend gezeigten bieten.




    Grafana Konfiguration

    Datenquelle hinzufügen
    • Aufruf von Grafana im Webbrowser
    • Im Seitenmenü: Connections
      In älteren Versionen Burger Menü oben links
    • Menüpunkt Data soures
    • Schaltfläche: Add new data source
    • Prometheus wählen
    • URL des Prometheus-Servers mit Port angeben, z.B.: http://localhost:9090
    • Speichern mit Save & test


    Grafana Dashboard konfigurieren
    Beispiel 1 - Grafische Darstellung
    Beispiel 1
    UTMs Online/offline/Firmware-Version (Graphische Darstellung)
    Das Ergebnis sollte in etwa so wie dieses Dashboard aussehen.
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via panel json folgenden Code eintragen:

    { "__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": "" }

    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import



    Beispiel 2 - UTMs Tabellarische Darstellung
    Beispiel 2
    UTMs Tabellarische Darstellung
    Dashboard mit grafischer Anzeige der UTM (online/offline/Firmware-Version)
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via panel json folgenden Code eintragen:

    { "__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": "" }

    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import

    -->


    Dashboard mit Übersicht zu den betriebenen UTMs (online/offline/USC aktiv/Firmware-Verteilung/UTMs pro Endkunde)

    Beispiel 3 - UTMs inkl. USC
    Beispiel 3
    notempty
    Neu ab v1.28
    UTMs inkl. USC
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via grafana.com folgende ID eintragen: 20896
    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import




    Dashboard mit nützlichen Informationen zu den Lizenzen (aktiv/weniger als 30 Tage/abgelaufen)

    Beispiel 4 - Übersicht der Lizenzen
    Beispiel 4
    notempty
    Neu ab v1.28
    Übersicht der Lizenzen
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via grafana.com folgende ID eintragen: 20898
    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import




    Dashboard mit Übersicht zu dem MDM (Anzahl/Firmwareverteilung)

    Beispiel 5 - MDM Dashboard
    Beispiel 5
    notempty
    Neu ab v1.28
    MDM Dashboard
    Mobilgeräte mit Firmware Versionen
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via grafana.com folgende ID eintragen: 20874
    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import




    Dashboard mit Übersicht zu VPN Verbidnungen/Tunneln (MobSec Verbindungen/Tunnel Status/USC VPN Verbindungen)

    Beispiel 6 - VPN Übersicht
    Beispiel 6
    notempty
    Neu ab v1.28
    VPN Verbindungen/Tunnel Übersicht
    • in der Menüleiste
    • Schaltfläche  Import
    • Im Feld Import via grafana.com folgende ID eintragen: 20897
    • Schaltfläche Load
    • Datenquelle wählen: Select a Prometheus data source
    • Schaltfläche Import