8000 GitHub - claranet/nutanix-exporter
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

claranet/nutanix-exporter

Repository files navigation

Running the exporter

nutanix_exporter -nutanix.url https://nutanix_cluster:9440 -nutanix.username <user> -nutanix.password <password>

localhost:9405/metrics

Running exporter with different sections

nutanix_exporter -nutanix.conf ./config.yml

During the Query pass GET-Parameter Section

localhost:9405/metrics?section=cluster01

Config

default:
  nutanix_host: https://nutanix.cluster.local:9440
  nutanix_user: prometheus
  nutanix_password: p@ssw0rd

cluster02:
  nutanix_host: https://nutanix02.cluster.local:9440
  nutanix_user: prometheus
  nutanix_password: qwertz

Prometheus extendended Configuration

Nutanix Config:

nutanix.cluster.local:
  nutanix_host: https://nutanix.cluster.local:9440
  nutanix_user: prometheus
  nutanix_password: p@ssw0rd

nutanix02.cluster.local:
  nutanix_host: https://nutanix02.cluster.local:9440
  nutanix_user: prometheus
  nutanix_password: qwertz

Prometheus Config:

scrape_configs:
  - job_name: nutanix_export
    metrics_path: /metrics
    static_configs:
    - targets:
      - nutanix.cluster.local
      - nutanix02.cluster.local
    relabel_configs:
    - source_labels: [__address__]
      target_label: __param_section
    - source_labels: [__address__]
      target_label: __param_target
    - source_labels: [__param_target]
      target_label: instance
    - target_label: __address__
      replacement: nutanix_exporter:9405

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0