# Send LibreNMS to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/librenms",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=librenms",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.example.json",
      "scripts/librenms.sh",
      "skill.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "librenms",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T23:26:01.782Z",
      "expiresAt": "2026-05-11T23:26:01.782Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=librenms",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=librenms",
        "contentDisposition": "attachment; filename=\"librenms-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "librenms"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### LibreNMS Skill

Monitor network infrastructure via LibreNMS REST API. Read-only monitoring skill for device status, health sensors, port statistics, and alerts.

### Configuration

Create ~/.openclaw/credentials/librenms/config.json:

{
  "url": "https://librenms.example.com",
  "api_token": "your-api-token-here"
}

Or set environment variables:

LIBRENMS_URL — Base URL of your LibreNMS instance
LIBRENMS_TOKEN — API authentication token

### Quick Overview

librenms summary

Dashboard view showing total devices, how many are up/down, and active alert count. Use this first to get a quick status overview.

### Device Management

librenms devices           # List all devices with status, IP, OS, uptime
librenms down             # Show ONLY devices that are down (critical for alerting)
librenms device <hostname> # Detailed info: hardware, serial, location, OS version

### Health Monitoring

librenms health <hostname> # Temperature, CPU, memory, disk usage sensors
librenms ports <hostname>  # Network interfaces with traffic stats

### Alerts

librenms alerts           # Show active/unresolved alerts with severity and timestamps

### Usage Patterns

Daily health check:

librenms summary && librenms down && librenms alerts

Investigate specific device:

librenms device switch-core-01
librenms health switch-core-01
librenms ports switch-core-01

Quick down-device triage:

librenms down | grep -v "UP"

### Important Notes

All operations are read-only — no device modifications possible
The script accepts self-signed certificates (-sk flag for curl)
Status indicators: ● green = up, ● red = down
Uptime is formatted as human-readable (days/hours instead of seconds)
Traffic stats are formatted as KB/MB/GB per second

### Heartbeat Integration

Check infrastructure health periodically:

# In heartbeat script
if librenms down | grep -q "Devices Down"; then
    # Alert on down devices
    librenms down
fi

# Check for active alerts
if librenms alerts | grep -q "Active Alerts"; then
    librenms alerts
fi

### Dependencies

curl — API calls
jq — JSON parsing
bc — Numeric formatting (optional, for bytes conversion)

### API Coverage

Wrapped endpoints:

/api/v0/devices — All devices
/api/v0/devices/{hostname} — Single device details
/api/v0/devices/{hostname}/health — Health sensors
/api/v0/devices/{hostname}/ports — Network ports
/api/v0/alerts?state=1 — Unresolved alerts

Full API docs: https://docs.librenms.org/API/

### Troubleshooting

"Config file not found"
Create ~/.openclaw/credentials/librenms/config.json or set env vars.

"API returned HTTP 401"
Check your API token. Generate a new one in LibreNMS under Settings → API.

"Failed to connect"
Verify the URL is correct and the LibreNMS instance is reachable. Check firewall rules.

Self-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
- Source: tencent
- Verification: Indexed source record
- Publisher: florianbeer
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T23:26:01.782Z
- Expires at: 2026-05-11T23:26:01.782Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/librenms)
- [Send to Agent page](https://openagent3.xyz/skills/librenms/agent)
- [JSON manifest](https://openagent3.xyz/skills/librenms/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/librenms/agent.md)
- [Download page](https://openagent3.xyz/downloads/librenms)