/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

[
  {
    "id": "Linux-Service",
    "configuration": {
      "children": [
        {
          "x": 16,
          "y": 32,
          "w": 8,
          "h": 13,
          "i": "0",
          "type": "Widget",
          "widget": {
            "title": "Filefd Allocated"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_filefd_allocated"
          ],
          "metricTypes": [
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 8,
          "y": 32,
          "w": 8,
          "h": 13,
          "i": "1",
          "type": "Widget",
          "widget": {
            "title": "Network Status"
          },
          "graph": {
            "type": "Line",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_tcp_curr_estab",
            "meter_vm_tcp_tw",
            "meter_vm_tcp_alloc",
            "meter_vm_sockets_used",
            "meter_vm_udp_inuse"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues",
            "readMetricsValues",
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 0,
          "y": 32,
          "w": 8,
          "h": 13,
          "i": "2",
          "type": "Widget",
          "widget": {
            "title": "Network Bandwidth Usage (KB/s)"
          },
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_network_receive",
            "meter_vm_network_transmit"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 16,
          "y": 19,
          "w": 8,
          "h": 13,
          "i": "3",
          "type": "Widget",
          "widget": {
            "title": "Disk R/W (KB/s - OTEL, ops - Zabbix)"
          },
          "graph": {
            "type": "Line",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_disk_read",
            "meter_vm_disk_written"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "byteToKB"
            },
            {
              "calculation": "byteToKB"
            }
          ]
        },
        {
          "x": 8,
          "y": 19,
          "w": 8,
          "h": 13,
          "i": "4",
          "type": "Widget",
          "widget": {
            "title": "File System Mountpoint Usage (%)"
          },
          "graph": {
            "type": "Line",
            "fontSize": 14,
            "textAlign": "center",
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_filesystem_percentage"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 0,
          "y": 6,
          "w": 8,
          "h": 13,
          "i": "5",
          "type": "Widget",
          "widget": {
            "title": "CPU Average Used (%)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_cpu_average_used"
          ],
          "metricTypes": [
            "readLabeledMetricsValues"
          ],
          "moved": false
        },
        {
          "x": 16,
          "y": 6,
          "w": 8,
          "h": 13,
          "i": "6",
          "type": "Widget",
          "widget": {
            "title": "Memory RAM (MB)"
          },
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_memory_used",
            "meter_vm_memory_total",
            "meter_vm_memory_available"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "byteToMB"
            },
            {
              "calculation": "byteToMB"
            },
            {
              "calculation": "byteToMB"
            }
          ]
        },
        {
          "x": 8,
          "y": 6,
          "w": 8,
          "h": 13,
          "i": "7",
          "type": "Widget",
          "widget": {
            "title": "CPU Load"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": false,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_cpu_load5",
            "meter_vm_cpu_load1",
            "meter_vm_cpu_load15"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "percentage"
            },
            {
              "calculation": "percentage"
            },
            {
              "calculation": "percentage"
            }
          ]
        },
        {
          "x": 0,
          "y": 19,
          "w": 8,
          "h": 13,
          "i": "8",
          "type": "Widget",
          "widget": {
            "title": "Memory Swap (MB)"
          },
          "graph": {
            "type": "Area",
            "opacity": 0.4,
            "showXAxis": true,
            "showYAxis": true
          },
          "metrics": [
            "meter_vm_memory_swap_free",
            "meter_vm_memory_swap_total"
          ],
          "metricTypes": [
            "readMetricsValues",
            "readMetricsValues"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "byteToMB"
            },
            {
              "calculation": "byteToMB"
            }
          ]
        },
        {
          "x": 16,
          "y": 0,
          "w": 8,
          "h": 6,
          "i": "9",
          "type": "Widget",
          "widget": {
            "title": "Memory Swap Usage"
          },
          "graph": {
            "type": "Card",
            "fontSize": 14,
            "textAlign": "center",
            "showUnit": true
          },
          "metrics": [
            "meter_vm_memory_swap_percentage"
          ],
          "metricTypes": [
            "readMetricsValue"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "percentage",
              "unit": "%"
            }
          ]
        },
        {
          "x": 8,
          "y": 0,
          "w": 8,
          "h": 6,
          "i": "10",
          "type": "Widget",
          "widget": {
            "title": "Memory RAM Usage"
          },
          "graph": {
            "type": "Card",
            "fontSize": 14,
            "textAlign": "center",
            "showUnit": true
          },
          "metrics": [
            "meter_vm_memory_used"
          ],
          "metricTypes": [
            "readMetricsValue"
          ],
          "moved": false,
          "metricConfig": [
            {
              "calculation": "byteToMB",
              "unit": "MB"
            }
          ]
        },
        {
          "x": 0,
          "y": 0,
          "w": 8,
          "h": 6,
          "i": "11",
          "type": "Widget",
          "widget": {
            "title": "CPU Usage"
          },
          "graph": {
            "type": "Card",
            "fontSize": 14,
            "textAlign": "center",
            "showUnit": true
          },
          "metrics": [
            "meter_vm_cpu_total_percentage"
          ],
          "metricTypes": [
            "readMetricsValue"
          ],
          "moved": false,
          "metricConfig": [
            {
              "unit": "%"
            }
          ]
        }
      ],
      "layer": "OS_LINUX",
      "entity": "Service",
      "name": "Linux-Service",
      "id": "Linux-Service",
      "isRoot": false
    }
  }
]
