Operational Challenge
Distributed BIG-IP environments are difficult to monitor manually. Health degradation and security events often go unnoticed until they cause an outage or compliance exposure.
MagnetoAI Device Monitor
MagMonitor connects to your managed BIG-IP fleet on a defined interval, collects device health and security telemetry, and ships it to the MagnetoAI cloud AI analytics endpoint for proactive fault detection and log intelligence.
Why It Matters
Distributed BIG-IP environments are difficult to monitor manually. Health degradation and security events often go unnoticed until they cause an outage or compliance exposure.
Network operations teams, security engineers, and platform owners responsible for the reliability and security posture of managed F5 infrastructure.
A persistent, low-overhead monitoring service that delivers device telemetry to the MagnetoAI cloud for AI-driven analysis, alerting, and proactive fault detection.
Key Capabilities
Connects to all registered BIG-IP devices in parallel on each collection cycle via iControlREST. Gathers CPU (per-core), memory, disk volumes, network interface counters, and software version per device.
Ships structured telemetry and F5 security logs to the MagnetoAI cloud analytics endpoint. Enables proactive fault detection and anomaly surfacing without manual log review.
Provides a built-in web dashboard with automatic TLS 1.3 and self-signed certificate generation. HTTP-to-HTTPS redirects are enabled by default. Access is configurable by CIDR allowlist.
Maintains a bidirectional WebSocket connection to the MagnetoAI cloud. Emits lifecycle and telemetry events as they occur and accepts remote commands for controlled update execution.
Pulls security logs from up to 7 configurable BIG-IP modules via iControlREST. Logs are filtered, redacted, and summarized by AI on-premises before being forwarded. Disabled by default.
Runs ICMP and HTTP-level pre-checks against managed devices before each collection cycle. Skips unreachable devices gracefully and reports reachability status alongside telemetry.
AI Analytics
Most monitoring tools tell you what happened. MagMonitor's AI analytics layer tells you what it means — and what to do about it. Instead of reviewing hundreds of raw log lines per cycle, your team receives structured, AI-summarized insights surfaced from across your entire BIG-IP fleet.
The AI analytics engine continuously processes telemetry across your managed fleet — identifying anomalies, capacity trends, and security signals before they escalate into incidents. You don't wait for a threshold alert. The system surfaces what matters.
Because MagMonitor aggregates data from every managed device in your deployment group, the cloud analytics layer can identify cross-device patterns — correlating CPU spikes, connection table growth, interface errors, and log anomalies that no single-device view would reveal.
When log capture is enabled, raw F5 module logs — WAF blocks, firewall denies, DoS events, SSL interception records — are passed through an AI model that extracts what is operationally relevant, discards noise, and returns a concise summary of what your devices actually saw. No manual review required.
A 20-device fleet generating 5,000 log entries per cycle produces more data than any operations team can meaningfully review. MagMonitor's AI layer compresses that into structured, time-stamped summaries — giving your team the signal without the noise.
Structured device telemetry is forwarded to the MagnetoAI cloud analytics endpoint after each collection cycle. The cloud layer runs pattern recognition and fault detection models against your fleet's historical and current metrics, returning scored observations and alerts to the dashboard.
When log capture is enabled, AI log processing runs on-premises using local LLM models — not cloud AI providers. Raw log data stays on your network. The local model summarizes, classifies, and scores entries before any data is forwarded, so only structured intelligence leaves your environment.
For teams with existing AI infrastructure, BYOAI lets you route log processing through your own model endpoint — OpenAI, Anthropic, Google, Azure OpenAI, AWS Bedrock, Mistral, Groq, or a fully on-premises model. You control the model, the data path, and the API key.
Device Logging & AI
Logs are collected from managed BIG-IP devices via the iControlREST API. You enable or disable collection per module, and set a maximum log count per module per cycle. A global cap applies across all modules combined.
Log entries are fetched from each managed device using the F5 iControlREST API — the same authenticated API used for device health telemetry. No agent or syslog integration is required on the device. Credentials are shared from the existing device configuration file.
The collection cycle runs at a configurable interval — how frequently MagMonitor queries each managed device for new log entries. The default is 300 seconds (5 minutes). The minimum is 30 seconds; the maximum is 86,400 seconds (24 hours). This is set globally in the cloud settings panel and applies to all devices in your account.
Each enabled module has its own maximum log count per cycle, and a combined global cap prevents any single cycle from becoming a data flood. Modules with no new entries in a cycle are skipped efficiently without counting against the cap.
Both controls below are enabled by default. They apply before any log data is processed by AI or forwarded anywhere.
Before any AI processing or forwarding, captured log entries pass through a sanitization stage. Non-actionable noise, duplicate entries, and malformed records are removed. Only structurally valid, operationally relevant entries are passed downstream. This reduces AI processing time and ensures the model receives clean input.
Default: On
A redaction pass runs over filtered log entries before they reach the AI layer. Known patterns for usernames, IP addresses in certain contexts, session tokens, credentials, and other sensitive fields are masked or removed. This ensures that even if logs contain identifiable information, it does not propagate into AI summaries or cloud storage.
Default: On
After logs have been processed by the AI summarization layer, raw log data is securely deleted. The retention window defines how long raw entries are kept before summarization runs. Default is 24 hours. Only the structured AI summary is retained afterward.
AI-summarized log data — actionable insights, classified events, and scored anomalies — is retained for a configurable period. Default is 14 days. This gives your team a rolling window of processed intelligence without long-term raw log storage.
Raw log data is never sent to any cloud AI provider (including OpenAI, Anthropic, Google, AWS, or others) unless you explicitly configure a BYOAI cloud provider. By default, AI log processing runs on-premises using local models. Your raw network data does not leave your environment.
Log summarization requires an AI processing backend. Two modes are available — they are mutually exclusive.
By default, log summarization runs through on-premises AI/LLM models managed by the MagnetoAI platform. Log data is analyzed and summarized entirely within your network boundary. No log data is sent to any third-party cloud AI service.
The local model produces structured summaries — classifying events, scoring severity, and extracting indicators of compromise or capacity risk — which are then retained per the configured summary retention window.
Default: On (when log capture is enabled)
If you have existing AI infrastructure or prefer a specific provider, BYOAI lets you route log processing through your own endpoint. When BYOAI is active, the local AI option is automatically disabled — they cannot run simultaneously.
Supported cloud providers: OpenAI (ChatGPT), Anthropic (Claude), Google (Gemini), Microsoft Azure OpenAI, AWS Bedrock, Mistral AI, Cohere, Meta AI (Llama API), Groq, Together AI.
In-house / on-prem: Connect to any self-hosted model endpoint using host, port, model name, optional TLS, and optional bearer token or API key authentication. Extended chain-of-thought reasoning is available for supported models.
Default: Off
# These values are pushed from the MagnetoAI cloud after authentication.
# They can also be set locally in settings.json for offline or advanced deployments.
{
"log_capture_enabled": false, // Master switch — disabled by default
"log_poll_interval": 300, // Seconds between log collection cycles (default: 300)
"log_filter_sanitize": true, // Strip noise and malformed entries before processing
"log_redact_sensitive": true, // Mask usernames, tokens, and sensitive fields
"log_raw_retention_hrs": 24, // Hours to keep raw logs before secure deletion (default: 24)
"log_retention_days": 14, // Days to retain AI-summarized data (default: 14)
"log_use_local_ai": true, // Use on-prem AI models for summarization (default: true)
"byoai_enabled": false, // Enable Bring Your Own AI (mutually exclusive with local AI)
"byoai_provider": "", // Provider: openai, anthropic, google, azure, aws, inhouse, etc.
"byoai_cloud_apikey": "" // API key for cloud BYOAI provider
}
SaaS & API Integrations
Authentication, device list retrieval, telemetry ingestion, and AI analytics endpoint reporting.
Bidirectional real-time channel for lifecycle events, per-device telemetry streaming, and remote update commands.
Structured, AI-summarized log payloads from BIG-IP devices are forwarded to the cloud log analytics endpoint each cycle.
Cloud-assigned or in-house AI model endpoint for enriched F5 log analysis. Provider, model, and credentials are configured per account.
How It Works
Architecture
Manages parallel device polling via iControlREST, per-device metric aggregation, ICMP/HTTP reachability probing, and software version tracking.
When enabled: pulls per-module security logs, applies filtering and redaction, routes entries through local AI or BYOAI for summarization, and enforces retention policies.
Handles MagnetoAI API authentication, structured telemetry payload construction, REST delivery, AI-summarized log forwarding, and cloud settings sync.
Maintains the persistent WebSocket channel, emits lifecycle and per-device telemetry events, and processes inbound remote commands such as policy update triggers.
Serves the embedded HTTPS dashboard, manages self-signed TLS 1.3 certificate generation, and handles HTTP-to-HTTPS redirect listeners.
Automates the embedded MCP bridge at startup for local update orchestration. Supports remote-triggered execution of the f5_urlrep_cm updater binary.
Authenticate -> Preflight -> Dashboard Start -> WebSocket Connect
-> Device Probe (parallel) -> Telemetry Aggregation
-> Log Capture (if enabled) -> Filter + Redact -> AI Summarize
-> Cloud Publish -> Raw Log Purge -> Sleep(interval) -> Repeat
Getting Started
Create a dedicated folder (for example, under $HOME or /opt) and run installation from there.
get_latest.php auto-detects OS, downloads the correct binary, and verifies checksum and signature.
Confirm version output, review startup output for dashboard URL and preflight results, and monitor logs for ongoing cycle health.
mkdir -p "$HOME/mag_monitor"
cd "$HOME/mag_monitor"
curl -fsSLO https://cdn.tag-insights.com/apps/updater/get_latest.php
bash ./get_latest.php
./mag_monitor --version
cd "$HOME/mag_monitor"
curl -fsSL https://cdn.tag-insights.com/apps/updater/get_latest.php | bash
$PWD/mag_monitor$PWD/get_latest.php$PWD/.mag_monitor_installer//var/log/mag_monitor preferred, local fallback if neededInstaller creates or updates a weekly cron run (Sunday at 04:00) and can skip cron setup when requested.
bash ./get_latest.php --no-cron
curl -fsSLO https://cdn.tag-insights.com/apps/mag_monitor/uninstall-latest.sh
bash ./uninstall-latest.sh
Removes binary, installer script, state directory, and installer cron marker.
CLI Usage
Use --once to execute a single collection cycle and exit. Useful for testing connectivity
and verifying telemetry delivery before committing to continuous operation.
# Execute one cycle and exit
./mag_monitor --once
# One cycle with debug output
./mag_monitor --once --debug
Use --dg (or --deployment_group) to scope a collection run to a named
deployment group. Only devices assigned to that group are polled. Omitting the flag targets the
all group.
# Short form
./mag_monitor --dg <group-name>
# Long form (equivalent)
./mag_monitor --deployment_group <group-name>
# Continuous operation (default — runs until stopped)
./mag_monitor
# Single validation cycle with verbose output
./mag_monitor --once --debug
# Scope to a named group for targeted monitoring
./mag_monitor --dg production
# Run and scope, then exit after one cycle
./mag_monitor --dg lab --once
--once — Run one collection cycle and exit--debug / -d — Enable verbose debug output--dg <name> / --deployment_group <name> — Target a named deployment group--version — Print installed version and exit--no-cron — Skip cron schedule setup during installcollect_interval_seconds — Device telemetry poll interval (default: 300)max_device_workers — Parallel device collection threads (default: 20)web_enabled — Enable or disable the built-in dashboard (default: true)web_tls_enabled — Enable TLS 1.3 for the dashboard (default: true)web_allowed_cidrs — CIDR allowlist for dashboard access (default: open)websocket_enabled — Enable real-time WebSocket streaming (default: true)log_capture_enabled — Enable device log collection (default: false)log_poll_interval — Log collection interval in seconds (default: 300)
By default, MagMonitor starts an HTTPS dashboard on port 443 (with fallback to 4433) and redirects
HTTP port 80 to HTTPS. A self-signed TLS 1.3 certificate is generated automatically on first launch.
To use a certificate you provide, set web_tls_cert_source to provided
and configure the cert and key paths.
# Example settings.json TLS override
{
"web_tls_cert_source": "provided",
"web_tls_cert_file": "/etc/ssl/certs/my-cert.pem",
"web_tls_key_file": "/etc/ssl/private/my-key.pem"
}
Important Notes
Unreachable devices are skipped for that cycle and reported. A single failing device does not stop collection from the rest of the fleet.
The dashboard uses TLS 1.3 with either a self-signed certificate or one you provide. Access can be restricted by CIDR allowlist in settings.
No additional agents or syslog configurations are needed. Logs are pulled via the same iControlREST API used for telemetry collection, using existing device credentials.
Not unless you configure a BYOAI cloud provider. With the default local AI option, log processing runs on-premises and only AI-summarized structured data is forwarded.
Credentials are loaded from an encrypted configuration file shared with other Cassandra client tools. Decrypted material is not written to disk during operation.
MagMonitor runs as a long-lived process. Signal handling ensures clean shutdown on SIGINT or SIGTERM. Parallelized collection and timeout controls support stable repeat execution.
MagMonitor delivers persistent, low-overhead monitoring with cloud-backed AI analysis, optional on-premises log intelligence, a secure embedded dashboard, and real-time event streaming — all from a single deployed binary.
Back to Top