dt-alerting
End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline,…
Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers) in Dynatrace. Three data layers: Smartscape topology (`EXT_NETWORK_DEVICE` / `EXT_NETWORK_INTERFACE` nodes, `belongs_to` and `calls` edges); `com.dynatrace.extension.network_device.*` metrics
$ npx -y skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-devices --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dt-obs-network-devicesContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers) in Dynatrace. Three data layers: Smartscape topology (`EXT_NETWORK_DEVICE` / `EXT_NETWORK_INTERFACE` nodes, `belongs_to` and `calls` edges); `com.dynatrace.extension.network_device.*` metrics
name: dt-obs-network-devices description: >- Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers) in Dynatrace. Three data layers: Smartscape topology (`EXT_NETWORK_DEVICE` / `EXT_NETWORK_INTERFACE` nodes, `belongs_to` and `calls` edges); `com.dynatrace.extension.network_device.*` metrics (CPU, memory, uptime, throughput, saturation, errors); and logs (SNMP traps, syslog, auto-discovery). Use to inventory devices, find down or saturated interfaces, check device CPU/memory/uptime, map topology and neighbors, detect interface errors, and investigate traps and syslog events. Trigger: "network device", "switch", "router", "firewall", "SNMP", "interface status", "interface down", "interface utilization", "link saturation", "device CPU", "device memory", "device uptime", "device neighbors", "LLDP", "CDP", "SNMP trap", "syslog". Do NOT use for network flow/traffic or top talkers (use dt-obs-network-flows), host NIC throughput (use dt-obs-hosts), or service request/latency (use dt-obs-services). license: Apache-2.0
Analyze SNMP-monitored network infrastructure in Dynatrace — switches, routers, firewalls, load balancers, access points, and any other device polled by a **network device extension** (the SNMP-generic and vendor SNMP extensions). This skill covers the **device and interface data model** and routes each question to the right reference file. All DQL lives in the reference files and was validated against a live tenant with `dtctl query`.
SNMP extensions poll network hardware and expose it in Dynatrace as **three layers**:
This answers questions such as: *Which interfaces are down? Which links are saturated? Is this router's CPU pegged? Which devices rebooted? What is connected to this switch? What traps has this device sent? What syslog errors are recurring?*
| Layer | Query with | Grain | Key fields | |---|---|---|---| | **Topology** | `smartscapeNodes "EXT_NETWORK_DEVICE"` / `smartscapeNodes "EXT_NETWORK_INTERFACE"` | One row per device / interface (current inventory) | `id`, `name`, `monitoring_mode`, `device_type`, `location`, `ip`, `speed`, edges via `belongs_to` / `calls` | | **Metrics** | `timeseries … com.dynatrace.extension.network_device.*` | Time series per device / interface | grouped by `dt.smartscape.ext_network_device` and (interface metrics) `dt.smartscape.ext_network_interface` | | **Logs** | `fetch logs \| filter dt.openpipeline.source == "…"` | Individual log records (traps, syslog, discovery) | joined to topology by expanding the device `ip[]` array and matching `device.address` / `dt.ingest.source.ip` — see [references/logs.md](references/logs.md) |
**The join key is the Smartscape ID.** Every metric carries a `dt.smartscape.ext_network_device` dimension (and interface metrics also carry `dt.smartscape.ext_network_interface`). Use `lookup [smartscapeNodes …]` to attach human-readable device/interface names to metric results, and to attach live metrics to an inventory listing. Both reference files show this pattern.
Every device has a `monitoring_mode`. **This is the first thing to check** — it decides whether metrics exist at all:
| `monitoring_mode` | Meaning | Has metrics? | Has full attributes? | |---|---|---|---| | **`Extension`** | Directly polled by an SNMP extension | **Yes** — full `com.dynatrace.extension.network_device.*` set | Yes | | **`Discovery`** | Discovered on the network but not directly polled | **No** | Partial | | **`Neighbor`** | Known only because a polled device names it as an LLDP/CDP neighbor | **No** | Minimal (name, chassis MAC) |
> If a device has no metrics, check its `monitoring_mode` before assuming a data gap — only `Extension`-mode devices are polled. When listing "monitored devices," exclude `Neighbor` (and usually `Discovery`).
1. **Inventory, attributes, or topology** (list devices, find a device's interfaces, map neighbors, read model/firmware/location) → [references/topology-model.md](references/topology-model.md). 2. **Health or performance** (CPU, memory, uptime, interface up/down, throughput, saturation, errors) → [references/metrics.md](references/metrics.md). 3. **Event-driven signals** (SNMP traps, syslog messages, discovery activity) → [references/logs.md](references/logs.md). 4. Most real questions combine layers (e.g. *"which interfaces on the core router are down"* = metric status filtered to one device, joined to interface names). The metrics and logs references show these joined queries.
Network device monitoring is one part of Dynatrace network observability. Route elsewhere when the question is not about device/interface health or topology:
| The user wants… | Use | |---|---| | Traffic **between** entities, top talkers, conversations, connection health (the flows *through* the network) | [dt-obs-network-flows](../dt-obs-network-flows/SKILL.md) — including NetFlow/IPFIX/sFlow that these same devices export | | Host NIC throughput / packet drops on **OneAgent-monitored hosts** (not SNMP
Everything AI agents need to work with Dynatrace, starting with skills. Skills are portable knowledge packages following the Agent Skills open format. They give AI coding agents the domain-specific context to query, analyze, and interpret Dynatrace data.
End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline,…
Work with Dynatrace dashboards - create, modify, query, and analyze dashboard JSON including tiles, layouts, DQL queries,…
Work with Dynatrace notebooks - create, modify, query, and analyze notebook JSON including sections, DQL queries, and…
Core DQL syntax, pitfalls, query patterns, and query optimization. Load to write, build, fix, or OPTIMIZE a DQL query — prevents…
Dynatrace server-side JS runtime — function contract, runtime limits, Web APIs, Node.js modules, fetch with credential vault, and…
Migrate Dynatrace classic and Gen2 entity-based DQL to Smartscape equivalents. Covers three scenarios. (1) mass data queries…