{
  "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",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "IPsec SAs",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "8ec0c61d-5072-5679-91cd-539cc2109564",
        "match_regex": "^[1-9][0-9]*$"
      },
      "sort_order": 1,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "8ec0c61d-5072-5679-91cd-539cc2109564",
        "match_regex": "^[1-9][0-9]*$"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "router",
    "name": "MikroTik IPsec Tunnel",
    "tags": [
      "mikrotik",
      "ipsec",
      "vpn",
      "ssh"
    ],
    "vendor": "mikrotik",
    "category": "router",
    "os_family": "linux",
    "description": "IPsec tunnel status on MikroTik via SSH.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": null,
    "snmp_enabled": false,
    "agent_capable": false,
    "requires_snmp": false,
    "description_md": "IPsec tunnel status on MikroTik via SSH.",
    "requires_agent": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null,
    "requires_collector": true
  },
  "scripts": [
    {
      "name": "IPsec SAs",
      "script_id": "8ec0c61d-5072-5679-91cd-539cc2109564",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'IPsec SAs'.",
      "interpreter": "bash",
      "script_body": "/ip ipsec installed-sa print count-only",
      "expected_output": "nagios"
    }
  ],
  "schema_version": 1
}