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 / network / network-route-origin-monitoring

Operations Guides

Monitoring route origin and AS-path changes for hijack detection

BGP route hijacks do not announce themselves. A prefix legitimately originated by AS2906 starts appearing in the global table with origin AS65001. Traffic that should reach your infrastructure follows a different path, gets blackholed, or lands on an interception point. The control-plane signals are there, but they are distributed across route collectors, RPKI validators, and per-prefix state that most monitoring stacks do not track at the granularity needed.

BGP has no built-in origin authentication. Any autonomous system can announce any prefix. Detection depends on comparing what you observe against what you expect: known-good origin ASes, baseline AS-path structures, and signed Route Origin Authorizations (ROAs). The gap between “BGP session is Established” and “the routes I am receiving are legitimate” is where hijacks live.

This article covers the security-lens signals that complement the broader route-leak and hijack detection in BGP route leak and hijack: the detection signals and alerts that matter. If you are investigating a suspected hijack or building proactive detection, the signals and commands below are the operational starting points.

What this means

Route origin and AS-path changes indicate one of three scenarios: a legitimate network change (planned renumbering, new peering, traffic engineering), a misconfiguration (fat-finger typo, stale IRR objects, wrong export filter), or a deliberate hijack. Distinguishing these requires layered evidence.

The primary detection signal is Multiple Origin AS (MOAS) conflict: a prefix appearing in the global routing table with more than one origin AS. MOAS is not inherently malicious. Anycast services, multi-homed networks with different ASNs at different sites, and reserved ASN usage in private networks all produce legitimate MOAS. But an unexpected MOAS on a prefix that has historically had a single origin AS is a candidate event requiring investigation.

The secondary signal is AS-path deviation: the sequence of ASNs between your network and the origin differs from the baseline structure. The useful signal is not “the path changed” but “the path changed in a way that introduces an AS that should not be there, or removes an AS that should be.”

The third layer is RPKI validation state. A Route Origin Authorization cryptographically binds a prefix to an origin AS. When a route’s origin AS does not match the ROA, the route is RPKI-invalid. Any RPKI-invalid route accepted in production is a security event.

flowchart TD
    A["Unexpected origin AS or AS-path change"] --> B{"RPKI state?"}
    B -->|Invalid| C["High-confidence hijack or misconfig"]
    B -->|Unknown, no ROA| D["Needs AS-path baseline comparison"]
    B -->|Valid| E["Possible route leak or legitimate change"]
    C --> F["Page security team, filter inbound"]
    D --> G["Check looking glass, BMP, peer prefix counts"]
    E --> H{"Matches change ticket?"}
    H -->|Yes| I["Monitor for convergence"]
    H -->|No| J["Investigate as route leak"]
    G --> K{"Matches known-good origin?"}
    K -->|No| F
    K -->|Yes| L["Update baseline"]

A critical limitation: SNMP-based BGP monitoring (BGP4-MIB) cannot detect most origin and AS-path changes in real time. The bgp4PathAttrTable is defined to include all received paths, but many vendor implementations only expose best-path data, and SNMP polling is too slow for real-time detection regardless. To detect origin changes, AS-path manipulation, and sub-prefix hijacks, you need BMP (RFC 7854), external route collectors (RouteViews, RIPE RIS), or a dedicated BGP monitoring platform.

Common causes

CauseWhat it looks likeFirst thing to check
Deliberate hijackPrefix originated by unexpected AS; RPKI-invalid or no ROA; traffic blackholed or redirectedPublic looking glass for the prefix; RPKI validation state
Route leak from upstreamPeer suddenly sends many more prefixes; some are more-specifics of routes you already holdPer-peer prefix count delta; show ip bgp summary
Misconfiguration (own or peer)Origin AS off by one digit; unexpected AS in path; RPKI-valid but unintended exportIRR/RPSL objects; recent config changes in syslog
Stale IRR objectsPrefix originated by an AS that was historically authorized but no longer should beIRR database for the prefix’s route object
Sub-prefix hijackA /32 or /48 appears from unexpected origin while the covering aggregate remains from the legitimate ASFull table for more-specifics of your prefixes

Quick checks

These are read-only and safe to run on any production router.

# Check BGP peer state and per-peer prefix counts
ssh <router> 'show ip bgp summary | begin Neighbor'

# List all BGP peers and their remote ASNs via SNMP
snmpwalk -v2c -c <community> <router> .1.3.6.1.2.1.15.3.1.1   # peer addresses
snmpwalk -v2c -c <community> <router> .1.3.6.1.2.1.15.3.1.9   # remote ASNs

