Logo Netbox Assurance

Netbox Assurance

Tổ chức
netboxlabs
netbox-assurance

NetBox Assurance drift detection and deviation management. Use when working with network state comparison, deviation review/remediation, data source configuration, or understanding how intended vs actual network state is reconciled in NetBox Cloud and Enterprise.

Tổng quan

Nhà phát hànhnetboxlabs
Kho mãskills
Tên kỹ năngnetbox-assurance
Sao
21
Bản fork
4
Tệp đi kèm
3
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được netboxlabs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Netbox Assurance trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/netboxlabs/skills/tree/main/skills/netbox-assurance
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/netboxlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/netbox-assurance .claude/skills/netbox-assurance
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Netbox Assurance trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Netbox Assurance ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Netbox Assurance với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

NetBox Assurance

Your knowledge of NetBox Assurance may be outdated. Deviation types, data source configuration, and API behavior evolve between releases. Prefer retrieval over pre-trained knowledge.

Retrieval Sources

SourceURL / MethodUse for
Assurance docshttps://netboxlabs.com/docs/assurance/Overview, getting started, UI workflows
NetBox Platform MCPIf configured — query deviations, data sourcesLive drift status

NetBox Assurance detects drift between your intended network state (what NetBox says should exist) and the actual network state (what's really out there). It surfaces differences as deviations that you review and resolve through the NetBox UI.

When to Use This Skill

  • Configuring or troubleshooting Assurance deviation workflows
  • Understanding drift types and how to resolve them
  • Setting up data sources that feed actual network state
  • Integrating Assurance with Discovery and Diode
  • Building operational workflows around deviation triage

Quick Reference

Deviation States

StateMeaning
QueuedIngested data awaiting analysis
OpenDrift detected, ready for review
AppliedChange accepted and pushed to NetBox
IgnoredDismissed by operator
FailedApply attempted but errored
No ChangesAnalysis found no differences
ErroredProcessing error during analysis

Actions

ActionWhat It DoesAvailable From
ApplyAccept deviation, update NetBox to match actual stateOpen, Failed
IgnoreDismiss deviation permanentlyOpen
RediffRe-analyze against current NetBox stateOpen, Applied, Failed
ReopenBring back an ignored deviationIgnored

All actions support bulk operations on multiple deviations.

Drift Types

TypeDescriptionExample
Attribute driftObject exists in both places but properties differDevice serial number changed
Inventory drift (additive)Object discovered on network but missing from NetBoxNew interface found on device
Inventory drift (stale)Object in NetBox but not recently observed on networkDecommissioned device still in NetBox

Topology drift (relationship mismatches like device→wrong site) and configuration drift (running config vs intended) are future capabilities.

Architecture

Assurance follows a three-stage pipeline:

1. INGESTION          2. ANALYSIS              3. RESOLUTION
   ─────────            ────────                 ──────────
   Actual state    →    Compare actual     →     Review deviations
   collected from       vs intended              and take action
   network              (NetBox) state           (apply/ignore)

Data sources feed actual network state into the system:

  • Discovery agents — automated SNMP/API-based network scanning
  • Controller integrations — VMware vCenter, Cisco Catalyst Center, HPE Mist, etc.
  • Diode SDK — custom Python/Go integrations for any data source

The analysis engine compares ingested data against NetBox and produces deviations with field-level change details (before/after values for each differing attribute).

Data Sources

Assurance requires at least one data source providing actual network state. See references/data-sources.md for detailed setup.

Discovery Agents (Recommended Starting Point)

The Orb Agent from NetBox Discovery actively scans your network and feeds results directly into Assurance. This is the most common path for getting started.

See the netbox-discovery skill for agent configuration.

Controller Integrations

Pre-built integrations with infrastructure controllers (VMware vCenter, Cisco Catalyst Center, HPE Mist, etc.) pull state from management platforms.

Diode SDK (Custom Integrations)

For data sources without built-in support, use the Diode SDK (Python or Go) to push entity data programmatically.

See the netbox-diode skill for SDK usage patterns.

Deviation Lifecycle

See references/deviation-lifecycle.md for the complete state machine.

Typical Workflow

  1. Data ingested — network data arrives from a data source → deviation enters Queued
  2. Analysis runs — system compares against NetBox → deviation moves to Open (or No Changes)
  3. Operator reviews — examines field-level changes in the UI
  4. Action taken:
    • Apply → NetBox updated, deviation marked Applied
    • Ignore → deviation dismissed, marked Ignored
    • Rediff → re-analyzed against current NetBox state (useful after manual NetBox edits)

Resolution Patterns

ScenarioRecommended Action
Legitimate change detected (e.g., new interface added)Apply — update NetBox
Known discrepancy you don't want to trackIgnore — dismiss it
You manually updated NetBox alreadyRediff — re-analyze to confirm
Previously ignored but situation changedReopen → then Apply or Rediff
Apply failed due to transient errorFix the issue, then Rediff or retry Apply

UI Workflow

Navigation

Assurance adds an Assurance section to the NetBox navigation with these views:

ViewPurpose
Deviation TypesBrowse deviation categories with counts
Active DeviationsUnresolved deviations needing attention
All DeviationsComplete list including resolved
Archived DeviationsHistorical resolved deviations

Reviewing a Deviation

  1. Navigate to Assurance → Active Deviations
  2. Click a deviation to open the detail view
  3. Overview tab — source, object type, state, timestamps
  4. Changes tab — field-level before/after comparison
  5. Take action: Apply, Ignore, or Rediff

Bulk Operations

Select multiple deviations from any list view to perform bulk actions:

  • Bulk Rediff — re-analyze all selected against current NetBox state
  • Bulk Ignore — dismiss all selected
  • Bulk Apply — accept all selected changes into NetBox

Filtering

Deviation lists support filtering by:

  • State — Open, Applied, Failed, Ignored, etc.
  • Object type — e.g., devices, interfaces, IP addresses
  • Deviation type — classification of the drift
  • Data source — which integration produced it
  • Time range — when the data was ingested

Deviation Types

Deviations are classified by type, combining the action needed with the object type:

  • Create types — object needs to be added to NetBox (inventory drift)
  • Update types — object exists but attributes differ (attribute drift)

Each deviation type aggregates a count of matching deviations, making the Deviation Types view useful for understanding drift patterns at a glance.

What Gets Compared

Any entity type flowing through the ingestion pipeline can be compared. Common types:

  • Devices (dcim.device)
  • Interfaces (dcim.interface)
  • Sites (dcim.site)
  • Device types (dcim.devicetype)
  • IP addresses (ipam.ipaddress)
  • Prefixes (ipam.prefix)

The system is extensible — it compares whatever entity types the data sources provide.

Integration Patterns

See references/integration-patterns.md for detailed integration guidance.

With NetBox Discovery

Discovery agents provide the "actual state" side of the comparison:

Network Devices → Orb Agent (Discovery) → Assurance → Deviations → NetBox

Discovery and Assurance are tightly coupled — Discovery collects, Assurance compares and remediates.

With Diode SDK

The Diode SDK is the programmatic ingestion path for custom integrations:

Custom Script → Diode SDK (Python/Go) → Assurance → Deviations → NetBox

With NetBox Branching

Deviations can be scoped to NetBox branches, allowing you to:

  • Review drift against a specific branch's state
  • Apply changes to a branch rather than the main database
  • Use branches as a staging area for deviation resolution

Day 1 / Day 1.5 / Day 2 Patterns

PatternUse Case
Day 1 — Initial populationRun Discovery against a new network, bulk-apply deviations to populate NetBox
Day 1.5 — ReconciliationCompare existing NetBox data against actual network, fix discrepancies
Day 2 — Ongoing assuranceContinuous monitoring for drift, triage deviations as they appear

Permissions

Assurance defines two permission levels:

PermissionGrants
View AssuranceRead-only access to deviation views
Add AssuranceAbility to perform actions (apply, ignore, rediff, reopen)

Assign these through NetBox's standard user/group permission system.

Prerequisites

  • NetBox Cloud or NetBox Enterprise with Assurance enabled. The docs state the requirement as NetBox Enterprise 1.10+ with an Assurance entitlement (the license file determines whether Assurance services are installed) or a NetBox Cloud add-on to a Starter, Professional or Premium plan. The Assurance plugin line is v1.6.x (v1.6.0, 2026-09-03), which declares NetBox 4.4.10–4.7.x; the NetBox version you get is the one bundled with your Cloud/Enterprise platform release.
  • At least one configured data source
  • Network connectivity between data sources and the Assurance service

Assurance is an optional, licensed add-on for NetBox Cloud and NetBox Enterprise — it is not part of open-source NetBox Community.

Troubleshooting

No Deviations Appearing

  1. Verify data sources are active and sending data
  2. Check that Discovery agents are running and collecting (see netbox-discovery)
  3. Confirm ingestion is working (data should flow through to analysis)
  4. Allow time — analysis is asynchronous and may take minutes

Too Many False Positives

  • Review which object types and fields are generating noise
  • Use Ignore for known acceptable discrepancies
  • Consider whether data source configuration needs tuning (e.g., SNMP community strings, API credentials)

Failed Deviations

  • Check the error details in the deviation detail view
  • Common causes: permission issues writing to NetBox, validation errors, dependency ordering
  • After fixing the root cause, use Rediff to re-analyze

Performance with Large Networks

  • Use filtering to narrow deviation views (by state, object type, time range)
  • Address deviations incrementally — start with one object type or site
  • Bulk operations help process large batches efficiently

Anti-Patterns and Limitations

  1. Assurance compares what data sources provide — if a data source doesn't collect a field, Assurance can't detect drift on it
  2. Ordering matters for applies — some deviations depend on others (e.g., you must create a site before assigning a device to it). The system handles dependency ordering, but complex chains may need manual intervention
  3. Stale inventory detection is limited — detecting objects that should be removed from NetBox (because they no longer exist on the network) depends on observation timestamps and is an evolving capability
  4. Not a real-time system — there is inherent latency between network changes, discovery, analysis, and deviation availability
  5. Branch scoping — when using branches, ensure you're reviewing deviations against the correct branch context

Version Notes

NetBox 4.7 (2026-09-02)

  • Data sources built on diode-sdk-python 1.14.x / diode-sdk-go 1.12.0 can emit the 4.7 models (cooling, ModuleBayType) and fields (Interface.channels/channel_id, Service.port_mappings, DeviceType.end_of_life, cooling_method), so those become comparable once your platform release bundles NetBox 4.7 (plugin v1.6.0 declares 4.7.x support) — see references/data-sources.md.
  • REST responses you read while triaging (selection custom fields as {"value", "label"} objects, port_mappings on services, per-object bulk errors) changed shape — see references/deviation-lifecycle.md.

NetBox 4.6

  • Diode SDKs (python 1.12.0 / go 1.9.0) added CableBundle, RackGroup, VirtualMachineType; switch-stack discovery emits VirtualChassis + member devices.

References

DocumentWhen to Read
references/deviation-lifecycle.mdUnderstanding state transitions, resolution patterns
references/data-sources.mdSetting up what gets compared
references/integration-patterns.mdConnecting Assurance with Discovery, Diode, and the NetBox Labs stack

Related Skills

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Netbox Assurance làm được gì?

NetBox Assurance drift detection and deviation management. Use when working with network state comparison, deviation review/remediation, data source configuration, or understanding how intended vs actual network state is reconciled in NetBox Cloud and Enterprise.

Vì sao nên dùng Netbox Assurance trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Netbox Assurance là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Netbox Assurance trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/netboxlabs/skills/tree/main/skills/netbox-assurance. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Netbox Assurance?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Netbox Assurance với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Netbox Assurance với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Netbox Assurance có miễn phí không?

Có. Kỹ năng này được netboxlabs phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