Monitoring aiops
Governed SolarWinds Orion + PRTG ops: canned SWQL, alert rollup, 31 MCP tools (preview)
npx -y skills add AIops-tools/Monitoring-AIops --skill monitoring-aiopsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill whenever the user needs to operate a network / infrastructure monitoring NOC on SolarWinds Orion (SWIS REST + SWQL), Paessler PRTG (web API), or Zabbix 6.x/7.x (JSON-RPC) — a one-shot NOC overview, canned SWQL answers (nodes down, flapping interfaces, muted, high-CPU nodes, full volumes, unmanaged/scheduled), a validated read-only SWQL passthrough, deduped/rolled-up active alerts, SolarWinds node/interface/volume/application health and top-N, PRTG sensors/devices/groups/history/alarms, Zabbix problems/hosts/host-groups/triggers/events/item-history/maintenances, and guarded writes (acknowledge, mute/unmute, schedule maintenance, unmanage/remanage, remove node, pause/resume sensor, create/delete Zabbix maintenance window). Always use this skill for "SolarWinds", "Orion", "SWQL", "THWACK question", "PRTG", "Paessler", "Zabbix", "Zabbix problem", "Zabbix trigger", "Zabbix maintenance", "NOC overview", "which nodes are down", "flapping interfaces", "interface flap storm", "alert storm", "acknowledge this alert", "worst CPU nodes", "top-N by latency/packet loss", "which volumes are full", "muted alerts report", "unmanaged nodes", "schedule a maintenance window", "unmanage / remanage a node", "pause a PRTG sensor" when the context is monitoring. Do NOT use when the target is something other than a SolarWinds/PRTG/Zabbix monitoring platform (a hypervisor, storage appliance, backup product, Kubernetes cluster, network device config, or OT/industrial equipment) — route those to the appropriate other AIops-tools skill. Governed monitoring operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers). PRTG's free Freeware edition and an open-source Zabbix appliance are the easiest live checks; SolarWinds is trial-only past 30 days.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
16.4 KB, ~2.9k tokens by cl100k_base, as published. Nobody here has run it
Monitoring AIops
Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by SolarWinds, Paessler, Zabbix, or any monitoring vendor. SolarWinds, Orion, SWQL, THWACK, PRTG, Paessler and Zabbix are trademarks of their respective owners. Source at github.com/AIops-tools/Monitoring-AIops under the MIT license.
Governed network / infrastructure monitoring operations — 42 MCP tools
across SolarWinds Orion (SWIS REST + SWQL), Paessler PRTG (web API),
and Zabbix 6.x/7.x (JSON-RPC 2.0),
every one wrapped with the bundled @governed_tool harness: a local unified
audit log under ~/.monitoring-aiops/, policy engine, token/runaway budget
guard, undo-token recording, and risk-tier labelling on the audit trail. One
config can span all NOCs. The Orion password / PRTG API token / Zabbix API token is stored
encrypted (~/.monitoring-aiops/secrets.enc, Fernet + scrypt) — never
plaintext on disk.
Standalone: the governance harness is bundled in the package (
monitoring_aiops.governance) — no external skill-family dependency. PRTG's free Freeware edition and an open-source Zabbix appliance are the easiest live checks; SolarWinds is trial-only past 30 days (largest verification debt — seedocs/VERIFICATION.md).
What This Skill Does
| Group | Platform | Tools | Count | R/W |
|---|---|---|---|---|
| SWQL | SolarWinds | library, canned, query (SELECT-only passthrough) | 3 | read |
| Alerts | all | active_alerts (dedup/rollup), alert_acknowledge | 2 | 1 read, 1 write |
| SolarWinds health | SolarWinds | node/nodes/interface/volume/application status, topn, noc_rollup | 7 | read |
| SolarWinds writes | SolarWinds | list_events/unmanaged/muted | 3 | read |
| SolarWinds | mute/unmute, schedule_maintenance, remanage_node | 4 | write (med) | |
| SolarWinds | unmanage_node, remove_node | 2 | write (high) | |
| PRTG | PRTG | sensors/sensor_details/devices/groups/history/system_status/alarms | 7 | read |
| PRTG writes | PRTG | pause_sensor, resume_sensor, schedule_maintenance_prtg | 3 | write (med) |
| Zabbix | Zabbix | zabbix_problems/hosts/hostgroups/triggers/events/item_history/maintenances | 7 | read |
| Zabbix writes | Zabbix | zabbix_create_maintenance (time-boxed; undo = delete that id) | 1 | write (med) |
| Zabbix | zabbix_delete_maintenance (priorState = full definition) | 1 | write (high) | |
| Undo | all | undo_list, undo_apply | 2 | undo |
The canned SWQL library (swql_library lists them) answers the most-repeated
THWACK questions directly: nodes_down, flapping_interfaces, muted_report,
high_cpu_nodes, volumes_full, unmanaged_scheduled. For anything else,
swql_query is a validated read-only (SELECT-only) SWQL passthrough.
Quick Install
uv tool install monitoring-aiops
monitoring-aiops init # wizard: pick platform (solarwinds/prtg/zabbix) + encrypted secret
monitoring-aiops doctor
When to Use This Skill
- Get a NOC snapshot (
overview/noc_rollup): active/unacked alert counts, down/warning nodes, worst CPU - Answer a repeated SWQL question (
swql_library→swql_canned nodes_down), or run an ad-hoc read-only SWQL SELECT (swql_query) - Triage an alert storm (
active_alertsdedup/rollup collapses flap/down storms), thenalert_acknowledge - SolarWinds health:
node_status,interface_status(top-N by util),volume_status,application_status(SAM),topn(cpu/mem/latency/loss) - PRTG: list
prtg_sensors/prtg_devices/prtg_groups, drill withprtg_sensor_details/prtg_history, checkprtg_alarms/prtg_system_status - Zabbix: triage
zabbix_problems(0-5 severity mapped to levels) /zabbix_triggers, inventoryzabbix_hosts/zabbix_hostgroups, drill withzabbix_item_history(bounded), reviewzabbix_events/zabbix_maintenances - Safely take a node out for maintenance (
schedule_maintenance/unmanage_nodewith dry_run + double-confirm), pause a PRTG sensor (pause_sensor), or create a time-boxed Zabbix maintenance window (zabbix_create_maintenance— undo deletes exactly that window)
Do NOT use when the target is not a SolarWinds/PRTG/Zabbix monitoring platform — route hypervisor, storage, backup, cluster, network-device-config, or OT/industrial work to the appropriate other AIops-tools skill.
Related Skills — Skill Routing
| If the user wants… | Use |
|---|---|
| SolarWinds Orion / SWQL, PRTG, or Zabbix monitoring ops | monitoring-aiops (this skill) |
| A non-monitoring platform (hypervisor, storage, backup, cluster, network config, OT edge) | the appropriate other AIops-tools skill |
| Other monitoring stacks (not SolarWinds/PRTG/Zabbix) | out of scope for this tool |
Common Workflows
No authorization gate: the skill runs the operations you ask for and audits every one; it does not decide whether a write is permitted — that is the agent's judgement or the permissions of the SolarWinds/PRTG/Zabbix account it connects with (a read-only monitoring account makes writes fail at the server). There is no read-only switch, policy file, or approval gate.
MONITORING_AUDIT_APPROVED_BY/MONITORING_AUDIT_RATIONALEare optional audit annotations, recorded when set.
1. The 3 a.m. alert storm — collapse it, then acknowledge what matters
monitoring-aiops doctor→ confirm the NOC platform is actually reachable (a "storm" is sometimes just a poller that lost the target)monitoring-aiops overview→ the one-screen picture: down/warning counts across the configured targetsmonitoring-aiops alert list(MCP:active_alerts) → deduped / rolled-up entries; an interface-flap or node-down storm collapses into one entry with a count instead of a wall of alertsnoc_rollup→ confirm whether the storm has a single upstream cause (one node down taking its children with it) rather than N independent faults- Acknowledge only the rolled-up entry that matters:
monitoring-aiops alert ack <alert-id>(SolarWindsAlertActive.Acknowledge/ PRTGacknowledgealarm/ Zabbixevent.acknowledge) — the prior ack state is captured into priorState, and the ack is double-confirmed - Failure branch: if
doctorfails, do not acknowledge anything — you would be silencing alerts you cannot currently see. Fix credentials withmonitoring-aiops secret set <target>first. If you acknowledged the wrong alert,monitoring-aiops undo list→undo apply <id>restores the prior ack state.
2. "Which nodes are down and what's saturated?" (read-only)
noc_rollup→ down / warning counts plus the worst-CPU nodes in a single call, so you do not page through a dashboardtopn cpu(alsomemory,latency,packetloss) → the worst offenders with the measured numbernode_status <node>→ drill into one node;interface_statusfor a suspected link problem,volume_statusfor a filling disk,application_statusfor an app-layer faultlist_events→ what changed around the time things went badlist_unmanaged→ check whether a "missing" node is simply unmanaged from a previous maintenance window that was never reverted- Failure branch: if a node shows down but is reachable from your shell,
the fault is in polling, not the node — check
list_mutedandlist_unmanagedbefore escalating to the network team.
3. Planned maintenance: suppress noise time-boxed, then restore
node_status <node>/swql_canned nodes_down→ confirm you have the right node and that it is currently healthy (so you can tell the difference afterwards)- Prefer the time-boxed path — it expires on its own:
schedule_maintenance <node> --end ...(SolarWinds),schedule_maintenance_prtg(PRTG), orzabbix_create_maintenance(Zabbix, undo → delete that maintenance id) - If you genuinely need to unmanage instead:
unmanage_node <node> --dry-run, then re-run without--dry-run→ high risk, double confirmation; it records an inverseremanage_nodeundo descriptor - For a single noisy sensor rather than a whole node:
pause_sensor(PRTG, undo →resume_sensor) ormute_alerts(undo →unmute_alerts) - When maintenance ends:
remanage_node <node>/resume_sensor/unmute_alerts, or simplymonitoring-aiops undo apply <id>to replay the recorded inverse - Failure branch: the classic failure here is forgetting to restore —
run
list_unmanagedandlist_mutedat the end of every maintenance window; anything still listed is silently unmonitored. Time-boxed maintenance windows are preferred precisely because they fail safe.
4. Answer a bespoke NOC question with SWQL
monitoring-aiops swql library(MCP:swql_library) → the canned queries, so you do not hand-write what already existsmonitoring-aiops swql canned nodes_down→ run a canned one directly (alsohigh_cpu_nodesand the rest of the library)- Not canned?
monitoring-aiops swql query "SELECT ..."→ the passthrough validates the statement is a read-only SELECT before it runs; anything else is refused - Feed the result into an action — e.g. a node the query surfaced goes into workflow 3 for a maintenance window
- Failure branch: a rejected query is almost always a non-SELECT statement
or a SWQL/SQL dialect slip (SWQL has no
*expansion on some entities). Start from the nearest canned query inswql libraryand modify it rather than writing from scratch. The passthrough will not be talked into a write — writes go through the governed tools, where they are audited.
Governance & Safety
- Every tool is audited to
~/.monitoring-aiops/audit.db(relocatable viaMONITORING_AIOPS_HOME). - Each tool's
risk_levelis carried into the audit row as a descriptive tier (a label, not a gate).MONITORING_AUDIT_APPROVED_BY/MONITORING_AUDIT_RATIONALEare optional audit annotations, recorded when set. - Destructive writes support
--dry-runand double confirmation at the CLI. - Suppression / maintenance writes are time-boxed (require an end time /
duration). Reversible writes record an inverse descriptor (mute→unmute,
unmanage→remanage, pause→resume, zabbix_create_maintenance→delete that
maintenance id).
zabbix_delete_maintenancecaptures the window's full definition into priorState before deleting.
References
references/capabilities.md— full tool + platform + SWQL/API-path referencereferences/cli-reference.md— CLI command referencereferences/setup-guide.md— onboarding, credentials, and connectivity