# Check for RPKI-invalid routes accepted in the RIB
# Syntax varies by vendor and OS version; IOS-XR uses this form
ssh <router> 'show bgp ipv4 unicast rpki invalid'

# Check the AS-path for a specific prefix
ssh <router> 'show ip bgp <prefix>'

# Compare routes received vs advertised for a specific peer
# NOTE: received-routes requires soft-reconfiguration inbound on IOS/IOS-XE;
# without it, the router returns an error or shows only post-policy routes
ssh <router> 'show ip bgp neighbor <peer> received-routes | include Total'
ssh <router> 'show ip bgp neighbor <peer> advertised-routes | include Total'

# Check RIB/FIB size for sudden changes
ssh <router> 'show ip route summary'

# Cross-reference with a public route collector
# Query RouteViews, RIPE RIS, or a public looking glass to verify
# what the global table sees for your prefix

The show ip bgp <prefix> command is the single most useful check during an active investigation. It shows the AS-path, origin AS, and RPKI state for a specific prefix from the router’s perspective. If the origin AS does not match what you expect, you have a candidate event.

For prefixes you originate, cross-reference what the global table sees by querying a public route collector. If your prefix appears with a different origin AS from the global perspective but not from your router’s perspective, the hijack is propagating from a different part of the network.

How to diagnose it

  1. Identify the affected prefix and expected origin AS. Pull from your ROA records, IRR objects, or baseline AS-path data. If you have no recorded baseline, establish one now from a public route collector.

  2. Check RPKI validation state. Run show bgp ipv4 unicast rpki invalid on your edge routers. Any nonzero result is a security event. If RPKI shows “Unknown” (no ROA exists), you cannot rely on RPKI alone. Cross-reference with AS-path baseline data from your BMP station or external monitoring. “Unknown” is the most common RPKI state in production.

  3. Check per-peer prefix counts. A sudden increase from one peer suggests a route leak from that peer. Compare received-routes count against the peer’s expected prefix count. A drop in per-peer prefix count without a session state change may indicate a silent route withdrawal or a filtering change upstream.

  4. Examine the AS-path structure. For each candidate prefix, determine whether the AS-path contains ASNs that should not be there. If your BMP station or route collector has historical data, compare the current path against the baseline. A path that introduces a new AS-link pair (two ASNs adjacent that have never been adjacent before) is suspicious.

  5. Check for sub-prefix hijacks. A /32 or /48 injected from an unexpected origin can override a legitimate /24 or /48 aggregate due to longest-prefix-match routing. The covering aggregate may remain in the table from the legitimate origin, making the hijack invisible if you only monitor the aggregate. Query the full table for all more-specifics of your critical prefixes.

  6. Verify with external sources. Cross-reference against public route collectors (RouteViews, RIPE RIS) and RPKI validators (RIPEstat, Routinator). If your local cache is stale, RPKI state may be incorrect. Verify with at least one external validator before acting on an RPKI-invalid alert.

  7. Check for unauthorized BGP session establishment. A session from a peer IP or remote AS not in your expected peer list indicates misconfiguration or attack. Verify all peers against your configured peer list using show ip bgp summary. Review firewall and ACL logs for TCP port 179 connections from unexpected sources.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
RPKI validation state (Invalid count)RPKI-invalid routes are high-confidence hijack or misconfig signalsAny nonzero Invalid count in production
RPKI validation state (Unknown rate change)Sudden increase in Unknown routes may indicate validator cache stalenessRate change > 5% over baseline
Per-peer prefix countSudden increase indicates route leak; decrease indicates upstream issue> 20% change in 5 minutes
BGP RIB sizeRapid growth suggests route leak from upstream or new more-specifics> 20% change in 5 min on critical peer
BGP NOTIFICATION Cease/1 (Maximum Prefixes)Peer exceeded configured prefix limit; could be route leakAny Cease/1 from a critical peer
Unauthorized BGP session establishmentSession from unexpected IP or AS is a security eventAny session from IP or AS not in expected peer list
AS-path baseline deviationPath contains AS-links never observed before in baselineNew AS-link pair in path to your own prefix
Sub-prefix appearance without covering aggregateMore-specific appeared without the less-specific in the RIBAny new more-specific of a critical prefix from unexpected origin
BMP Adj-RIB-In prefix streamReal-time per-prefix announcement and withdrawal visibilityUnexpected origin AS or AS-path in a received UPDATE

Fixes

RPKI-invalid routes accepted

Enable strict RPKI Route Origin Validation (ROV) on import policy. This rejects routes whose origin AS does not match the ROA. The trade-off: if your RPKI validator cache is stale or misconfigured, legitimate routes may be rejected. Always verify cache health before enforcing strict ROV.

