{
  "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": "SSH Port",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 22
      },
      "sort_order": 1,
      "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",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "CPU",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_cpu",
      "parameters": {},
      "sort_order": 2,
      "value_type": "gauge",
      "description": "",
      "check_config": {},
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 80,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Memory",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_mem",
      "parameters": {},
      "sort_order": 3,
      "value_type": "gauge",
      "description": "",
      "check_config": {},
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 85,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Disk /",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_disk",
      "parameters": {
        "mount": "/"
      },
      "sort_order": 4,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "mount": "/"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 90,
      "threshold_warn": 80,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Load Average",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "5c3d976e-6cf8-576b-8556-e938465668de"
      },
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "5c3d976e-6cf8-576b-8556-e938465668de"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 80,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Swap",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "4d53d21e-bbcb-5d9f-9977-f82ba0704980"
      },
      "sort_order": 6,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "4d53d21e-bbcb-5d9f-9977-f82ba0704980"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 80,
      "threshold_warn": 50,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Logged Users",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "c0b8649d-a783-56aa-98bf-a828530c4284"
      },
      "sort_order": 7,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "c0b8649d-a783-56aa-98bf-a828530c4284"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 25,
      "threshold_warn": 10,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Zombie Processes",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "a1720d1a-cf68-57f2-b353-6c5a70bf4f94"
      },
      "sort_order": 8,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "a1720d1a-cf68-57f2-b353-6c5a70bf4f94"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 5,
      "threshold_warn": 1,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Total Processes",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "d9918715-29ea-5743-a787-54f6ffcebbe0"
      },
      "sort_order": 9,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "d9918715-29ea-5743-a787-54f6ffcebbe0"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 500,
      "threshold_warn": 300,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "server",
    "name": "Generic Linux Server",
    "tags": [
      "linux",
      "ssh"
    ],
    "vendor": "generic",
    "category": "server",
    "os_family": "linux",
    "description": "Comprehensive Linux monitoring via SSH: ping, CPU, RAM, disk, load, swap, users, processes.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": null,
    "snmp_enabled": false,
    "agent_capable": false,
    "requires_snmp": true,
    "description_md": "Comprehensive Linux monitoring via SSH: ping, CPU, RAM, disk, load, swap, users, processes.",
    "requires_agent": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null,
    "requires_collector": true
  },
  "scripts": [
    {
      "name": "Load Average",
      "script_id": "5c3d976e-6cf8-576b-8556-e938465668de",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'Load Average'.",
      "interpreter": "bash",
      "script_body": "awk '{print $1}' /proc/loadavg | awk -v c=$(nproc) '{printf \"%d\", ($1/c)*100}'",
      "expected_output": "nagios"
    },
    {
      "name": "Swap",
      "script_id": "4d53d21e-bbcb-5d9f-9977-f82ba0704980",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'Swap'.",
      "interpreter": "bash",
      "script_body": "free | awk '/Swap:/{if($2>0) printf \"%d\",$3/$2*100; else print 0}'",
      "expected_output": "nagios"
    },
    {
      "name": "Logged Users",
      "script_id": "c0b8649d-a783-56aa-98bf-a828530c4284",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'Logged Users'.",
      "interpreter": "bash",
      "script_body": "who | wc -l",
      "expected_output": "nagios"
    },
    {
      "name": "Zombie Processes",
      "script_id": "a1720d1a-cf68-57f2-b353-6c5a70bf4f94",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'Zombie Processes'.",
      "interpreter": "bash",
      "script_body": "ps aux | awk '$8 ~ /^Z/ {c++} END {print c+0}'",
      "expected_output": "nagios"
    },
    {
      "name": "Total Processes",
      "script_id": "d9918715-29ea-5743-a787-54f6ffcebbe0",
      "is_builtin": true,
      "description": "Auto-registered from builtin profile-check 'Total Processes'.",
      "interpreter": "bash",
      "script_body": "ps aux --no-heading | wc -l",
      "expected_output": "nagios"
    }
  ],
  "schema_version": 1
}