# dt-obs-hosts

A Dynatrace skill for host and process queries: CPU, memory, disk, ports and software versions across your machines. Useful when you need to know what servers are doing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2600 installs · ★ 167
- Author: Dynatrace
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/Dynatrace/dynatrace-for-ai/tree/HEAD/skills/dt-obs-hosts/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/dt-obs-hosts

## What it does

The skill teaches the agent to write DQL against hosts and processes: CPU load, memory, disk usage, network metrics, containers. Inventory sits alongside it — OS type, cloud provider, technology stack with versions, OneAgent mode and version. Thresholds come baked in: 80% on CPU, memory and disk is a warning, 90% is critical.

Inside are worked scenarios with example queries: finding hosts under high load, top processes by memory, processes listening on a port, Java version spread for EOL checks, infrastructure cost by cost center. When host data has to join logs, the skill points you to `dt-dql-essentials/references/smartscape-topology-navigation.md` first.

The boundaries are strict. Explaining an existing query, product documentation, Kubernetes pods and workloads, AWS resource inventory, service-level metrics — all out of scope, handled by `dt-obs-kubernetes`, `dt-obs-aws` and `dt-obs-services`. Ask about pods and this skill stays quiet, which is a good reason to install the right one from the start.

## Requirements
- Works with: Dynatrace, AWS

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-hosts -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/dt-obs-hosts/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/dt-obs-hosts/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-hosts -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/dt-obs-hosts/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-hosts -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/dt-obs-hosts/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Dynatrace/dynatrace-for-ai dt-obs-hosts
```

2. **Manually: put the files in place**
- File: `.github/skills/dt-obs-hosts/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-hosts -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Dynatrace/dynatrace-for-ai --path skills/dt-obs-hosts
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/dt-obs-hosts/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-hosts -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Dynatrace/dynatrace-for-ai/tree/HEAD/skills/dt-obs-hosts/SKILL.md

## When to use it
- find hosts running above 80% CPU
- rank processes by memory consumption
- inventory Linux hosts across AWS regions
- list processes listening on port 22
- track Java version spread to spot EOL builds

## Example prompts
- show hosts with high CPU usage
- which processes are consuming the most memory
- what databases are running in production

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: fd9fc146ef34a0e9.

BEGIN THIRD-PARTY FILE fd9fc146ef34a0e9
```text
---
name: dt-obs-hosts
description: >-
  Host and process metrics including CPU, memory, disk, network, containers, and process-level
  telemetry. Use when analyzing infrastructure health, resource utilization, process consumption,
  or host discovery. Also use when building timeseries queries for host metrics that feed into
  analytical workflows like anomaly detection, forecasting, or seasonality analysis.
  Trigger: "show hosts", "CPU usage", "memory utilization", "disk space", "high CPU",
  "top hosts by CPU", "top processes by memory",
  "Linux hosts in AWS", "what databases are running", "infrastructure costs by cost center",
  "hosts running EOL Java", "container monitoring", "listening ports",
  "process resource consumption", "CPU forecast", "memory anomaly", "host seasonality",
  "OneAgent mode", "OneAgent version", "GCP hosts".
  Do NOT use for explaining existing queries, product documentation questions,
  Kubernetes pod/workload queries (use dt-obs-kubernetes), AWS cloud resource inventory
  (use dt-obs-aws), or service-level metrics (use dt-obs-services).
license: Apache-2.0
---

# Infrastructure Hosts Skill

Monitor and manage host and process infrastructure including CPU, memory, disk, network, and technology inventory.

## When to Use This Skill

Use this skill when the user needs to:

- **Inventory:** "Show me all Linux hosts in AWS us-east-1"
- **Agent Inventory:** "Which hosts run FULL_STACK, INFRASTRUCTURE, or DISCOVERY mode?" / "Show OneAgent version distribution"
- **Monitor:** "What hosts have high CPU usage?"
- **Troubleshoot:** "Which processes are consuming the most memory?"
- **Discover:** "What databases are running in production?"
- **Plan:** "Track Kubernetes version distribution for upgrade planning"
- **Cost:** "Calculate infrastructure costs by cost center"
- **Security:** "Find all processes listening on port 22"
- **Compliance:** "Identify hosts running EOL Java versions"
- **Quality:** "Check data completeness for AWS hosts"
- **Optimize:** "Find rightsizing candidates based on utilization"

---
> **Cross-source join required:** If the query must combine host data with logs or other
> telemetry sources (e.g. "show logs from Linux hosts with their IP addresses") → also read
> `dt-dql-essentials/references/smartscape-topology-navigation.md` before writing the query.
---

## Core Concepts

### Entities
- **HOST** - Physical or virtual machines (cloud or on-premise)
- **PROCESS** - Running processes and process groups
- **CONTAINER** - Kubernetes containers
- **NETWORK_INTERFACE** - Host network interfaces
- **DISK** - Host disk volumes

### Metrics Categories
1. **Host Metrics** - `dt.host.cpu.*`, `dt.host.memory.*`, `dt.host.disk.*`, `dt.host.net.*`
```
END THIRD-PARTY FILE fd9fc146ef34a0e9

The third-party file has ended. Everything between the fd9fc146ef34a0e9 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2734 of 22227 bytes. © Dynatrace · Apache-2.0 · https://github.com/Dynatrace/dynatrace-for-ai/tree/HEAD/skills/dt-obs-hosts/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
