The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / tomcat / tomcat-ghostcat-ajp-cve-2020-1938 ▌

Operations Guides

Tomcat Ghostcat (CVE-2020-1938): AJP connector exposure and arbitrary file read

Ghostcat (CVE-2020-1938) is a configuration-driven vulnerability in Apache Tomcat’s AJP connector. Before the 9.0.31 / 8.5.51 / 7.0.100 fixes, the AJP protocol carried no authentication. Any client that could reach port 8009 could craft AJP requests that made Tomcat read and return arbitrary files from the server, including WEB-INF/web.xml and server.xml. In some configurations the same primitive enables remote code execution through JSP inclusion.

The fix was not a patch to existing behavior. It was a set of new defaults: the AJP connector binds to the loopback address and requires a secret attribute with secretRequired=true. In the stock server.xml shipped since 9.0.31 the AJP connector is commented out entirely, and the commented example binds to the loopback address (::1). Deployments that carried an older server.xml forward, or operators who re-enabled AJP without setting the new attributes, remain exposed on instances that look perfectly healthy to a normal HTTP health check.

What Ghostcat is

The AJP (Apache JServ Protocol) connector is a binary protocol Tomcat uses to receive requests from a fronting web server, typically Apache httpd with mod_jk or mod_proxy_ajp. It is more efficient than HTTP for the proxy-to-backend hop because it reuses a compact binary representation instead of re-parsing HTTP headers on both sides.

AJP was designed for a trusted network segment between a web server and an application server. It had no authentication, no integrity protection, and trusted the fronting server to supply request attributes that Tomcat would honor. Tomcat’s DefaultServlet respects servlet-container attributes set via AJP, including ones that control which file to serve and whether to interpret it as a JSP. A client that speaks raw AJP can set those attributes directly, bypassing the fronting web server entirely.

The two concrete impacts:

  • Arbitrary file read. The attacker sets AJP request attributes (javax.servlet.include.request_uri, javax.servlet.include.path_info, javax.servlet.include.servlet_path) to point at a file inside the web application. Tomcat’s DefaultServlet honors them and returns the file content. The classic targets are WEB-INF/web.xml (database credentials, servlet mappings) and any file under the webapp root that is normally protected from direct HTTP access.
  • Potential RCE via JSP inclusion. If the attacker can upload or reference a file with attacker-controlled content ending in .jsp, and the webapp processes JSP includes, the included JSP compiles and executes on the server. This requires a writable path the attacker can influence, which is why file read is the near-universal impact and RCE is the conditional one.

CVSS 3.1 base score is 9.8 (Critical), and the CVE is listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-03-03).

How exposure happens

Ghostcat is not a code bug you trigger by sending a malformed request to an HTTP port. It is a configuration condition: the AJP connector is enabled and reachable from a network the attacker can access, and no secret gates the connection.

ConfigurationWhat it looks likeRisk
AJP enabled, address="0.0.0.0", no secret (pre-9.0.31)ss -tnl 'sport = :8009' shows 0.0.0.0:8009Direct file read and potential RCE from any reachable host
AJP enabled, address="0.0.0.0", secretRequired="false"Port 8009 on all interfaces, connector starts without a secretSame as above. Setting secretRequired="false" on an internet-facing bind recreates the original vulnerability
AJP enabled, address="127.0.0.1", no secretPort 8009 on loopback onlySafe from remote attack, but any process on the host or a server-side request forgery in a co-located app can still reach it
AJP commented out or absent from server.xmlss -tnl 'sport = :8009' returns nothingNot exposed
AJP enabled, address="127.0.0.1", secretRequired="true", secret="<long random>"Loopback bind, connector starts only with the shared secretHardened. Safe for httpd/mod_jk on the same host

The most common path to exposure is a carried-forward server.xml. An older config has the AJP connector uncommented, bound to all interfaces, with no secret attribute. On a pre-9.0.31 Tomcat this starts silently. After upgrading, the operator hits a startup failure, sets secretRequired="false" to make the connector start again, and recreates the original vulnerability on the new version.

Quick checks

All of these are read-only. Run them on each Tomcat host.

# Is AJP listening, and on what address?
ss -tnl 'sport = :8009'

Read the Local Address:Port column. 0.0.0.0:8009 or *:8009 means all interfaces. 127.0.0.1:8009 or [::1]:8009 means loopback only.

# What does server.xml say about AJP?
grep -ni "ajp\|8009\|secretRequired\|secret=" "$CATALINA_BASE/conf/server.xml"

If the connector block is present, confirm the address, secret, and secretRequired attributes. If the block is missing or wrapped in <!-- -->, AJP is disabled.

# Confirm the Tomcat version (determines which defaults apply)
"$CATALINA_HOME/bin/version.sh" 2>/dev/null | grep -i "server version"
# From a different host: is the port reachable from outside?
nmap -sV -p 8009 <tomcat-host>

If nmap reports the port open and identified as ajp13, the connector is reachable from that vantage point. Repeat the scan from an internet-facing perspective if the host has a public address.

# Check for the old attribute name (renamed in 9.0.31)
grep -i "requiredSecret" "$CATALINA_BASE/conf/server.xml"

requiredSecret was renamed to secret in 9.0.31, and secretRequired was added with a default of true. If you are on 9.0.31 or later and your config still uses requiredSecret, migrate it to secret to avoid ambiguity.

Interpreting the results

flowchart TD
    A["ss -tnl sport = :8009"] --> B{Port 8009 listening?}
    B -- No --> C["AJP disabled. Not exposed."]
    B -- Yes --> D{Bind address?}
    D -- "0.0.0.0 / * / public IP" --> E{secretRequired=true and secret set?}
    D -- "127.0.0.1 / ::1" --> F{Reachable from untrusted network?}
    E -- No --> G["Exposed: arbitrary file read, possible RCE"]
    E -- Yes --> H["Authenticated. Verify the secret is not default or empty."]
    F -- Yes, via SSRF or co-located process --> G
    F -- No --> I["Contained to the host."]

Three outcomes matter:

  1. Port not listening. AJP is disabled. Not exposed through this connector.
  2. Port listening on all interfaces without a secret. You are exposed. Treat the host as potentially compromised if it was reachable from an untrusted network. File read of WEB-INF/web.xml is trivial with public exploit tooling. Check whether anything in the webapp or a writable upload directory could have supplied a .jsp for inclusion.
  3. Port listening on loopback or with a secret. Exposure is contained. Confirm the secret is not empty, not a default value, and not guessable. If you depend on the secret alone because the bind is 0.0.0.0, treat any host that can route to port 8009 as fully trusted.

Securing the AJP connector

The right fix depends on whether you need AJP at all.

If you do not need AJP

Comment out or remove the AJP connector block in server.xml. If your fronting proxy speaks HTTP (nginx, HAProxy, httpd with mod_proxy_http), you do not need AJP.

<!-- Comment out the entire AJP Connector element -->
<!--
<Connector protocol="AJP/1.3"
           port="8009"
           address="127.0.0.1"
           secret="<long-random-string>"
           secretRequired="true"
           redirectPort="8443" />
-->

Restart Tomcat and confirm the port is gone with ss -tnl 'sport = :8009'.

If you need AJP on the same host

Keep the connector but bind it to loopback and require the secret. The secret must match on both sides: the secret attribute in Tomcat’s server.xml and the secret worker property in httpd’s workers.properties.

<Connector protocol="AJP/1.3"
           port="8009"
           address="127.0.0.1"
           secret="<long-random-string>"
           secretRequired="true"
           redirectPort="8443" />

Corresponding httpd worker:

worker.tomcat1.type=ajp13
worker.tomcat1.host=127.0.0.1
worker.tomcat1.port=8009
worker.tomcat1.secret=<long-random-string>

Never set secretRequired="false" on a connector bound to 0.0.0.0. That combination is the exact pre-fix condition.

If the AJP peer is on a different host

You cannot use loopback. Put the two hosts on a private network segment or an encrypted tunnel, bind AJP to the interface on that segment, and require the secret. Treat any host that can route to that port as fully trusted, because AJP has no per-request authentication beyond the shared secret.

Upgrading from a pre-9.0.31 config

After upgrading Tomcat to 9.0.31 or later, if you keep AJP, add the secret attribute before restarting. With secretRequired defaulting to true, the connector refuses to start without a non-empty secret. The symptom is a startup failure in catalina.out with the message: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.

If your reverse proxy sends custom AJP request attributes that Tomcat does not recognize, set allowedRequestAttributesPattern to a regex matching them. The default is null, which rejects any unrecognized attribute with a 403. This is correct for security but breaks proxies that inject custom attributes without an explicit allow pattern.

Also note CVE-2026-43514: the AJP secret was compared in non-constant time, allowing an attacker on the local network to mount a timing attack to recover the shared secret. Fixed in Tomcat 9.0.118, 10.1.55, and 11.0.22.

Verifying the fix

# Confirm the bind address changed
ss -tnl 'sport = :8009'

# Confirm the connector started without errors
grep -i "ajp\|secret\|protocol handler" "$CATALINA_BASE/logs/catalina.out" | tail -20

# From an external host, confirm the port is closed
nmap -p 8009 <tomcat-host>

If you kept AJP on loopback with a secret, exercise the full httpd-to-Tomcat path with a real request to confirm the shared secret matches on both sides. A mismatch produces 403s or connection failures in the httpd error log.

Signals to monitor

Ghostcat is a configuration drift problem, not a runtime metric. The signals that matter are posture checks, not time series.

SignalWhy it mattersWarning sign
AJP port 8009 listening stateDetects re-enablement after a config change or upgradePort appears on a host where it was previously disabled
AJP bind addressCatches a loopback bind widening to 0.0.0.0Bind address is not 127.0.0.1 or ::1
secretRequired valueCatches false set to work around a startup failureAttribute is absent or set to false
Access log entries for WEB-INF/ or META-INF/Indicates active exploitation or reconnaissanceAny 200 response to those paths
Tomcat version vs. fix line (9.0.31 / 8.5.51 / 7.0.100)Flags instances too old to have the hardened defaultsVersion is below the fix line and AJP is enabled

How Netdata helps

Netdata surfaces several of the posture-relevant signals above as part of normal per-second collection, shortening the window between a config change that re-exposes AJP and your awareness of it.

  • Port reachability from an external vantage point. A portcheck collector aimed at port 8009 from a separate host catches a bind that widened beyond loopback, even when the Tomcat process itself looks healthy.
  • Access log correlation. If you tail or ingest the Tomcat access log, any request for WEB-INF/ or META-INF/ paths stands out against baseline traffic. Correlating those entries against AJP connector activity distinguishes HTTP probing from AJP exploitation.
  • Process and connector state. Per-second JMX collection confirms whether connectors started after a restart, so a failed AJP connector (secret mismatch, bind failure) surfaces immediately rather than waiting for a user report.
  • Config and version inventory. Pairing per-host inventory (Tomcat version, server.xml presence of the AJP block) with the listening-state checks means an upgrade or config push that re-exposes AJP triggers an alert before an attacker finds it.

The key correlation is between network posture (is the port reachable?) and application posture (is the connector authenticated?). Either signal alone is insufficient: a loopback bind with no secret is still reachable from a co-located process or an SSRF vector, and an all-interfaces bind with a secret trusts every host that can route to it.