mcpField
U
uptime-monitoring

uptime-monitoring

github.com/aj-geddesCloud & DevOps373486 installsUpdated 34w ago
Repository

About uptime-monitoring

A skill for setting up service uptime visibility through health checks, status pages, and incident tracking. It is intended for teams monitoring availability, service-level targets, and operational status.

Key features

  1. 01Health check endpoints
  2. 02Python health checks
  3. 03Heartbeat-based monitoring
  4. 04Public status page API
  5. 05Kubernetes health probes

Use cases

  1. 01Tracking service availability
  2. 02Implementing health checks
  3. 03Creating a public status page
  4. 04Monitoring incidents and SLA

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill uptime-monitoring

After installing, type/uptime-monitoringin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
health-check-endpoints.md
kubernetes-health-probes.md
public-status-page-api.md
python-health-checks.md
uptime-monitor-with-heartbeat.md
scripts/
health-check.sh
templates/
dashboard-config.yaml

Details

From the project README

Uptime Monitoring

Table of Contents

Overview

Set up comprehensive uptime monitoring with health checks, status pages, and incident tracking to ensure visibility into service availability.

When to Use

  • Service availability tracking
  • Health check implementation
  • Status page creation
  • Incident management
  • SLA monitoring

Quick Start

Minimal working example:

// Node.js health check
const express = require("express");
const app = express();

app.get("/health", (req, res) => {
  res.json({
    status: "ok",
    timestamp: new Date().toISOString(),
    uptime: process.uptime(),
  });
});

app.get("/health/deep", async (req, res) => {
  const health = {
    status: "ok",
    checks: {
      database: "unknown",
      cache: "unknown",
      externalApi: "unknown",
    },
  };

  try {
    const dbResult = await db.query("SELECT 1");
    health.checks.database = dbResult ? "ok" : "error";
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Health Check EndpointsHealth Check Endpoints
Python Health ChecksPython Health Checks
Uptime Monitor with HeartbeatUptime Monitor with Heartbeat
Public Status Page APIPublic Status Page API
Kubernetes Health ProbesKubernetes Health Probes

Best Practices

✅ DO
  • Implement comprehensive health checks
  • Check all critical dependencies
  • Use appropriate timeout values
  • Track response times
  • Store check history
  • Monitor uptime trends
  • Alert on status changes
  • Use standard HTTP status codes
❌ DON'T
  • Check only application process
  • Ignore external dependencies
  • Set timeouts too low
  • Alert on every failure
  • Use health checks for load balancing
  • Expose sensitive information

Comments

Markdown supported