{
  "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": "HTTPS Port",
      "auto_add": true,
      "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",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "HTTPS WebUI",
      "auto_add": true,
      "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",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "vCenter MOB Port",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 9443
      },
      "sort_order": 2,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 9443
      },
      "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": "vSphere API",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "port",
      "parameters": {
        "port": 443
      },
      "sort_order": 2,
      "value_type": "status",
      "description": "",
      "check_config": {
        "port": 443
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "HTTP Check",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "http",
      "parameters": {
        "url": "https://{host}/ui/"
      },
      "sort_order": 3,
      "value_type": "duration",
      "description": "",
      "check_config": {
        "url": "https://{host}/ui/"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 15000,
      "threshold_warn": 5000,
      "interval_seconds": 120,
      "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": 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",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "SSL Certificate",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssl_certificate",
      "parameters": {
        "port": 443
      },
      "sort_order": 4,
      "value_type": "duration",
      "description": "",
      "check_config": {
        "port": 443
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 7,
      "threshold_warn": 30,
      "interval_seconds": 3600,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "vCenter services not running",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "1a84d68c-726d-5ca2-93ab-7cc0768933a1",
        "value_unit": "services",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "1a84d68c-726d-5ca2-93ab-7cc0768933a1",
        "value_unit": "services",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 3,
      "threshold_warn": 1,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "VC database connection",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "e1eb1083-5aa6-5da3-aec4-8c5cccf21eb0",
        "value_unit": "state",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 6,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "e1eb1083-5aa6-5da3-aec4-8c5cccf21eb0",
        "value_unit": "state",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 1,
      "threshold_warn": null,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "VC disk usage / (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "561bab87-bf44-5890-9203-85209125fd3d",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 7,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "561bab87-bf44-5890-9203-85209125fd3d",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 85,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "VC disk usage /storage/log (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "0d1add88-0545-5657-a603-2adf512671a6",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 8,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "0d1add88-0545-5657-a603-2adf512671a6",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 85,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "VC disk usage /storage/db (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "38acdf67-32ff-5181-8a76-16b2719d9195",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 9,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "38acdf67-32ff-5181-8a76-16b2719d9195",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 85,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Memory usage (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "f48c172f-d92a-57ea-a32e-8c710f738496",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 10,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "f48c172f-d92a-57ea-a32e-8c710f738496",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 85,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Load avg per core (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "0e8e9867-75f0-5c9a-8f34-3fcb0bb254d4",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 11,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "0e8e9867-75f0-5c9a-8f34-3fcb0bb254d4",
        "value_unit": "%",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 300,
      "threshold_warn": 150,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "server",
    "name": "VMware vCenter Server",
    "tags": [
      "vmware",
      "vcenter",
      "virtualization"
    ],
    "vendor": "vmware",
    "category": "server",
    "os_family": null,
    "description": "vCenter Server: WebUI, API, Services, SSL-Zertifikat.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": null,
    "snmp_enabled": false,
    "agent_capable": false,
    "requires_snmp": false,
    "description_md": "vCenter Server: WebUI, API, Services, SSL-Zertifikat.",
    "requires_agent": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null,
    "requires_collector": true
  },
  "scripts": [
    {
      "name": "vCenter services not running",
      "script_id": "1a84d68c-726d-5ca2-93ab-7cc0768933a1",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "service-control --status 2>/dev/null | awk '/Stopped:/{getline; print NF}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "VC database connection",
      "script_id": "e1eb1083-5aa6-5da3-aec4-8c5cccf21eb0",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "vmon-cli -s vpxd 2>/dev/null | awk '/State:/{print ($2==\\\"RUN\\\")?0:1; exit}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "VC disk usage / (%)",
      "script_id": "561bab87-bf44-5890-9203-85209125fd3d",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "df -P / | tail -1 | awk '{gsub(/%/,\\\"\\\",$5); print $5+0}'",
      "expected_output": "nagios"
    },
    {
      "name": "VC disk usage /storage/log (%)",
      "script_id": "0d1add88-0545-5657-a603-2adf512671a6",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "df -P /storage/log 2>/dev/null | tail -1 | awk '{gsub(/%/,\\\"\\\",$5); print $5+0}'",
      "expected_output": "nagios"
    },
    {
      "name": "VC disk usage /storage/db (%)",
      "script_id": "38acdf67-32ff-5181-8a76-16b2719d9195",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "df -P /storage/db 2>/dev/null | tail -1 | awk '{gsub(/%/,\\\"\\\",$5); print $5+0}'",
      "expected_output": "nagios"
    },
    {
      "name": "Memory usage (%)",
      "script_id": "f48c172f-d92a-57ea-a32e-8c710f738496",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "free | awk '/Mem:/{printf \\\"%d\\\", $3/$2*100}'",
      "expected_output": "nagios"
    },
    {
      "name": "Load avg per core (%)",
      "script_id": "0e8e9867-75f0-5c9a-8f34-3fcb0bb254d4",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "awk '{print $1}' /proc/loadavg | awk -v c=$(nproc) '{printf \\\"%d\\\", ($1/c)*100}'",
      "expected_output": "nagios"
    }
  ],
  "schema_version": 1
}