Skip to content

Auto-install node-exporter on provisioned instances #6

Description

@raamsri

When vctl provisions an instance, automatically deploy node-exporter as a Docker container for Prometheus metrics scraping.

This enables the sentinel Prometheus to automatically discover and scrape new instances without manual setup.

Implementation:

  • Add node-exporter to the default docker dependencies in the provisioning flow
  • Or add it as a post-provision hook that runs docker run -d --name node-exporter --restart unless-stopped --net host prom/node-exporter:latest
  • The security group already allows port 9100 within the VPC (sgr-0ffa3f7d0796ea013)

Currently node-exporter must be manually installed on each instance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions