Skip to main content

Monitoring AIops (preview)

Disclaimer: Community-maintained open-source project. Not affiliated with, endorsed by, or sponsored by SolarWinds, Paessler, or any monitoring vendor. SolarWinds, Orion, SWQL, THWACK, PRTG and Paessler are trademarks of their respective owners. MIT licensed.

Governed AI-ops for network / infrastructure monitoring across two NOC platforms in one server — SolarWinds Orion (SWIS REST + SWQL, port 17778, HTTP Basic auth) and Paessler PRTG (web API, port 443/8080, API token) — with a built-in governance harness: unified audit log, policy engine, token/runaway budget guard, undo-token recording, and graduated-autonomy risk tiers. One config can span both NOCs; each target names its own platform. Preview — mock-validated only, not yet verified against a live NOC.

What it does

Answers the questions a NOC operator actually repeats, and guards the writes that follow:

  • Canned-SWQL library — the most-asked THWACK questions shipped as named, validated queries (nodes_down, flapping_interfaces, muted_report, high_cpu_nodes, volumes_full, unmanaged_scheduled), plus a validated read-only SWQL passthrough (SELECT-only) for everything else.
  • Active-alert dedup / rollup — collapses an interface-flap or node-down storm into a single counted entry instead of a wall of near-identical alerts, across both SolarWinds and PRTG.
  • Dual SolarWinds + PRTG coverage — one MCP server spans both NOCs; no incumbent hobby MCP does.
  • Governed writes — mute/unmute, maintenance windows, unmanage/remanage, node removal, and PRTG sensor pause/resume — each audited, risk-tiered, and the destructive ones gated with dry-run + double-confirm. Suppression and maintenance writes are time-boxed (they require an end time / duration).

Capability matrix (31 MCP tools)

Group Platform Tools Count R/W
SWQL SolarWinds swql_library, swql_canned, swql_query 3 read
Alerts both active_alerts (dedup/rollup) 1 read
both alert_acknowledge 1 write (low)
SolarWinds health SolarWinds node_status, nodes_list, interface_status, volume_status, application_status, topn, noc_rollup 7 read
SolarWinds writes SolarWinds list_events, list_unmanaged, list_muted 3 read
SolarWinds mute_alerts, unmute_alerts, schedule_maintenance, remanage_node 4 write (med)
SolarWinds unmanage_node, remove_node 2 write (high)
PRTG reads PRTG prtg_sensors, prtg_sensor_details, prtg_devices, prtg_groups, prtg_history, prtg_system_status, prtg_alarms 7 read
PRTG writes PRTG pause_sensor, resume_sensor, schedule_maintenance_prtg 3 write (med)

The CLI exposes a convenience subset; the full 31-tool surface is via the MCP server.

Quick start

uv tool install monitoring-aiops          # or: pipx install monitoring-aiops
monitoring-aiops init                     # wizard: pick platform (solarwinds/prtg) + store the secret (encrypted)
monitoring-aiops doctor                   # verify config, secrets, connectivity
monitoring-aiops overview                 # NOC summary: platform + active/unacked alerts + top rollup
monitoring-aiops swql library             # list the canned SWQL queries
monitoring-aiops swql canned nodes_down   # run a named canned query

Run as an MCP server (stdio):

export MONITORING_AIOPS_MASTER_PASSWORD=...   # unlock secrets non-interactively
monitoring-aiops mcp

Governance

Every MCP tool passes through the bundled @governed_tool harness:

  • Audit — every call (params, result, status, duration, risk tier, approver, rationale) is logged to ~/.monitoring-aiops/audit.db (relocatable via MONITORING_AIOPS_HOME).
  • Budget / runaway guard — token and call budgets trip a circuit breaker on tight poll/retry loops.
  • Risk tiers — graduated autonomy; high-risk ops (unmanage_node, remove_node) can require a named approver (MONITORING_AUDIT_APPROVED_BY / MONITORING_AUDIT_RATIONALE).
  • Undo recording — reversible writes record an inverse descriptor (mute_alerts→unmute, unmanage_node→remanage, pause_sensor→resume).

Supported scope & limitations

  • Platforms: SolarWinds Orion (SWIS REST + SWQL) and Paessler PRTG (web API). Zabbix is deliberately out of scope for this tool.
  • Preview / mock-only. All behaviour is validated against mocked SWIS/PRTG responses. PRTG has a free perpetual 100-sensor Freeware edition with the API — the easiest live check. SolarWinds is a 30-day trial only; past the trial this tool is mock-only, which is the largest verification debt. monitoring-aiops doctor is the fastest live check (a SWQL query for SolarWinds, /api/status.json for PRTG).

Missing a capability?

Want another canned query, a platform dialect fixed, or a capability that isn't here? Open an issue or a PR — feedback and contributions are welcome.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monitoring_aiops-0.1.1.tar.gz (125.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monitoring_aiops-0.1.1-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

Details for the file monitoring_aiops-0.1.1.tar.gz.

File metadata

  • Download URL: monitoring_aiops-0.1.1.tar.gz
  • Upload date:
  • Size: 125.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for monitoring_aiops-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ba6ef7d2c8913141eeede5ee1fe49baab2a9649990862b517e5df2c7092b0a58
MD5 9e7d2c9834d68602095e35af378666fb
BLAKE2b-256 72fcd77033fe758577ddc7584dfa9ed9bbb7bbd1c1adbbc39b6f9737568a4ea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitoring_aiops-0.1.1.tar.gz:

Publisher: publish.yml on AIops-tools/Monitoring-AIops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file monitoring_aiops-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for monitoring_aiops-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77c99487d0145d45b6b38a2249d8f07180b2596992dca6f2718e3de1601ecfa1
MD5 931db5f4d5e5d54073c0551278678845
BLAKE2b-256 82842f195b95007019c23890a55d22d80a559009a631709ab4c2610ad84c80aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitoring_aiops-0.1.1-py3-none-any.whl:

Publisher: publish.yml on AIops-tools/Monitoring-AIops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page