Skip to content

Multible result if query multible ilo interfaces #22

@trondk

Description

@trondk

The exporter returns all the query's that it has been asked. not the one asked.
that gives a funny answer in prometheus.
ex

  • job_name: 'hpilo'
    scrape_interval: 1m
    scrape_timeout: 30s
    params:
    ilo_port: ['443']
    ilo_user: ['administrator']
    ilo_password: ['*****']
    static_configs:

    • targets:
      • 10.1.16.2
      • 10.1.16.3
      • 10.1.16.4
      • 10.1.16.5
      • 10.1.16.6
      • 10.1.16.7
      • 10.1.16.8
      • 10.1.16.9
      • 10.1.16.10
      • 10.1.16.11
      • 10.1.16.12
      • 10.1.16.13
      • 10.1.16.14
      • 10.1.16.15
      • 10.1.16.16

    relabel_configs:

    • source_labels: [address]
      target_label: __param_ilo_host
    • source_labels: [__param_ilo_host]
      target_label: ilo_host
    • target_label: address
      replacement: 127.0.0.1:9416 # hpilo exporter.

image

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