Logotipo de F5 Health Check

F5 Health Check

Comunidad
automateyournetwork
f5-health-check

Supervisión del estado de F5 BIG-IP: estado de los servidores virtuales y los miembros de los pools, análisis de registros, estadísticas de rendimiento y evaluación sistemática del estado. Úsalo para comprobaciones rutinarias o periódicas: comprobar el estado del balanceador de carga F5, validar antes o después de un cambio, hacer una primera revisión de los fallos de miembros de pools o auditar la caducidad de los certificados SSL. Para diagnosticar la causa raíz de un incidente activo (VIP inactiva, errores SSL o errores TCL de iRule), usa `f5-troubleshoot`. Para consultar detalles de configuración de LTM/GTM que esta habilidad no cubre —iRules, perfiles de persistencia, wide IPs/DNS de GTM y grupos de datos—, usa `pyats-f5-ltm`.

Add to TypingMind

Descripción general

Editorautomateyournetwork
Repositorionetclaw
Nombre de la habilidadf5-health-check
Estrellas
680
Forks
189
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por automateyournetwork en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA F5 Health Check en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/f5-health-check
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/f5-health-check .claude/skills/f5-health-check
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa F5 Health Check en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga F5 Health Check automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que F5 Health Check no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

F5 BIG-IP Health Check

When to Use

  • Proactive daily/weekly BIG-IP health monitoring
  • Pre-change and post-change validation for load balancer changes
  • Incident response -- first thing to run when application delivery is impacted
  • Capacity planning for virtual server and pool utilization
  • Compliance checks for operational readiness of ADC infrastructure

How to Call the Tools

The F5 MCP server provides 6 tools. Call them via mcp-call with the required environment variables:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" <tool_name> '{"param":"value"}'

Available Tools

ToolPurposeKey Arguments
list_toolList F5 objects by typeobject_name, object_type (virtual/pool/irule/profile)
show_stats_toolShow statistics for an F5 objectobject_name, object_type (virtual/pool/irule/profile)
show_logs_toolShow N lines of system logslines_number
create_toolCreate an F5 object via POSTurl_body, object_type
update_toolUpdate an F5 object via PATCHurl_body, object_type, object_name
delete_toolDelete an F5 objectobject_type, object_name

Health Check Procedure

Always run health checks in this exact order. Each section builds on the previous one.

Step 1: Virtual Server Inventory and Status

List all virtual servers to establish the baseline inventory.

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" list_tool '{"object_name":"","object_type":"virtual"}'

Extract and report:

  • Virtual server names and destination addresses (VIP:port)
  • Enabled/disabled state
  • Availability status (available, offline, unknown)
  • Associated pool name
  • IP protocol (TCP, UDP, any)
  • Source address translation type (automap, SNAT pool, none)
  • Assigned profiles (HTTP, SSL, TCP, persistence)

Flags:

  • Virtual server status offline -> CRITICAL: VIP not serving traffic
  • Virtual server status unknown -> WARNING: Cannot determine health
  • Virtual server disabled -> INFO: Intentionally taken out of service (verify with change records)
  • No pool assigned -> WARNING: Virtual server has no backend pool

Step 2: Virtual Server Statistics (Per VIP)

For each virtual server discovered in Step 1, collect detailed statistics:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" show_stats_tool '{"object_name":"my_virtual_server","object_type":"virtual"}'

Key metrics to evaluate:

MetricHEALTHYWARNINGCRITICAL
Status availabilityavailableunknownoffline
Current connections< 80% of connection limit80-95% of limit> 95% of limit or at limit
Packets in/outNon-zero, balanced ratioHighly asymmetric (>100:1)Zero in either direction
Bits in/outNon-zeroSudden drop >50% from baselineZero (no traffic flowing)
Total requests (HTTP VIPs)IncrementingFlat (stalled)Decreasing or zero
Client-side connection rateSteady or growingSpike >200% baselineZero

Thresholds:

  • Current connections at 0 on a production VIP -> CRITICAL: No clients connecting
  • Bits in = 0, bits out > 0 -> WARNING: VIP responding but no client data (possible health monitor traffic only)
  • Connection limit reached -> CRITICAL: New clients being rejected (connection queue filling)
  • 5xx response count incrementing -> WARNING: Backend servers returning errors

Step 3: Pool Inventory and Member Health

List all pools and their members:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" list_tool '{"object_name":"","object_type":"pool"}'

Extract and report for each pool:

  • Pool name and load balancing method (round-robin, least-connections, ratio, etc.)
  • Monitor assignment (HTTP, HTTPS, TCP, ICMP, custom)
  • Total members vs active members
  • Each member: address:port, state (enabled/disabled), availability (available/offline/unknown)
  • Minimum active members setting
  • Action on service down (none, reject, drop, reselect)

Flags:

  • All members offline -> CRITICAL: Pool is down, no healthy backends
  • Members < minimum active threshold -> CRITICAL: Below minimum, failover action triggered
  • Any single member offline -> WARNING: Reduced capacity
  • 50% members offline -> HIGH: Significant capacity degradation

  • Member disabled but not offline -> INFO: Intentionally drained (verify with change records)
  • No monitor assigned -> WARNING: Pool health is not being checked

Step 4: Pool Statistics (Per Pool)

For each pool, collect statistics to assess utilization:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" show_stats_tool '{"object_name":"my_pool","object_type":"pool"}'

Key metrics to evaluate:

MetricHEALTHYWARNINGCRITICAL
Active member countAll members active< 75% active< 50% active or zero
Current connections per memberEvenly distributedSkewed >3:1 ratioSingle member handling all traffic
Server-side connectionsIncrementingFlatZero
Total requests servedIncrementingFlatDecreasing
Bytes in/outBalancedAsymmetricZero

Connection distribution analysis:

  • Even distribution across members -> HEALTHY: Load balancing working correctly
  • Uneven distribution with round-robin -> WARNING: Possible persistence override or health issue
  • Single member with all connections -> CRITICAL: All other members likely down
  • Zero connections on a member -> WARNING: Member may be failing health checks intermittently

Step 5: Profile Inventory

List all profiles to document the configuration posture:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" list_tool '{"object_name":"","object_type":"profile"}'

Check for:

  • SSL/TLS profiles: certificate expiration dates, cipher suite strength, TLS version minimums
  • HTTP profiles: X-Forwarded-For insertion, response compression, request/response size limits
  • TCP profiles: idle timeout values, Nagle algorithm setting, keep-alive intervals
  • Persistence profiles: type (cookie, source-addr, SSL), timeout values
  • OneConnect profiles: connection pooling settings

Flags:

  • SSL cert expiring within 30 days -> WARNING: Plan renewal
  • SSL cert expiring within 7 days -> CRITICAL: Immediate renewal required
  • SSL cert expired -> CRITICAL: Service will fail for HTTPS clients
  • TLS 1.0 or 1.1 enabled -> WARNING: Deprecated protocols, security risk
  • Weak cipher suites (RC4, DES, 3DES, export ciphers) -> WARNING: Security vulnerability

Step 6: iRule Inventory

List all iRules to document traffic manipulation logic:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" list_tool '{"object_name":"","object_type":"irule"}'

Check for:

  • iRules assigned to virtual servers vs orphaned iRules
  • iRule event types in use (HTTP_REQUEST, HTTP_RESPONSE, CLIENT_ACCEPTED, etc.)
  • Deprecated Tcl commands or known-problematic patterns
  • iRules performing logging (potential performance impact at scale)

Flags:

  • iRule with log statements in high-traffic path -> WARNING: Performance impact
  • iRule using HTTP::collect without HTTP::release -> CRITICAL: Memory leak risk
  • Orphaned iRule (not assigned to any virtual server) -> INFO: Cleanup candidate
  • iRule with catch blocks -> INFO: Error handling present (good practice)

Step 7: System Logs Analysis

Pull recent system logs to detect errors and anomalies:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" show_logs_tool '{"lines_number":"200"}'

Scan for these critical patterns:

PatternSeverityMeaning
01010028CRITICALNo members available for pool
01010029CRITICALPool member monitor status down
0107142fCRITICALSSL handshake failure
01070417CRITICALHTTP parse error
01060102HIGHConnection rate limit reached
01010025HIGHVirtual server connection limit reached
01071681WARNINGPool member has been marked down
01071682INFOPool member has been marked up
01010240WARNINGConnection queue full
0107143cWARNINGSSL certificate verification failure
01070727WARNINGPool member rate limit reached
MCP errorHIGHManagement plane communication issue
disk_usageWARNINGDisk space issue on BIG-IP
memoryHIGHMemory pressure on BIG-IP
ha_statusCRITICALHigh availability state change
failoverCRITICALHA failover event detected

Log analysis guidelines:

  • Group errors by type and count occurrences
  • Note timestamps of first and last occurrence
  • Identify trending errors (increasing frequency)
  • Correlate pool member down events with specific health monitors
  • Identify SSL errors that indicate certificate or cipher issues

Step 8: Extended Log Analysis (If Issues Detected)

If Step 7 reveals errors, pull more log lines for deeper analysis:

bash
IP_ADDRESS=$F5_IP_ADDRESS Authorization_string=$F5_AUTH_STRING python3 $MCP_CALL "python3 -u $F5_MCP_SCRIPT" show_logs_tool '{"lines_number":"1000"}'

Advanced log analysis:

  • Correlate timestamps: Did pool member down events coincide with traffic spikes?
  • Check for flapping: Is a member repeatedly going up/down? (indicates marginal health)
  • Identify blast radius: Which virtual servers were affected by pool member failures?
  • Check HA events: Any failover or sync-related messages?

Health Report Format

Always produce a summary table after completing all steps:

F5 BIG-IP Health Report
Device: $F5_IP_ADDRESS
Date: YYYY-MM-DD HH:MM UTC

+---------------------------+----------+------------------------------------------+
| Check                     | Status   | Details                                  |
+---------------------------+----------+------------------------------------------+
| Virtual Servers           | HEALTHY  | 5/5 available, all serving traffic       |
| Pool Health               | WARNING  | pool_web: 3/4 members active (node3 dn) |
| Connection Utilization    | HEALTHY  | Peak VIP at 45% connection limit         |
| Traffic Distribution      | HEALTHY  | Even distribution across pool members    |
| SSL/TLS Profiles          | WARNING  | www_ssl cert expires in 21 days          |
| iRules                    | HEALTHY  | 3 active, no problematic patterns        |
| System Logs               | HIGH     | 47x 01010029 (monitor down) in last hour |
+---------------------------+----------+------------------------------------------+

Overall: WARNING -- 2 items need attention

Action Items:
1. [WARNING] Investigate pool_web node3 health check failures
2. [WARNING] Renew SSL certificate for www_ssl profile (expires in 21 days)
3. [HIGH] Investigate spike in pool member monitor-down log messages

Severity order: CRITICAL > HIGH > WARNING > HEALTHY. Overall status = worst individual status.

Fleet Health Check (Multiple BIG-IP Devices)

When monitoring multiple F5 appliances, run the full procedure on each device and produce a fleet summary:

+------------------+----------+----------+--------+--------+-----------+
| BIG-IP           | Virtuals | Pools    | SSL    | Logs   | Overall   |
+------------------+----------+----------+--------+--------+-----------+
| bigip-prod-01    | HEALTHY  | WARNING  | HEALTHY| HEALTHY| WARNING   |
| bigip-prod-02    | HEALTHY  | HEALTHY  | WARN   | HIGH   | HIGH      |
| bigip-dr-01      | HEALTHY  | HEALTHY  | HEALTHY| HEALTHY| HEALTHY   |
+------------------+----------+----------+--------+--------+-----------+

Sort devices by severity (CRITICAL first) for triage prioritization.

Integration with Other Skills

  • Use f5-config-mgmt to remediate issues found during health checks (e.g., update pool members, modify monitors)
  • Use f5-troubleshoot for deep-dive investigation when health check reveals CRITICAL or HIGH findings
  • Use drawio-diagram to visualize the BIG-IP topology (virtual servers -> pools -> members)
  • Use markmap-viz to create hierarchical health status mind maps
  • Use servicenow-change-workflow to create incidents for CRITICAL findings requiring remediation

GAIT Audit Trail

After completing a health check, record the session in GAIT:

bash
python3 $MCP_CALL "python3 -u $GAIT_MCP_SCRIPT" gait_record_turn '{"artifacts":["f5-health-report.txt"],"user_text":"F5 BIG-IP health check on $F5_IP_ADDRESS","assistant_text":"Health check completed. Virtual servers: 5/5 HEALTHY. Pools: WARNING (pool_web 3/4 members). SSL: WARNING (cert expires 21 days). Logs: HIGH (47x monitor-down events). Overall: WARNING. Action items: investigate pool_web node3, renew SSL cert, investigate log spike."}'

Failure Behavior

  • If a tool call fails with an authentication or connection error, check that F5_MCP_SCRIPT, GAIT_MCP_SCRIPT, MCP_CALL are set and valid before assuming a data or device problem.
  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • Do not automatically retry a write/mutating operation after a failure — surface the error and get explicit confirmation before retrying, since a blind retry on a partially-applied change can leave state inconsistent.

Audit examples are illustrative. Replace their request and outcomes with observed session evidence; inspect MCP isError, returned ok and recorded GAIT text.

Preguntas frecuentes

¿Qué hace la habilidad de IA F5 Health Check?

Supervisión del estado de F5 BIG-IP: estado de los servidores virtuales y los miembros de los pools, análisis de registros, estadísticas de rendimiento y evaluación sistemática del estado. Úsalo para comprobaciones rutinarias o periódicas: comprobar el estado del balanceador de carga F5, validar antes o después de un cambio, hacer una primera revisión de los fallos de miembros de pools o auditar la caducidad de los certificados SSL. Para diagnosticar la causa raíz de un incidente activo (VIP inactiva, errores SSL o errores TCL de iRule), usa `f5-troubleshoot`. Para consultar detalles de con...

¿Por qué usar F5 Health Check en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. F5 Health Check está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo F5 Health Check en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/f5-health-check. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar F5 Health Check?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar F5 Health Check?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar F5 Health Check con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA F5 Health Check?

Sí. automateyournetwork la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