Alert Runbooks

ExporterDown

Runbook: ExporterDown

Alert Details

Description

This alert triggers when the exporter for the production auto-deploy job is down across all instances in the specified nanocosmosGroup and environment.

Possible Causes

Troubleshooting Steps

  1. Check Exporter Service Status

    • Command: systemctl status exporter-service
    • Expected Output: The status of the exporter service. Look for “active (running)”.
    • Example:
      1
      2
      3
      4
      
      $ systemctl status exporter-service
      ● exporter-service.service - Exporter Service
         Loaded: loaded (/etc/systemd/system/exporter-service.service; enabled; vendor preset: enabled)
         Active: active (running) since Wed 2024-11-13 14:00:00 UTC; 19min ago
  2. Restart Exporter Service

    • Command: sudo systemctl restart exporter-service
    • Expected Output: The service restarts without errors.
    • Example:
      1
      
      $ sudo systemctl restart exporter-service
  3. Check Network Connectivity

    • Command: ping -c 4 exporter-hostname
    • Expected Output: Successful ping responses.
    • Example:
      1
      2
      3
      4
      5
      6
      
      $ ping -c 4 exporter-hostname
      PING exporter-hostname (192.168.1.1) 56(84) bytes of data.
      64 bytes from exporter-hostname: icmp_seq=1 ttl=64 time=0.123 ms
      64 bytes from exporter-hostname: icmp_seq=2 ttl=64 time=0.124 ms
      64 bytes from exporter-hostname: icmp_seq=3 ttl=64 time=0.125 ms
      64 bytes from exporter-hostname: icmp_seq=4 ttl=64 time=0.126 ms
  4. Verify Exporter Configuration

    • Command: cat /etc/exporter/config.yml
    • Expected Output: Configuration file contents. Ensure all settings are correct.
    • Example:
      1
      2
      3
      4
      
      $ cat /etc/exporter/config.yml
      job_name: 'production-auto-deploy'
      static_configs:
        - targets: ['localhost:9100']

Additional Steps