Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Query Netdata Agents

Skill Verifiziert Aktiv

Query Netdata Agents (parents and children) directly via their HTTP API on port 19999. Includes a bearer-token helper that mints, caches, and transparently refreshes a per-agent bearer from a long-lived Netdata Cloud token, and auto-detects bearer-protected agents. Use when the user asks how to call an agent's REST API or Function directly, query an agent's logs/metrics/alerts directly, mint a bearer token from a cloud token, or work around bearer protection.

Zweck

To enable users to directly query Netdata Agents via their HTTP API, including managing authentication for bearer-protected agents, for detailed troubleshooting and data retrieval.

Funktionen

  • Directly query Netdata Agent HTTP APIs
  • Mint, cache, refresh, and use per-agent bearer tokens
  • Auto-detect bearer-protected agents
  • Query agent logs, metrics, and configuration
  • Provide token-safe wrappers for secure credential handling

Anwendungsfälle

  • When needing to call an agent's REST API or Function directly
  • When querying an agent's logs/metrics/alerts directly
  • When minting a bearer token from a cloud token
  • When working around bearer protection issues on an agent

Nicht-Ziele

  • Querying Netdata Cloud for aggregated fleet-wide data (use sibling skill)
  • Replacing the need for Netdata Agent installation
  • Providing a full Netdata Cloud UI replacement

Workflow

  1. Load environment variables from .env file
  2. Resolve agent claim ID (if needed)
  3. Resolve per-agent bearer token (minting/caching/refreshing via Cloud if necessary)
  4. Construct and execute direct agent API call using wrapped curl
  5. Mask sensitive credentials in stderr logs
  6. Return API response body to stdout

Praktiken

  • API Interaction
  • Authentication Management
  • Data Querying
  • Security Best Practices

Voraussetzungen

  • Netdata Cloud REST token
  • Netdata Cloud hostname
  • Agent node ID, machine GUID, and claim ID (for bearer minting)
  • Network access to the agent on port 19999

Installation

npx skills add netdata/netdata

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
99 /100
Analysiert about 21 hours ago

Vertrauenssignale

Letzter Commitabout 22 hours ago
Sterne78.8k
LizenzGPL-3.0-or-later
Status
Quellcode ansehen

Ähnliche Erweiterungen

Query Netdata Cloud

100

Query Netdata Cloud via its REST API -- metrics, logs (systemd-journal / windows-events / otel-logs), topology graphs (topology:snmp), network flows (flows:netflow), alerts, dynamic configuration (DynCfg), and generic Functions on a node. Use when the user asks about querying Netdata Cloud, fetching metrics from the cloud, querying logs / topology / netflow / sflow / ipfix through Cloud, listing or modifying configurations via DynCfg, calling agent Functions through Cloud, listing spaces/rooms/nodes, or building a curl command against `app.netdata.cloud`. Pairs with the `query-netdata-agents` skill when direct-agent access is needed.

Skill
netdata

Azure Monitor Query Py

100

Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".

Skill
microsoft

Query Agent Events

99

Bug-investigation tool for the Netdata agent-events ingestion namespace -- triage crashes, panics, fatals across the fleet by downloading events of interest and clustering locally. Covers the three transports (Cloud API and direct agent API are primary; ssh is operator-only), the verified AE_* field map and enum meanings, the dedup model (23h client-side per agent and event signature), the after-the-fact event timing (POST only on agent restart), and the Netdata systemd-journal plugin multi-value filter syntax (FIELD in A, B, C) AND ... Use when investigating crashes / panics / fatals; when grepping for events touching a specific function or file or version; when looking for regressions across versions; when an agent is reported crashing in a way you want to triage. Ships scripts get-events.sh and analyze-events.sh that fetch events with index-friendly filters and compute group-by stats. Defaults to last 24 hours and to the latest stable plus latest 2-3 nightlies.

Skill
netdata

Observability Gap Hunt

98

Inspects services, jobs, and code paths for missing or weak logs, metrics, traces, alerts, dashboards, or deployment-linked telemetry, then returns a tightly scoped backlog of observability gaps. Use when a user says `find observability gaps`, `audit telemetry coverage`, `what logs or metrics are missing`, `check alerting coverage`, or asks for a recurring telemetry review. Do NOT use for live incident response, root-cause analysis, generic performance tuning, or a broad code review.

Skill
ckorhonen

X Twitter Scraper

100

Verwenden Sie dies, wenn der Benutzer X (Twitter)-Daten oder durch Bestätigung gesicherte X-Aktionen über Xquik benötigt: Tweet-Suche, Benutzer-Lookup, Follower-Extraktion, Mediendownload, Überwachung, Webhooks, MCP, SDKs, Posting, Likes, DMs und Profilaktualisierungen. Erfordert einen Xquik API-Schlüssel. Fordern Sie niemals X-Login-Materialien an.

Skill
Xquik-dev

Slack

100

Use the Slack tool to react, pin/unpin, send, edit, delete messages, or fetch Slack member info.

Skill
steipete