{
  "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": "Port errors total",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "db7fead4-ac96-52e5-9cd0-01aa27c1bd10",
        "value_unit": "errors",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 0,
      "value_type": "counter",
      "description": "",
      "check_config": {
        "script_id": "db7fead4-ac96-52e5-9cd0-01aa27c1bd10",
        "value_unit": "errors",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 10000.0,
      "threshold_warn": 100.0,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "PoE total consumption (W)",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "b1da7ee5-2639-5291-85b2-b2f8afda3744",
        "value_unit": "W",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 1,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "b1da7ee5-2639-5291-85b2-b2f8afda3744",
        "value_unit": "W",
        "extract_value": "^(\\d+)"
      },
      "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": "Uptime",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.2.1.1.3.0",
        "unit": "ticks"
      },
      "sort_order": 1,
      "value_type": "gauge",
      "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": "CPU",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0",
        "unit": "%"
      },
      "sort_order": 2,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0",
        "unit": "%"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95.0,
      "threshold_warn": 80.0,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "STP topology changes (last 5min)",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "ab7fe792-205c-5fda-b9e9-391f07fade08",
        "value_unit": "changes",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 2,
      "value_type": "counter",
      "description": "",
      "check_config": {
        "script_id": "ab7fe792-205c-5fda-b9e9-391f07fade08",
        "value_unit": "changes",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 20.0,
      "threshold_warn": 5.0,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Memory",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1",
        "unit": "%"
      },
      "sort_order": 3,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1",
        "unit": "%"
      },
      "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": "Fan Status",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1"
      },
      "sort_order": 4,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1"
      },
      "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": "Device Snapshot (switch)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table",
      "parameters": null,
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "snapshot_type": "switch"
      },
      "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": "PSU Status",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2"
      },
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2"
      },
      "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": "STP-Topologie-Änderungen (Zähler)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.2.1.17.2.1.0"
      },
      "sort_order": 6,
      "value_type": "info",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.2.1.17.2.1.0"
      },
      "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": "Interface In-Errors (Summe)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.2.1.2.2.1.14.1"
      },
      "sort_order": 7,
      "value_type": "info",
      "description": "",
      "check_config": {
        "walk_oid": "1.3.6.1.2.1.2.2.1.14",
        "aggregate": "sum"
      },
      "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": "Interface Out-Errors (Summe)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.2.1.2.2.1.20.1"
      },
      "sort_order": 8,
      "value_type": "info",
      "description": "",
      "check_config": {
        "walk_oid": "1.3.6.1.2.1.2.2.1.20",
        "aggregate": "sum"
      },
      "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": "PoE-Auslastung (%)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": null,
      "sort_order": 45,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.2.1.105.1.3.1.1.4.1",
        "unit": "W",
        "total_oid": "1.3.6.1.2.1.105.1.3.1.1.2.1"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95.0,
      "threshold_warn": 80.0,
      "interval_seconds": 300,
      "threshold_direction": "upper",
      "is_reachability_hint": false,
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "network",
    "name": "HP/Aruba ProCurve Switch",
    "tags": [
      "hp",
      "aruba",
      "snmp",
      "poe"
    ],
    "vendor": "hp",
    "category": "switch",
    "os_family": null,
    "description": "HP ProCurve / Aruba (klassische Serien mit voller SNMP-MIB). Für Aruba Instant On 1830/1930/1960 das Profil „Aruba Instant On Switch\" verwenden.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": "switch_portmap",
    "snmp_enabled": true,
    "agent_capable": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null
  },
  "scripts": [
    {
      "name": "Port errors total",
      "script_id": "db7fead4-ac96-52e5-9cd0-01aa27c1bd10",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show interfaces error 2>/dev/null | awk 'NR>3{s+=$2+$3+$4+$5+$6+$7} END{print s+0}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "PoE total consumption (W)",
      "script_id": "b1da7ee5-2639-5291-85b2-b2f8afda3744",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show power-over-ethernet brief 2>/dev/null | awk '/Total Power Used/{print $5+0; exit}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "STP topology changes (last 5min)",
      "script_id": "ab7fe792-205c-5fda-b9e9-391f07fade08",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show spanning-tree 2>/dev/null | grep -c 'TCN' || echo 0",
      "expected_output": "nagios"
    }
  ],
  "schema_version": 1
}