{
  "checks": [
    {
      "name": "Ping",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ping",
      "parameters": null,
      "sort_order": 0,
      "value_type": "duration",
      "description": "ICMP-Erreichbarkeit und Antwortzeit.",
      "check_config": {},
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "above",
      "confirmation_attempts": 3,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Uptime",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 1,
      "value_type": "duration",
      "description": "sysUpTime (SNMP) — Betriebszeit; ein Ruecksprung deutet auf einen Neustart hin. Bestaetigt zugleich, dass der SNMP-Agent antwortet.",
      "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": "above",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Device Snapshot (Portfrontplatte)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table",
      "parameters": null,
      "sort_order": 2,
      "value_type": "gauge",
      "description": "Sammelt via IF-MIB/LLDP/PoE eine Momentaufnahme aller Ports und rendert die Switch-Frontplatte (Link-Status, Geschwindigkeit, Nachbarn). Ports werden dynamisch aus dem SNMP-Walk erkannt.",
      "check_config": {
        "snapshot_type": "switch"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 300,
      "threshold_direction": "above",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "CPU-Auslastung",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 3,
      "value_type": "gauge",
      "description": "CPU-Last in Prozent (hrProcessorLoad, HOST-RESOURCES-MIB). Switches sind im Normalbetrieb meist niedrig ausgelastet.",
      "check_config": {
        "oid": "1.3.6.1.2.1.25.3.3.1.2.1",
        "unit": "%"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 80,
      "interval_seconds": 120,
      "threshold_direction": "above",
      "confirmation_attempts": 2,
      "confirmation_interval_seconds": 15
    },
    {
      "name": "RAM-Auslastung",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 4,
      "value_type": "gauge",
      "description": "Belegter Arbeitsspeicher in Prozent (hrStorageUsed / hrStorageSize, RAM-Index 65536).",
      "check_config": {
        "oid": "1.3.6.1.2.1.25.2.3.1.6.65536",
        "unit": "%",
        "total_oid": "1.3.6.1.2.1.25.2.3.1.5.65536"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 90,
      "threshold_warn": 80,
      "interval_seconds": 120,
      "threshold_direction": "above",
      "confirmation_attempts": 2,
      "confirmation_interval_seconds": 15
    },
    {
      "name": "CPU-Temperatur",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 5,
      "value_type": "gauge",
      "description": "mtxrHlProcessorTemperature (.14988.1.1.3.11.0), Dezigrad → scale 0.1 = °C. Modellabhaengig (groessere CRS haben Sensoren, CSS/kleine CRS meist nicht) — NICHT automatisch hinzugefuegt.",
      "check_config": {
        "oid": "1.3.6.1.4.1.14988.1.1.3.11.0",
        "unit": "°C",
        "scale": 0.1
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 85,
      "threshold_warn": 75,
      "interval_seconds": 300,
      "threshold_direction": "above",
      "confirmation_attempts": 2,
      "confirmation_interval_seconds": 15
    },
    {
      "name": "RouterOS-/SwOS-Version",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": null,
      "sort_order": 6,
      "value_type": "info",
      "description": "Firmware-/OS-Version aus sysDescr (z. B. 'RouterOS CRS326-24G-2S+ 7.16' oder 'SwOS'). Info-Check ohne Schwellwert.",
      "check_config": {
        "oid": "1.3.6.1.2.1.1.1.0"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 86400,
      "threshold_direction": "above",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Seriennummer",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": null,
      "sort_order": 7,
      "value_type": "info",
      "description": "mtxrSerialNumber (.14988.1.1.7.3.0) als Text-Check. Nicht alle Switch-Modelle liefern die OID (v. a. SwOS) — daher NICHT automatisch hinzugefuegt.",
      "check_config": {
        "oid": "1.3.6.1.4.1.14988.1.1.7.3.0"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 86400,
      "threshold_direction": "above",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Winbox-Port",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": null,
      "sort_order": 8,
      "value_type": "status",
      "description": "Erreichbarkeit des Winbox-Management-Ports (TCP 8291). Bei RouterOS-basierten CRS vorhanden; CSS/SwOS haben kein Winbox — dort abschalten.",
      "check_config": {
        "port": 8291
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 300,
      "threshold_direction": "above",
      "confirmation_attempts": 2,
      "confirmation_interval_seconds": 15
    }
  ],
  "profile": {
    "icon": "network",
    "name": "MikroTik Switch (SNMP)",
    "tags": [
      "mikrotik",
      "switch",
      "crs",
      "css",
      "snmp"
    ],
    "vendor": "mikrotik",
    "category": "switch",
    "os_family": null,
    "description": "MikroTik-Switches ueber SNMP ueberwachen: CRS-Serie (RouterOS/SwitchOS) und CSS-Serie (SwOS). Liefert eine Port-Frontplatte (Device Snapshot), CPU/RAM und CPU-Temperatur. Am Host SNMP-Community (v2c) oder SNMPv3-Zugang hinterlegen. Schlanker Satz — CPU-Temperatur ist modellabhaengig und wird NICHT automatisch hinzugefuegt. SwOS-Geraete (CSS) bieten nur reduziertes SNMP: Ping, Uptime, Device Snapshot und Version funktionieren, die mtxrHealth-Sensoren meist nicht. Hinweis: MikroTik implementiert das Standard-PoE-MIB (POWER-ETHERNET-MIB) nicht — PoE-Verbrauch ist per SNMP nicht generisch abrufbar.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": "switch_portmap",
    "snmp_enabled": true,
    "agent_capable": false,
    "sysoid_patterns": [
      "1.3.6.1.4.1.14988.*"
    ],
    "sysdescr_patterns": [
      ".*RouterOS.*",
      ".*SwOS.*",
      ".*MikroTik.*",
      ".*CRS[0-9].*",
      ".*CSS[0-9].*"
    ]
  },
  "scripts": [],
  "schema_version": 1
}