{
  "schemaVersion": "1.0",
  "item": {
    "slug": "librenms",
    "name": "LibreNMS",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/florianbeer/librenms",
    "canonicalUrl": "https://clawhub.ai/florianbeer/librenms",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/librenms",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=librenms",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.example.json",
      "scripts/librenms.sh",
      "skill.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/librenms"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/librenms",
    "agentPageUrl": "https://openagent3.xyz/skills/librenms/agent",
    "manifestUrl": "https://openagent3.xyz/skills/librenms/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/librenms/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "LibreNMS Skill",
        "body": "Monitor network infrastructure via LibreNMS REST API. Read-only monitoring skill for device status, health sensors, port statistics, and alerts."
      },
      {
        "title": "Configuration",
        "body": "Create ~/.openclaw/credentials/librenms/config.json:\n\n{\n  \"url\": \"https://librenms.example.com\",\n  \"api_token\": \"your-api-token-here\"\n}\n\nOr set environment variables:\n\nLIBRENMS_URL — Base URL of your LibreNMS instance\nLIBRENMS_TOKEN — API authentication token"
      },
      {
        "title": "Quick Overview",
        "body": "librenms summary\n\nDashboard view showing total devices, how many are up/down, and active alert count. Use this first to get a quick status overview."
      },
      {
        "title": "Device Management",
        "body": "librenms devices           # List all devices with status, IP, OS, uptime\nlibrenms down             # Show ONLY devices that are down (critical for alerting)\nlibrenms device <hostname> # Detailed info: hardware, serial, location, OS version"
      },
      {
        "title": "Health Monitoring",
        "body": "librenms health <hostname> # Temperature, CPU, memory, disk usage sensors\nlibrenms ports <hostname>  # Network interfaces with traffic stats"
      },
      {
        "title": "Alerts",
        "body": "librenms alerts           # Show active/unresolved alerts with severity and timestamps"
      },
      {
        "title": "Usage Patterns",
        "body": "Daily health check:\n\nlibrenms summary && librenms down && librenms alerts\n\nInvestigate specific device:\n\nlibrenms device switch-core-01\nlibrenms health switch-core-01\nlibrenms ports switch-core-01\n\nQuick down-device triage:\n\nlibrenms down | grep -v \"UP\""
      },
      {
        "title": "Important Notes",
        "body": "All operations are read-only — no device modifications possible\nThe script accepts self-signed certificates (-sk flag for curl)\nStatus indicators: ● green = up, ● red = down\nUptime is formatted as human-readable (days/hours instead of seconds)\nTraffic stats are formatted as KB/MB/GB per second"
      },
      {
        "title": "Heartbeat Integration",
        "body": "Check infrastructure health periodically:\n\n# In heartbeat script\nif librenms down | grep -q \"Devices Down\"; then\n    # Alert on down devices\n    librenms down\nfi\n\n# Check for active alerts\nif librenms alerts | grep -q \"Active Alerts\"; then\n    librenms alerts\nfi"
      },
      {
        "title": "Dependencies",
        "body": "curl — API calls\njq — JSON parsing\nbc — Numeric formatting (optional, for bytes conversion)"
      },
      {
        "title": "API Coverage",
        "body": "Wrapped endpoints:\n\n/api/v0/devices — All devices\n/api/v0/devices/{hostname} — Single device details\n/api/v0/devices/{hostname}/health — Health sensors\n/api/v0/devices/{hostname}/ports — Network ports\n/api/v0/alerts?state=1 — Unresolved alerts\n\nFull API docs: https://docs.librenms.org/API/"
      },
      {
        "title": "Troubleshooting",
        "body": "\"Config file not found\"\nCreate ~/.openclaw/credentials/librenms/config.json or set env vars.\n\n\"API returned HTTP 401\"\nCheck your API token. Generate a new one in LibreNMS under Settings → API.\n\n\"Failed to connect\"\nVerify the URL is correct and the LibreNMS instance is reachable. Check firewall rules.\n\nSelf-signed cert warnings\nThe script uses -sk to ignore cert validation (common in LibreNMS setups). If you need strict validation, edit the script and remove the -k flag."
      }
    ],
    "body": "LibreNMS Skill\n\nMonitor network infrastructure via LibreNMS REST API. Read-only monitoring skill for device status, health sensors, port statistics, and alerts.\n\nConfiguration\n\nCreate ~/.openclaw/credentials/librenms/config.json:\n\n{\n  \"url\": \"https://librenms.example.com\",\n  \"api_token\": \"your-api-token-here\"\n}\n\n\nOr set environment variables:\n\nLIBRENMS_URL — Base URL of your LibreNMS instance\nLIBRENMS_TOKEN — API authentication token\nCommands\nQuick Overview\nlibrenms summary\n\n\nDashboard view showing total devices, how many are up/down, and active alert count. Use this first to get a quick status overview.\n\nDevice Management\nlibrenms devices           # List all devices with status, IP, OS, uptime\nlibrenms down             # Show ONLY devices that are down (critical for alerting)\nlibrenms device <hostname> # Detailed info: hardware, serial, location, OS version\n\nHealth Monitoring\nlibrenms health <hostname> # Temperature, CPU, memory, disk usage sensors\nlibrenms ports <hostname>  # Network interfaces with traffic stats\n\nAlerts\nlibrenms alerts           # Show active/unresolved alerts with severity and timestamps\n\nUsage Patterns\n\nDaily health check:\n\nlibrenms summary && librenms down && librenms alerts\n\n\nInvestigate specific device:\n\nlibrenms device switch-core-01\nlibrenms health switch-core-01\nlibrenms ports switch-core-01\n\n\nQuick down-device triage:\n\nlibrenms down | grep -v \"UP\"\n\nImportant Notes\nAll operations are read-only — no device modifications possible\nThe script accepts self-signed certificates (-sk flag for curl)\nStatus indicators: ● green = up, ● red = down\nUptime is formatted as human-readable (days/hours instead of seconds)\nTraffic stats are formatted as KB/MB/GB per second\nHeartbeat Integration\n\nCheck infrastructure health periodically:\n\n# In heartbeat script\nif librenms down | grep -q \"Devices Down\"; then\n    # Alert on down devices\n    librenms down\nfi\n\n# Check for active alerts\nif librenms alerts | grep -q \"Active Alerts\"; then\n    librenms alerts\nfi\n\nDependencies\ncurl — API calls\njq — JSON parsing\nbc — Numeric formatting (optional, for bytes conversion)\nAPI Coverage\n\nWrapped endpoints:\n\n/api/v0/devices — All devices\n/api/v0/devices/{hostname} — Single device details\n/api/v0/devices/{hostname}/health — Health sensors\n/api/v0/devices/{hostname}/ports — Network ports\n/api/v0/alerts?state=1 — Unresolved alerts\n\nFull API docs: https://docs.librenms.org/API/\n\nTroubleshooting\n\n\"Config file not found\" Create ~/.openclaw/credentials/librenms/config.json or set env vars.\n\n\"API returned HTTP 401\" Check your API token. Generate a new one in LibreNMS under Settings → API.\n\n\"Failed to connect\" Verify the URL is correct and the LibreNMS instance is reachable. Check firewall rules.\n\nSelf-signed cert warnings The script uses -sk to ignore cert validation (common in LibreNMS setups). If you need strict validation, edit the script and remove the -k flag."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/florianbeer/librenms",
    "publisherUrl": "https://clawhub.ai/florianbeer/librenms",
    "owner": "florianbeer",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/librenms",
    "downloadUrl": "https://openagent3.xyz/downloads/librenms",
    "agentUrl": "https://openagent3.xyz/skills/librenms/agent",
    "manifestUrl": "https://openagent3.xyz/skills/librenms/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/librenms/agent.md"
  }
}