Skip to main content
Glama

system-status

Hermes 스타일 운영 에이전트:Ubuntu / Docker / 공인 IP 모니터링, 알림은 Feishu로 푸시.

기능

  • 🐳 Docker 모니터링:컨테이너 상태, 재시작 횟수, CPU/메모리, 헬스 체크

  • 🖥️ 시스템 모니터링:CPU, 메모리, 디스크, 부하

  • 🌐 공인 IP 변동 감지:다중 소스 검증, 변경 시 알림

  • 💬 Feishu 알림:리치 텍스트 카드 + @지정인

  • 📊 SQLite 히스토리 데이터:샘플링마다 저장, 기본 7일 보관

  • 🖼️ Web 패널:실시간 대시보드 + 트렌드 차트 + 알림 스트림

    • http://localhost:8080/web/ 열면 됩니다

  • 🌐 HTTP / MCP 인터페이스:Hermes / 클라이언트 호출용

    • GET /health

    • GET /api/docker/containers

    • POST /api/docker/restart

    • GET /api/system

    • GET /api/ip

    • GET /api/dashboard

    • GET /api/history/system?minutes=60

    • GET /api/history/ip

    • GET /api/alerts/recent

    • GET /mcp/tools

Related MCP server: 6amdev-server-mcp

빠른 시작

1. Feishu 봇 생성

그룹 채팅 → 설정 → 그룹 봇 → 추가 → 커스텀 봇 → WebhookSecret 획득

2. 환경 변수 설정

cp .env.example .env
# 编辑 .env,填入飞书 webhook 和 secret

3. 시작

docker compose up -d

4. 검증

curl http://localhost:8080/health
curl http://localhost:8080/api/docker/containers
curl http://localhost:8080/api/system
curl http://localhost:8080/api/ip

설정 설명

.env:

변수

필수

설명

FEISHU_WEBHOOK

Feishu 봇 Webhook

FEISHU_SECRET

서명 검증 키

FEISHU_AT_MOBILES

@할 휴대폰 번호, 쉼표로 구분

FEISHU_AT_ALL

전체 @ 여부

CHECK_INTERVAL

검사 간격(초), 기본 60

HTTP_PORT

HTTP 포트, 기본 8080

Hermes 연동

Hermes는 HTTP MCP를 통해 이 엔드포인트를 직접 호출할 수 있습니다. Hermes 설정에 다음을 추가하세요:

mcp_servers:
  - name: system-status
    type: http
    base_url: http://localhost:8080
    tools:
      - name: list_containers
        method: GET
        path: /api/docker/containers
      - name: system_health
        method: GET
        path: /api/system
      - name: check_public_ip
        method: GET
        path: /api/ip
      - name: restart_container
        method: POST
        path: /api/docker/restart
        body_schema:
          type: object
          properties:
            name: { type: string }

그러면 Hermes에게 이렇게 말할 수 있습니다:

"종료된 컨테이너 모두 나열해줘" "mysql-01 재시작해줘" "지금 공인 IP가 뭐야?" "시스템 상태는 어때?"

프로젝트 구조

system-status/
├── src/
│   ├── index.ts            # 入口
│   ├── config.ts           # 配置加载
│   ├── mcp/server.ts       # HTTP / MCP 接口
│   ├── monitor/
│   │   ├── docker.ts       # Docker 监控
│   │   ├── system.ts       # 系统监控
│   │   ├── ip.ts           # 公网 IP 检测
│   │   └── loop.ts         # 监控主循环
│   └── alert/
│       ├── feishu.ts       # 飞书 Webhook + 签名
│       └── templates.ts    # 告警模板
├── config/rules.yaml       # 告警规则
├── Dockerfile
├── docker-compose.yml
└── .env.example

알림 쿨다운

동일 유형 알림은 기본 5분 내 중복 푸시하지 않습니다(알림 폭주 방지). src/monitor/loop.ts에서 COOLDOWN_MS를 조정할 수 있습니다.

보안 주의사항

  • ⚠️ docker.sock은 root 권한과 동일하므로 반드시 읽기 전용 :ro로 마운트

  • ⚠️ 컨테이너에 privileged: true가 설정되어 있으므로 프로덕션 환경에서는 위험성 평가 필요

  • ⚠️ Feishu Webhook은 Git에 커밋하지 마세요

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Multi-machine system monitor with a built-in MCP server that enables AI agents to query health metrics, manage processes, schedule cron jobs, and run diagnostics across local and remote machines.
    133
    Apache 2.0
  • F
    license
    B
    quality
    D
    maintenance
    MCP server for managing Ubuntu servers with AI integration, enabling system monitoring, Docker control, Gitea repository management, Ollama LLM interaction, workspace file operations, and Claude Code assistant via natural language.
    34
  • F
    license
    Not graded
    quality
    B
    maintenance
    Server Monitor MCP is a Linux server inspection service with web backend and MCP interface. It allows you to manage SSH hosts and query server metrics via natural language.

View all related MCP servers

Related MCP Connectors

  • Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.

  • Real-time health monitoring and heartbeat tracking for agent services

  • MCP uptime, schema, auth, and SLA receipt monitoring.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/myclaw66/system-status'

If you have feedback or need assistance with the MCP directory API, please join our Discord server