跳到正文
TakoAPI
返回技能列表

ntopng-admin

由 transcendenceia 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Professional network monitoring and device identification using ntopng Redis data.

描述

该技能的功能

Queries ntopng network monitoring data from Redis via a secure SSH tunnel to provide device identification, traffic analysis, and connection auditing. Targets lab, test, and controlled audit environments where elevated access to network gateway data is authorized.

Reads live ntopng data directly from Redis over SSH without requiring an active web UI session, making queries scriptable and fully auditable.

何时使用

  • Identify unknown devices on a local network by MAC and IP
  • Audit external domains contacted by a specific device
  • Flag devices with abnormal upload-to-download traffic ratios
  • Verify ntopng service health and global device counts
  • Investigate suspicious MAC addresses for spoofing indicators

示例工作流

输入

User asks: List all devices on the network with their traffic volumes

智能体
  1. 1

    Establishes SSH tunnel to the configured OPNSENSE_HOST

  2. 2

    Runs ntopng-helper.sh list against the remote Redis instance

  3. 3

    Parses output with jq to extract MAC, IP, traffic, and last-seen fields

  4. 4

    Returns a formatted device inventory table

输出

A list of network devices showing MAC address, IP, total traffic volume, and last-seen timestamp for each

前置要求

  • OPNSENSE_HOST environment variable (target gateway IP or hostname)
  • OPNSENSE_SSH_PORT environment variable (SSH port on target)
  • NTOP_INSECURE environment variable (set to true for self-signed certificates)
  • SSH public key authentication configured to the OPNsense/ntopng host
  • ntopng running with Redis persistence enabled on the target host

安装

clawhub install transcendenceia/ntopng-admin

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接