If a specific RPKI-invalid route is already in the RIB, filter it inbound from the offending peer and coordinate with the peer to investigate.

Route leak from upstream

Identify the source peer from per-peer prefix count growth. Filter the leaked prefixes inbound. Coordinate with the peer to stop the leak at the source. If you are the source, withdraw the leaked prefixes immediately and announce corrective action. Check your export filters and IRR/RPSL objects.

Sub-prefix hijack

Sub-prefix hijacks are harder to prevent because longest-prefix-match routing favors the more-specific. Detection requires monitoring for more-specifics of your critical prefixes from unexpected origins. Originating your own covering aggregate with a matching ROA provides cryptographic protection for prefixes you control. For prefixes you do not control, the only defense is detection and coordination with upstreams to filter the hijack.

AS-path poisoning

AS-path prepending attacks insert the victim’s AS into the attacker’s announcement, making the path look legitimate to origin-based checks. These are invisible to MOAS-only detection and to RPKI if the attacker uses the victim’s origin AS. Detection requires AS-path structural analysis: the path contains an AS-link pair that has never been observed in baseline data. BMP and external route collectors provide the historical data needed for this analysis.

Fat-finger origin AS typos

Single-digit ASN transcription errors (for example, AS29596 configured as AS2959) produce origin changes that look like hijacks but are configuration errors. If the edit distance between the expected and observed origin ASN is 1, treat as likely human error. Verify with the peer before escalating.

Prevention

Deploy BMP (RFC 7854). BMP provides Adj-RIB-In visibility (pre-policy and post-policy routes), per-prefix real-time streaming, and withdrawal tracking. Without BMP, you cannot detect AS-path changes, sub-prefix hijacks, or origin changes in real time via SNMP.

Create ROAs for all prefixes you originate. RPKI ROAs cryptographically bind your prefixes to your origin AS. Without a ROA, your prefix is RPKI “Unknown” and downstream networks cannot use RPKI to detect a hijack of your space.

Enforce strict RPKI ROV on import. Reject RPKI-invalid routes at your edge. This protects your network from accepting hijacked prefixes.

Maintain AS-path baselines. Record the expected AS-path structure for your critical prefixes and upstreams. Alert on new AS-link pairs (two ASNs adjacent that have never been observed before). This catches AS-path poisoning attacks that evade origin-based checks.

Monitor for sub-prefix hijacks. Alert when a more-specific of a critical prefix appears without the covering aggregate in the RIB, or when a more-specific appears from an origin AS that does not match the aggregate’s origin.

Filter private and reserved ASNs. Apply bogon filtering (RFC 1918, RFC 5735, RFC 6598 for CGNAT space) before scoring route changes. Private ASNs in AS-path are sometimes legitimate multi-homing artifacts but are also a source of false positives.

Track ASPA deployment. ASPA (Autonomous System Provider Authorization) verification extends RPKI beyond the origin AS to verify the entire AS_PATH against registered provider-customer relationships. It detects route leaks, improbable AS paths, and forged-origin hijacks that RPKI-ROV alone misses. ASPA is currently an IETF draft; track the active revision on the IETF SIDROPS working group page.

How Netdata helps

  • Correlate BGP state changes with traffic impact. When an origin AS change or RPKI-invalid route appears, Netdata correlates the timing with interface traffic, latency probes, and flow data to confirm whether the hijack is actually affecting user traffic.
  • Monitor per-peer prefix count trends. Netdata’s time-series storage of per-peer BGP prefix counts makes sudden increases (route leaks) and decreases (upstream issues) immediately visible without manual CLI queries.
  • Alert on RPKI state transitions. Track the count of RPKI-invalid routes over time and alert on any nonzero value in production, or on a sudden increase in the RPKI “Unknown” rate (which may indicate validator cache staleness).
  • Cross-reference with BGP NOTIFICATION events. A Cease/1 (Maximum Prefixes) from a peer often coincides with a route leak. Correlating Cease messages with per-peer prefix count changes narrows the investigation quickly. See BGP NOTIFICATION and Cease messages.
  • Detect stale sessions masking route loss. A session in Established state that stops receiving updates can mask a hijack’s impact if the stale routes are being overridden by the hijacked path elsewhere. See BGP session Established but stale.
  • Layer with RIB and FIB growth monitoring. Sudden RIB growth from a single peer is the leading indicator of a route leak. See BGP RIB and FIB growth.
The Netdata solution

Network monitoring with Netdata

Netdata monitors network infrastructure with per-second interface metrics, SNMP, NetFlow/sFlow/IPFIX, and ML anomaly detection. Correlate interface flapping, packet drops, routing changes, and traffic spikes with the systems that depend on them.