Skip to main content

Provides a live view of network data within Nautobot.

Project description

Nautobot App Livedata

Nautobot App Livedata logo

CI Status Docs Status PyPI Version PyPI Downloads

An App for Nautobot.

Overview

Lightweight Nautobot plugin that fetches and displays live device and interface command output (via Netmiko) in Nautobot UI detail views.

Compatibility: Nautobot 3.0+.

Primary features:

  • Live Data tabs on Device and Interface detail pages.
  • Configurable per-platform show commands (set at Platform objects).
  • Inline filtering of command output using !! filter syntax (EXACT/LAST/FIRST).
  • Background jobs included for scheduling and housekeeping:
    • LivedataQueryJob — run queries against devices.
    • LivedataCleanupJobResultsJob — remove stale collected results.
    • EnforceDefaultJobQueueJob — align Job queue assignments with a default worker queue.

Screenshots

  • Live Data Interface Output for interfaces

    Livedata output screenshot

  • Live Data Device Output for devices

    Livedata output screenshot

  • Configure the show commands to be executed on Platform level:

    Platform Screenshot

  • Job to clean up old data:

    Cleanup Job Results Screenshot

  • Job to align Nautobot job queues with the default worker so every Job executes on the shared Celery queue.

More screenshots can be found in the Using the App page in the documentation. Here's a quick overview of some of the app's added functionality:

Documentation

Full documentation for this App can be found over on the Nautobot-App-Livedtata Docs website:

Contributing to the Documentation

You can find all the Markdown source for the App documentation under the docs folder in this repository. For simple edits, a Markdown capable editor is sufficient: clone the repository and edit away.

If you need to view the fully-generated documentation site, you can build it with MkDocs. A container hosting the documentation can be started using the invoke commands (details in the Development Environment Guide) on http://localhost:8001. Using this container, as your changes to the documentation are saved, they will be automatically rebuilt and any pages currently being viewed will be reloaded in your browser.

Any PRs with fixes or improvements are very welcome!

Questions

For any questions or comments, please check the FAQ first. Feel free to also swing by the Network to Code Slack (channel #nautobot), sign up here if you don't have an account.

Support for Filter Commands in Live Device Output Using !! Syntax

Filter Syntax

You can now append a filter command to the end of a device command using the !! delimiter. The string following !! specifies the filter operation to be applied to the command output.

Examples

  • show logging | i {{intf_number}} !!EXACT:{{intf_number}}!! — Filters the output to contain only lines that contain the interface number as a whole word (for example, matches Gi1/0/1, 1/0/1 with trailing whitespace, ^1/0/1, or 1/0/1$ but not 11/0/1, 1/0/11, or foo1/0/1bar).
  • show logging !!LAST:100!! — Returns only the last 100 lines of the output.
  • show logging !!FIRST:10!! — Returns only the first 10 lines of the output.
  • show logging !!EXACT:{{intf_number}}!!FIRST:5!! — Filters for lines containing the interface number, then returns only the first 5 matching lines.

Supported Filters

  • !!EXACT:<pattern>!! — Only lines that contain <pattern> as a whole word (ignoring leading/trailing whitespace, not matching substrings within other numbers or words)
  • !!LAST:<N>!! — Only the last N lines
  • !!FIRST:<N>!! — Only the first N lines

Additional filters may be added in the future.

This feature provides a consistent filtering mechanism across all supported platforms, reducing the need for custom scripts or manual output parsing.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nautobot_app_livedata-3.0.1.tar.gz (46.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nautobot_app_livedata-3.0.1-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

Details for the file nautobot_app_livedata-3.0.1.tar.gz.

File metadata

  • Download URL: nautobot_app_livedata-3.0.1.tar.gz
  • Upload date:
  • Size: 46.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nautobot_app_livedata-3.0.1.tar.gz
Algorithm Hash digest
SHA256 57c81fd1553933ef2e29d0800195fb7ee4295a20c9fc6fd8ef6af0930b746371
MD5 700d3fecd55622c056321f798fbd5490
BLAKE2b-256 23e93f0fffcbd8ab48e89e0dad2b4cfaf71c9f7ff82c4fade83ee1046f74f66d

See more details on using hashes here.

File details

Details for the file nautobot_app_livedata-3.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nautobot_app_livedata-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3028e0557a79ee830ec6c2708819ba6046543c1cd4c14c715a247a6f4968394
MD5 d13390d4c62e22e0d0dafaf95276e415
BLAKE2b-256 50724dff59f47d2a20a67e23978fe849e676535a71848f6a0db74a1ad2454443

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page