dt-obs-network-devices
БесплатноБез исполняемых скриптовНе проверенAnalyze SNMP-monitored network devices (switches, routers, firewalls, load balancers) in Dynatrace. Three data layers: Smartscape topology…
от Dynatrace★ 190 звёзд на GitHubОб этом скилле
Network Devices Skill
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.
What Network Device Monitoring Tells You
SNMP extensions poll network hardware and expose it in Dynatrace as three layers:
- Topology — an inventory of devices and their interfaces as Smartscape nodes (
EXT_NETWORK_DEVICE,EXT_NETWORK_INTERFACE), with attributes (vendor, model, OS/firmware, location, contact, IPs, MACs, link speed) and relationships (which interface belongs to which device; which devices are neighbors via LLDP/CDP). - Metrics — time series for device health (CPU, memory, uptime) and per-interface health (operational/admin status, in/out throughput, errors, discards, packet mix), under the
com.dynatrace.extension.network_device.*namespace. - Logs — event-driven records: SNMP traps (link-up/down, hardware faults), syslog messages (config changes, authentication, interface events), and auto-discovery activity (devices and neighbors found per poll cycle).
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?
The Three Layers (and how they join)
| 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 |
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.
Monitoring Mode Determines What Data Exists
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_modebefore assuming a data gap — onlyExtension-mode devices are polled. When listing "monitored devices," excludeNeighbor(and usuallyDiscovery).
Routing
- Inventory, attributes, or topology (list devices, find a device's interfaces, map neighbors, read model/firmware/location) → references/topology-model.md.
- Health or performance (CPU, memory, uptime, interface up/down, throughput, saturation, errors) → references/metrics.md.
- Event-driven signals (SNMP traps, syslog messages, discovery activity) → references/logs.md.
- 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.
Related Skills
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 — including NetFlow/IPFIX/sFlow that these same devices export |
| Host NIC throughput / packet drops on OneAgent-monitored hosts (not SNMP devices) | dt-obs-hosts → references/host-metrics.md |
| Service |
Установить dt-obs-network-devices в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dt-obs-network-devices?
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).
Как установить скилл dt-obs-network-devices?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dt-obs-network-devices запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic