{
  "checks": [
    {
      "name": "Ping",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ping",
      "parameters": {},
      "sort_order": 0,
      "value_type": "duration",
      "description": "",
      "check_config": {},
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": true,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "DSM Port",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 5000
      },
      "sort_order": 1,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 5000
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "HTTPS Port",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 443
      },
      "sort_order": 1,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 443
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "SMB Port",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 445
      },
      "sort_order": 2,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 445
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "SSH Port",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 22
      },
      "sort_order": 3,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 22
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "SSL Certificate",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "ssl_certificate",
      "parameters": {
        "port": 443
      },
      "sort_order": 4,
      "value_type": "duration",
      "description": "Ablauf des DSM-Zertifikats (Port 5001, self-signed erlaubt). Aktivieren wenn DSM-HTTPS erreichbar ist.",
      "check_config": {
        "port": 5001,
        "crit_days": 7,
        "warn_days": 30,
        "allow_self_signed": true
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 3600,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Device Snapshot (nas)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table",
      "parameters": null,
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "snapshot_type": "nas"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "DSM Model",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.5.1.0",
        "unit": ""
      },
      "sort_order": 14,
      "value_type": "info",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.5.1.0",
        "unit": ""
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 86400,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Volume-Belegung max (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.3.1.1.4.0",
        "unit": "%"
      },
      "sort_order": 14,
      "value_type": "gauge",
      "description": "Belegung des vollsten Volumes (raidFreeSize/raidTotalSize über alle Volumes).",
      "check_config": {
        "unit": "%",
        "invert": true,
        "walk_oid": "1.3.6.1.4.1.6574.3.1.1.4",
        "aggregate": "max",
        "label_exclude": [
          "storage pool",
          "speicherpool"
        ],
        "total_walk_oid": "1.3.6.1.4.1.6574.3.1.1.5",
        "label_column_oid": "1.3.6.1.4.1.6574.3.1.1.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 90.0,
      "threshold_warn": 80.0,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — CPU-Auslastung (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 15,
      "value_type": "gauge",
      "description": "Durchschnittliche CPU-Last über alle Kerne (HOST-RESOURCES hrProcessorLoad).",
      "check_config": {
        "unit": "%",
        "walk_oid": "1.3.6.1.2.1.25.3.3.1.2",
        "aggregate": "avg"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95.0,
      "threshold_warn": 85.0,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "DSM Version",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.5.3.0",
        "unit": ""
      },
      "sort_order": 16,
      "value_type": "info",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.5.3.0",
        "unit": ""
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 86400,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "SNMP Uptime",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_oid",
      "parameters": {
        "oid": "1.3.6.1.2.1.1.3.0",
        "unit": "ticks"
      },
      "sort_order": 17,
      "value_type": "duration",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.2.1.1.3.0",
        "unit": "ticks"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Surveillance Station",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 9900
      },
      "sort_order": 17,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 9900
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — System-Status (DSM)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.1.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        }
      },
      "sort_order": 1000,
      "value_type": "gauge",
      "description": "synoSystemStatus (1.3.6.1.4.1.6574.1.1.0). 1=normal, 2=failed.\n",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.1.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        },
        "value_labels": {
          "1": "Normal",
          "2": "Fehler"
        }
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — UPS-Verbindung",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.4.3.1.1.0",
        "unit": "%"
      },
      "sort_order": 1000,
      "value_type": "gauge",
      "description": "synoUpsModel + synoUpsBatteryCharge. Wenn USV via USB an DSM hängt und konfiguriert ist, wird hier der Ladezustand gemeldet.\n",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.4.3.1.1.0",
        "unit": "%"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 15.0,
      "threshold_warn": 30.0,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — System-Temperatur (°C)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.2.0",
        "unit": "°C"
      },
      "sort_order": 1001,
      "value_type": "gauge",
      "description": "synoSystemTemperature in Celsius.",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.2.0",
        "unit": "°C"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 65.0,
      "threshold_warn": 50.0,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Lüfter-Status (System)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.4.1.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        }
      },
      "sort_order": 1002,
      "value_type": "gauge",
      "description": "synoSystemSystemFan — 1=normal, 2=failed.",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.4.1.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        },
        "value_labels": {
          "1": "Normal",
          "2": "Lüfter ausgefallen"
        }
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Lüfter-Status (CPU)",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.4.2.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        }
      },
      "sort_order": 1003,
      "value_type": "gauge",
      "description": "synoSystemCPUFan — 1=normal, 2=failed.",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.4.2.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        },
        "value_labels": {
          "1": "Normal",
          "2": "Lüfter ausgefallen"
        }
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Power-Status",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.3.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        }
      },
      "sort_order": 1004,
      "value_type": "gauge",
      "description": "synoSystemPowerStatus — 1=normal, 2=failed.",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.3.0",
        "value_map": {
          "1": "OK",
          "2": "CRITICAL"
        },
        "value_labels": {
          "1": "Normal",
          "2": "Netzteil ausgefallen"
        }
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Upgrade verfügbar?",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.1.5.4.0",
        "value_map": {
          "1": "WARNING",
          "2": "OK",
          "3": "OK",
          "4": "UNKNOWN",
          "5": "UNKNOWN"
        }
      },
      "sort_order": 1005,
      "value_type": "gauge",
      "description": "synoSystemVersionUpgrade. 1=available, 2=unavailable, 3=connecting, 4=disconnected, 5=others. Nicht kritisch, nur als Info-Check.\n",
      "check_config": {
        "oid": "1.3.6.1.4.1.6574.1.5.4.0",
        "value_map": {
          "1": "WARNING",
          "2": "OK",
          "3": "OK",
          "4": "UNKNOWN",
          "5": "UNKNOWN"
        },
        "value_labels": {
          "1": "Update verfügbar",
          "2": "DSM aktuell",
          "3": "Verbindet…",
          "4": "Nicht verbunden",
          "5": "Unbekannt"
        }
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 86400,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Disk-Status (alle)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.6574.2.1.1.5",
        "ok_values": [
          1,
          2
        ],
        "crit_values": [
          4,
          5
        ],
        "warn_values": [
          3
        ],
        "state_labels": {
          "1": "normal",
          "2": "initialized",
          "3": "notInitialized",
          "4": "systemPartitionFailed",
          "5": "crashed"
        },
        "label_column_oid": "1.3.6.1.4.1.6574.2.1.1.2"
      },
      "sort_order": 1006,
      "value_type": "gauge",
      "description": "diskStatus pro Disk (1.3.6.1.4.1.6574.2.1.1.5). Werte: 1=normal, 2=initialized, 3=notInitialized, 4=systemPartitionFailed, 5=crashed.\n",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.6574.2.1.1.5",
        "ok_values": [
          1,
          2
        ],
        "crit_values": [
          4,
          5
        ],
        "warn_values": [
          3
        ],
        "state_labels": {
          "1": "normal",
          "2": "initialized",
          "3": "notInitialized",
          "4": "systemPartitionFailed",
          "5": "crashed"
        },
        "label_column_oid": "1.3.6.1.4.1.6574.2.1.1.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — Disk-Temperatur max (°C)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.6574.2.1.1.6.1",
        "unit": "°C"
      },
      "sort_order": 1007,
      "value_type": "gauge",
      "description": "Temperatur der heißesten Disk über alle Einschübe.",
      "check_config": {
        "unit": "°C",
        "walk_oid": "1.3.6.1.4.1.6574.2.1.1.6",
        "aggregate": "max",
        "skip_below": 0,
        "label_column_oid": "1.3.6.1.4.1.6574.2.1.1.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 55.0,
      "threshold_warn": 45.0,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Synology — RAID-Status (alle Volumes)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.6574.3.1.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          11,
          12
        ],
        "warn_values": [
          2,
          3,
          4,
          7,
          8,
          13
        ],
        "state_labels": {
          "1": "normal",
          "2": "repairing",
          "3": "migrating",
          "4": "expanding",
          "5": "deleting",
          "11": "degraded",
          "12": "crashed"
        },
        "label_column_oid": "1.3.6.1.4.1.6574.3.1.1.2"
      },
      "sort_order": 1008,
      "value_type": "gauge",
      "description": "raidStatus pro RAID-Volume. 1=normal, 2=repairing, 3=migrating, 4=expanding, 5=deleting, 6=creating, 7=raidSyncing, 8=raidParityChecking, 9=raidAssembling, 10=canceling, 11=degrade, 12=crashed, 13=dataScrubbing, 14=raidDeploying, 15=raidUnDeploying, 16=raidMountCache, 17=raidUnmountCache, 18=raidExpandingUnfinishedSHR, 19=raidConvertSHRToPool, 20=raidMigrateSHR1ToSHR2, 21=raidUnknownStatus.\n",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.6574.3.1.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          11,
          12
        ],
        "warn_values": [
          2,
          3,
          4,
          7,
          8,
          13
        ],
        "state_labels": {
          "1": "normal",
          "2": "repairing",
          "3": "migrating",
          "4": "expanding",
          "5": "deleting",
          "11": "degraded",
          "12": "crashed"
        },
        "label_column_oid": "1.3.6.1.4.1.6574.3.1.1.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "hard-drive",
    "name": "Synology NAS",
    "tags": [
      "synology",
      "nas",
      "snmp",
      "disk",
      "raid"
    ],
    "vendor": "synology",
    "category": "nas",
    "os_family": null,
    "description": "Synology DiskStation: CPU, Disks, Volume, Lüfter, Temperatur, RAID, Backup-Services. OIDs für DSM 7+.",
    "ip_required": true,
    "match_rules": {
      "weak": [
        {
          "field": "oui_vendor",
          "match": {
            "contains_ci": "synology"
          },
          "probe": "arp"
        },
        {
          "field": "open",
          "match": {
            "equals": 5000
          },
          "probe": "port",
          "comment": "DSM HTTP — generic, only weak"
        },
        {
          "field": "open",
          "match": {
            "equals": 5001
          },
          "probe": "port",
          "comment": "DSM HTTPS — generic, only weak"
        }
      ],
      "strong": [
        {
          "field": "sysDescr",
          "match": {
            "contains_ci": "synology"
          },
          "probe": "snmp"
        },
        {
          "field": "sysDescr",
          "match": {
            "contains_ci": "diskstation"
          },
          "probe": "snmp"
        },
        {
          "field": "title",
          "match": {
            "contains_ci": "synology"
          },
          "probe": "http"
        },
        {
          "field": "title",
          "match": {
            "contains_ci": "diskstation manager"
          },
          "probe": "http"
        }
      ],
      "definitive": [
        {
          "field": "sysObjectID",
          "match": {
            "starts_with": "1.3.6.1.4.1.6574"
          },
          "probe": "snmp",
          "comment": "Synology enterprise OID"
        }
      ]
    },
    "port_layout": null,
    "visual_type": "nas_diskbay",
    "snmp_enabled": true,
    "agent_capable": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null
  },
  "scripts": [],
  "schema_version": 1
}