alertmanager-gotify - v1.0.1
    Preparing search index...

    Class Server

    Main server class for handling AlertManager webhooks and forwarding alerts to Gotify.

    This server provides a complete solution for processing AlertManager alerts with features including:

    • Alert deduplication to prevent notification spam
    • Automatic cache cleanup of old alerts
    • Status-based notification formatting (firing/resolved)
    • Integration with Gotify for push notifications
    • Built-in health checks and monitoring endpoints

    Munir Mardinli munir@mardinli.de

    2025-06-06

    1.1.0

    1.0.0

    // Basic usage
    const server = new Server();
    server.start();
    Index

    Constructors

    Methods

    Constructors

    • Creates a new Server instance Initializes Express app, middleware, routes and cleanup jobs

      Returns Server

    Methods

    • Starts the Express server

      Returns void