{
  "checks": [
    {
      "name": "VPN tunnels established (IPsec)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "2e9d4d3f-ca8f-52ea-aca0-461b84575564",
        "value_unit": "tunnels",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 0,
      "value_type": "info",
      "description": "",
      "check_config": {
        "script_id": "2e9d4d3f-ca8f-52ea-aca0-461b84575564",
        "value_unit": "tunnels",
        "extract_value": "^(\\d+)"
      },
      "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": "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": "AnyConnect users",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "e4754711-6377-5770-ab52-316871c8a281",
        "value_unit": "users",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 1,
      "value_type": "info",
      "description": "",
      "check_config": {
        "script_id": "e4754711-6377-5770-ab52-316871c8a281",
        "value_unit": "users",
        "extract_value": "^(\\d+)"
      },
      "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": "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",
      "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.9.9.109.1.1.1.1.8.1",
        "unit": "%"
      },
      "sort_order": 2,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.109.1.1.1.1.8.1",
        "unit": "%"
      },
      "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": "Conn count (current sessions)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "820a1456-5b75-55a1-87f5-4a2c4469fa41",
        "value_unit": "conn",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 2,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "820a1456-5b75-55a1-87f5-4a2c4469fa41",
        "value_unit": "conn",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 400000,
      "threshold_warn": 200000,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "VPN Sessions",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.392.1.3.1.0"
      },
      "sort_order": 3,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.392.1.3.1.0"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 5000,
      "threshold_warn": 1000,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Failover state (passive=0, active=1, failed=2)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "ssh_script",
      "parameters": {
        "script_id": "ac7ee984-ec89-5a11-b895-dbf836721c7d",
        "value_unit": "state",
        "extract_value": "^(\\d+)"
      },
      "sort_order": 3,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "script_id": "ac7ee984-ec89-5a11-b895-dbf836721c7d",
        "value_unit": "state",
        "extract_value": "^(\\d+)"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 2,
      "threshold_warn": 2,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Failover State",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_string",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.147.1.2.1.1.1.2.6",
        "match_value": "Active"
      },
      "sort_order": 4,
      "value_type": "status",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.147.1.2.1.1.1.2.6",
        "match_value": "Active"
      },
      "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": "Active Connections",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6"
      },
      "sort_order": 5,
      "value_type": "gauge",
      "description": "",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 200000,
      "threshold_warn": 100000,
      "interval_seconds": 120,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Cisco — CPU 5min",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.109.1.1.1.1.5.1",
        "unit": "%"
      },
      "sort_order": 1000,
      "value_type": "gauge",
      "description": "5-Minuten-Mittel der CPU-Auslastung in % (cpmCPUTotal5minRev).",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.109.1.1.1.1.5.1",
        "unit": "%"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 95,
      "threshold_warn": 80,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Cisco — Temperatur-Sensoren (alle)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.3.1.6",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.3.1.2"
      },
      "sort_order": 1000,
      "value_type": "gauge",
      "description": "Aggregierter Status aller ENVMON-Temperatur-Sensoren (warning/critical/shutdown).",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.3.1.6",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.3.1.2"
      },
      "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": "BGP — alle Peers im Established-Status",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.2.1.15.3.1.2",
        "ok_values": [
          6
        ],
        "crit_values": [
          1,
          2
        ],
        "warn_values": [
          3,
          4,
          5
        ],
        "state_labels": {
          "1": "idle",
          "2": "connect",
          "3": "active",
          "4": "opensent",
          "5": "openconfirm",
          "6": "established"
        }
      },
      "sort_order": 1000,
      "value_type": "gauge",
      "description": "Aggregierter BGP-Peer-Status. Walked bgpPeerState (1.3.6.1.2.1.15.3.1.2). Established (6) = OK. Andere Werte = WARN/CRIT.\n",
      "check_config": {
        "walk_oid": "1.3.6.1.2.1.15.3.1.2",
        "ok_values": [
          6
        ],
        "crit_values": [
          1,
          2
        ],
        "warn_values": [
          3,
          4,
          5
        ],
        "state_labels": {
          "1": "idle",
          "2": "connect",
          "3": "active",
          "4": "opensent",
          "5": "openconfirm",
          "6": "established"
        }
      },
      "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": "Cisco — CPU 1min",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.109.1.1.1.1.4.1",
        "unit": "%"
      },
      "sort_order": 1001,
      "value_type": "gauge",
      "description": "1-Minuten-Mittel der CPU-Auslastung in % (cpmCPUTotal1minRev).",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.109.1.1.1.1.4.1",
        "unit": "%"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 98,
      "threshold_warn": 90,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Cisco — Lüfter-Status (alle)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.4.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.4.1.2"
      },
      "sort_order": 1001,
      "value_type": "gauge",
      "description": "Aggregierter Lüfter-Status. Critical wenn ein Lüfter ausfällt.",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.4.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.4.1.2"
      },
      "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": "Cisco — Memory Processor-Pool (Auslastung %)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.1",
        "unit": "%",
        "total_oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.1+1.3.6.1.4.1.9.9.48.1.1.1.6.1"
      },
      "sort_order": 1002,
      "value_type": "gauge",
      "description": "Auslastung des Processor-Pools in % berechnet aus ciscoMemoryPoolUsed / (Used + Free).\n",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.1",
        "unit": "%",
        "total_oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.1+1.3.6.1.4.1.9.9.48.1.1.1.6.1"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 90,
      "threshold_warn": 80,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Cisco — Netzteile (alle)",
      "auto_add": true,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.5.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.5.1.2"
      },
      "sort_order": 1002,
      "value_type": "gauge",
      "description": "Aggregierter PSU-Status mit Klartext-Bezeichnung des problematischen PSUs.",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.5.1.3",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.5.1.2"
      },
      "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": "Cisco — Memory I/O-Pool (Auslastung %)",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp",
      "parameters": {
        "oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.2",
        "unit": "%",
        "total_oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.2+1.3.6.1.4.1.9.9.48.1.1.1.6.2"
      },
      "sort_order": 1003,
      "value_type": "gauge",
      "description": "Auslastung des I/O-Memory-Pools (Index 2).",
      "check_config": {
        "oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.2",
        "unit": "%",
        "total_oid": "1.3.6.1.4.1.9.9.48.1.1.1.5.2+1.3.6.1.4.1.9.9.48.1.1.1.6.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": 90,
      "threshold_warn": 80,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    },
    {
      "name": "Cisco — Spannung (alle)",
      "auto_add": false,
      "check_mode": "passive",
      "check_type": "snmp_table_state",
      "parameters": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.2.1.7",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.2.1.2"
      },
      "sort_order": 1003,
      "value_type": "gauge",
      "description": "Aggregierter Status aller ENVMON-Voltage-Sensoren.",
      "check_config": {
        "walk_oid": "1.3.6.1.4.1.9.9.13.1.2.1.7",
        "ok_values": [
          1
        ],
        "crit_values": [
          3,
          4,
          6
        ],
        "warn_values": [
          2
        ],
        "state_labels": {
          "1": "normal",
          "2": "warning",
          "3": "critical",
          "4": "shutdown",
          "5": "notPresent",
          "6": "notFunctioning"
        },
        "label_column_oid": "1.3.6.1.4.1.9.9.13.1.2.1.2"
      },
      "is_telemetry": false,
      "interpretation": null,
      "threshold_crit": null,
      "threshold_warn": null,
      "interval_seconds": 60,
      "threshold_direction": "upper",
      "confirmation_attempts": 1,
      "confirmation_interval_seconds": 10
    }
  ],
  "profile": {
    "icon": "shield",
    "name": "Cisco ASA Firewall",
    "tags": [
      "cisco",
      "snmp",
      "asa",
      "vpn",
      "failover"
    ],
    "vendor": "cisco",
    "category": "firewall",
    "os_family": null,
    "description": "SNMP monitoring for Cisco ASA: CPU, VPN sessions, failover state, connections.",
    "ip_required": true,
    "port_layout": null,
    "visual_type": null,
    "snmp_enabled": true,
    "agent_capable": false,
    "requires_snmp": true,
    "description_md": "SNMP monitoring for Cisco ASA: CPU, VPN sessions, failover state, connections.",
    "requires_agent": false,
    "sysoid_patterns": null,
    "sysdescr_patterns": null,
    "requires_collector": true
  },
  "scripts": [
    {
      "name": "VPN tunnels established (IPsec)",
      "script_id": "2e9d4d3f-ca8f-52ea-aca0-461b84575564",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show vpn-sessiondb summary 2>/dev/null | awk '/IPsec/{print $3+0; exit}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "AnyConnect users",
      "script_id": "e4754711-6377-5770-ab52-316871c8a281",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show vpn-sessiondb anyconnect 2>/dev/null | awk '/Active/{print $3+0; exit}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "Conn count (current sessions)",
      "script_id": "820a1456-5b75-55a1-87f5-4a2c4469fa41",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show conn count 2>/dev/null | awk '/connections/{print $1+0; exit}' || echo 0",
      "expected_output": "nagios"
    },
    {
      "name": "Failover state (passive=0, active=1, failed=2)",
      "script_id": "ac7ee984-ec89-5a11-b895-dbf836721c7d",
      "is_builtin": true,
      "description": "Auto-registered builtin SSH script.",
      "interpreter": "bash",
      "script_body": "show failover state 2>/dev/null | awk '/This host/{print ($3==\\\"Active\\\")?1:($3==\\\"Standby\\\")?0:2; exit}' || echo 1",
      "expected_output": "nagios"
    }
  ],
  "schema_version": 1
}