linux-monitoring-setup

Generate monitoring stack configurations with Prometheus, Grafana, Loki, and Alertmanager.

3|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/chfle/lehnert-claude-skills --skill linux-monitoring-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linux-monitoring-setup
Source: https://github.com/chfle/lehnert-claude-skills/tree/main/skills/linux-monitoring-setup
Command: npx skills add https://github.com/chfle/lehnert-claude-skills --skill linux-monitoring-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designs and generates a complete monitoring stack tailored to the user's infrastructure and needs. Presents real stack options, lets the user choose, then writes all config files and a ready-to-run docker-compose.yml to disk. Covers metrics, logs, alerts, dashboards, and uptime monitoring.

Core Features & Use Cases

  • Multi-stack options for Linux servers, Docker hosts, and full-stack observability.
  • Supports Prometheus + Grafana, Loki + Promtail + Alertmanager, Netdata, Uptime Kuma, and cadvisor.
  • Example: generate a standard metrics stack or a full-stack with logs and alerts for a production service.

Quick Start

Tell me what to monitor and how much infrastructure to run, then run the setup to generate a complete monitoring stack in ./monitoring.

Frequently Asked Questions about linux-monitoring-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a complete Linux monitoring stack with Prometheus and Grafana?

Setting up a Linux monitoring stack is automated by generating a ready-to-run docker-compose.yml with Prometheus and Grafana configurations, writing all files to a local directory for immediate deployment of metrics collection and visualization dashboards.

What is the best way to monitor Docker containers and Linux servers for metrics and logs?

Monitoring Docker containers and Linux servers is achieved by deploying a multi-stack observability setup that uses cadvisor for container metrics, Loki and Promtail for log aggregation, and Netdata for real-time server performance tracking.

Can I use Alertmanager and Uptime Kuma for alerting and uptime monitoring on a single server?

Yes, you can use Alertmanager and Uptime Kuma on a single server. The setup provisions alert rules and configurations for both tools, enabling metric-based alert routing and external uptime monitoring within a single generated deployment stack.

Does this monitoring setup require existing Docker configurations or dependencies?

No existing dependencies are required. The setup process writes all necessary configuration files and a docker-compose.yml to disk, requiring only an environment capable of running Docker containers to launch the selected monitoring tools.

How do I configure Grafana dashboards and alert rules automatically for my infrastructure?

Configuring Grafana dashboards and alert rules automatically is handled by selecting your desired stack options during setup. The generator provisions the necessary dashboard configurations and alert rules tailored to your chosen monitoring components.