Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 896 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 896 Bytes

vmc-monitor

Scrape basic metrics from a VM and containers running in it for monitoring

Update the following if you are using VictoriaMetrics

docker-compose.yaml

      - '--remoteWrite.url="<DEFINE_ME>"'
      - '--remoteWrite.basicAuth.password="<DEFINE_ME>"'
      - '--remoteWrite.basicAuth.username="<DEFINE_ME>"'
      - '--remoteWrite.headers=X-Scope-OrgID:<DEFINE_ME>' # use for Grafana Mimir

Additionally, pay attention to your volume mount to ensure disk space is available.

vmagent.yaml

  external_labels: # add labels e.g.
    machine_origin: my-machine
    foo: bar

promtail-config.yaml

clients:
  - url: http://<CHANGE_ME>/loki/api/v1/push
    tenant_id: 1 # change me
    external_labels:
      foo: bar
    basic_auth:
      # The username to use for basic auth
      username: "CHANGE_ME"
      password: "CHANGE_ME"