Xpersona
M

Monitoring Dashboard Audit

CLAWHUB · Unverified

Monitoring infrastructure assessment covering Grafana dashboard analysis, PromQL query validation, alert rule evaluation, SLA/SLO reporting review, and Prome...

62
Rank
84
Safety
982
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 982 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172e0s6wm08gdxkw6pxzkwzgh841b69:monitoring-dashboard-audit
  1. Install using `clawhub skill install s172e0s6wm08gdxkw6pxzkwzgh841b69:monitoring-dashboard-audit` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/vahagn-madatyan/monitoring-dashboard-audit before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-vahagn-madatyan-monitoring-dashboard-audit/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

36,701 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: monitoring-dashboard-audit
description: >-
  Monitoring infrastructure assessment covering Grafana dashboard analysis,
  PromQL query validation, alert rule evaluation, SLA/SLO reporting review,
  and Prometheus data source health checks for network operations environments.
license: Apache-2.0
metadata:
  safety: read-only
  author: network-security-skills-suite
  version: "1.0.0"
  openclaw: '{"emoji":"📊","safetyTier":"read-only","requires":{"bins":[],"env":[]},"tags":["grafana","prometheus","monitoring"],"mcpDependencies":[],"egressEndpoints":[]}'
---

# Monitoring Dashboard Audit

Structured assessment of monitoring infrastructure for network operations.
Evaluates Grafana dashboards, PromQL query efficiency, alert rule
configuration, SLA/SLO reporting accuracy, and Prometheus data source
health. This skill reads monitoring configuration and metrics — it does
not create, modify, or delete dashboards, alerts, or data sources.

Reference `references/cli-reference.md` for Grafana and Prometheus API
commands organized by audit step, and `references/query-reference.md` for
PromQL patterns covering network interface utilization, error rates, BGP
peer state, and SNMP-derived metric evaluation.

## When to Use

- Monitoring gap assessment — verifying that all critical network infrastructure has dashboard coverage and active alerting
- Dashboard quality review — evaluating whether existing Grafana dashboards present accurate, actionable data to operations teams
- Alert fatigue investigation — audit when teams report excessive or irrelevant alert notifications that mask genuine incidents
- SLA/SLO compliance review — validating that error budget calculations and availability metrics reflect actual service delivery
- Pre-migration monitoring readiness — confirming monitoring will survive infrastructure changes (new devices, topology changes, platform migrations)
- Post-incident review — assessing whether monitoring detected the incident, how quickly alerts fired, and what gaps allowed silent failures

## Prerequisites

- **Grafana access** — API token or service account with Viewer role minimum (`grafana_url` and `Authorization: Bearer <token>` header confirmed working)
- **Prometheus access** — HTTP API reachable at `prometheus_url/api/v1/status/config` (no authentication required by default, or appropriate auth header configured)
- **Network scope defined** — device inventory, subnet ranges, and critical service list available for coverage gap analysis
- **Baseline documentation** — existing SLA/SLO targets, expected alert thresholds, and operations runbooks available for comparison
- **Timestamp awareness** — confirm NTP synchronization across monitoring stack; Prometheus scrape timestamps and Grafana time range selections depend on consistent clocks

## Procedure

Follow these six steps sequentially. Each step produces findings that
feed the monitoring coverage scorecard and optimization recommendations
in Step 6.

### Step 1: Dashboard Inv

_meta.json

{
  "ownerId": "kn7ac9vq558rgj3edzcy9mgf1183b0ec",
  "slug": "monitoring-dashboard-audit",
  "version": "1.0.0",
  "publishedAt": 1775012580935
}

references/cli-reference.md

# CLI Reference — Grafana and Prometheus APIs

API commands organized by monitoring dashboard audit step. All Grafana
endpoints require `Authorization: Bearer <token>` header. Prometheus
endpoints are unauthenticated by default.

## Grafana HTTP API

### Dashboard Operations (Step 1)

```bash
# List all dashboards with metadata
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/search?type=dash-db&limit=5000" | jq '.[] | {uid, title, folderTitle, tags}'

# Get full dashboard JSON model by UID
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/dashboards/uid/<uid>" | jq '.dashboard'

# List dashboard folders
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/folders" | jq '.[] | {uid, title}'

# Get dashboard versions (change history)
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/dashboards/uid/<uid>/versions" | jq '.[0:5]'
```

### Data Source Operations (Step 5)

```bash
# List all data sources
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/datasources" | jq '.[] | {id, name, type, url}'

# Test data source connectivity
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/datasources/<id>/health"

# Get data source details by name
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/datasources/name/<name>"
```

### Alert Rule Operations (Step 3)

```bash
# List Grafana Unified Alerting rules
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/v1/provisioning/alert-rules" | jq '.[] | {uid, title, condition, for}'

# List alert rule groups by folder
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/ruler/grafana/api/v1/rules" | jq 'keys'

# Get notification policies (routing tree)
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/v1/provisioning/policies"

# List contact points (notification channels)
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/v1/provisioning/contact-points"

# List active silences
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/alertmanager/grafana/api/v2/silences" | jq '.[] | select(.status.state=="active")'
```

### Annotation Operations

```bash
# Query annotations for incident correlation
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/annotations?from=<epoch_ms>&to=<epoch_ms>&limit=100"

# Query annotations by dashboard
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
  "$GRAFANA_URL/api/annotations?dashboardUID=<uid>"
```

## Prometheus HTTP API

### Target Status (Step 5)

```bash
# List all active scrape targets with health status
curl -s "$PROM_URL/api/v1/targets?state=active" | \
  jq '.data.activeTargets[] | {job: .labels.job, instance: .labels.instance, health, lastScrape: .lastScrape}'

# Get scrape pool target count
curl -s "$PROM_URL/api/v1/targets" | \
  jq '[.data.activeTargets[] | .scrapePool] | group_by(.) | map({pool: 

references/query-reference.md

# Query Reference — PromQL Patterns for Network Monitoring

PromQL expressions for network infrastructure monitoring organized by
use case. All patterns assume SNMP exporter or equivalent metric sources.
Adapt label names to match your exporter configuration.

## Interface Utilization

### Bits-per-second calculation from SNMP counters

```promql
# Inbound interface utilization (bps)
rate(snmp_if_hc_in_octets{job="snmp"}[5m]) * 8

# Outbound interface utilization (bps)
rate(snmp_if_hc_out_octets{job="snmp"}[5m]) * 8

# Interface utilization as percentage of link speed
(rate(snmp_if_hc_in_octets{job="snmp"}[5m]) * 8)
  / on(instance, ifIndex) snmp_if_high_speed{job="snmp"}
  / 1e6 * 100

# Peak utilization over 24h (for capacity planning)
max_over_time(
  (rate(snmp_if_hc_in_octets{job="snmp"}[5m]) * 8)[24h:5m]
) / on(instance, ifIndex) snmp_if_high_speed{job="snmp"} / 1e6 * 100
```

### Recording rules for interface utilization

```yaml
groups:
  - name: network_interface_utilization
    interval: 1m
    rules:
      - record: network:interface_in_bps:rate5m
        expr: rate(snmp_if_hc_in_octets{job="snmp"}[5m]) * 8

      - record: network:interface_out_bps:rate5m
        expr: rate(snmp_if_hc_out_octets{job="snmp"}[5m]) * 8

      - record: network:interface_utilization_pct:rate5m
        expr: |
          (rate(snmp_if_hc_in_octets{job="snmp"}[5m]) * 8)
            / on(instance, ifIndex) snmp_if_high_speed{job="snmp"}
            / 1e6 * 100
```

## Error Rates

### Interface error and discard ratios

```promql
# Input error rate (errors per second)
rate(snmp_if_in_errors{job="snmp"}[5m])

# Output error rate
rate(snmp_if_out_errors{job="snmp"}[5m])

# Error ratio (errors relative to total packets)
rate(snmp_if_in_errors{job="snmp"}[5m])
  / (rate(snmp_if_in_ucast_pkts{job="snmp"}[5m]) + rate(snmp_if_in_errors{job="snmp"}[5m]))

# Discard ratio (discards relative to total packets)
rate(snmp_if_in_discards{job="snmp"}[5m])
  / (rate(snmp_if_in_ucast_pkts{job="snmp"}[5m]) + rate(snmp_if_in_discards{job="snmp"}[5m]))

# Combined error + discard rate per interface
(rate(snmp_if_in_errors{job="snmp"}[5m]) + rate(snmp_if_in_discards{job="snmp"}[5m]))
```

### Alerting rules for interface errors

```yaml
groups:
  - name: network_interface_errors
    rules:
      - alert: InterfaceHighErrorRate
        expr: rate(snmp_if_in_errors{job="snmp"}[5m]) > 100
        for: 5m
        labels:
          severity: warning
        annotations:
          summary: "Interface {{ $labels.ifDescr }} on {{ $labels.instance }} has high error rate"
          description: "Input error rate is {{ $value | humanize }}/s for the last 5 minutes."

      - alert: InterfaceCriticalErrorRate
        expr: rate(snmp_if_in_errors{job="snmp"}[5m]) > 1000
        for: 2m
        labels:
          severity: critical
        annotations:
          summary: "Interface {{ $labels.ifDescr }} on {{ $labels.instance }} has critical error rate"
```

## BGP Peer State

### BGP session m

skill-card.md

## Description:

Monitoring infrastructure assessment covering Grafana dashboard analysis, PromQL query validation, alert rule evaluation, SLA/SLO reporting review, and Prometheus data source health checks for network operations environments.

This skill is ready for commercial/non-commercial use.

## Publisher:

[vahagn-madatyan](https://clawhub.ai/user/vahagn-madatyan)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, SREs, and network operations teams use this skill to audit Grafana dashboards, Prometheus data sources, PromQL queries, alert rules, and SLA/SLO reporting for monitoring coverage and reliability gaps.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Monitoring audit outputs can expose sensitive operational details such as datasource URLs, alert routing, contact points, silences, and Prometheus configuration.

Mitigation: Use least-privilege Grafana Viewer access, keep tokens out of shared outputs, and review reports before distributing them outside the authorized operations team.

Risk: Dashboard, alert, or query recommendations may be incorrect if inventory, SLA/SLO targets, or baseline documentation are incomplete.

Mitigation: Validate findings against current network scope, service documentation, and operations runbooks before changing monitoring configuration.

## Reference(s):

- [CLI Reference - Grafana and Prometheus APIs](references/cli-reference.md)
- [Query Reference - PromQL Patterns for Network Monitoring](references/query-reference.md)

## Skill Output:

**Output Type(s):** [Analysis, Markdown, Shell commands, Configuration guidance]

**Output Format:** [Markdown report with command and PromQL snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Read-only audit guidance; the skill does not create, modify, or delete dashboards, alerts, or data sources.]

## Skill Version(s):

1.0.0 (source: release evidence and artifact metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Monitoring Dashboard Audit and adjacent AI workflows.