Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multible result if query multible ilo interfaces #22

Open
trondk opened this issue Apr 27, 2023 · 1 comment
Open

Multible result if query multible ilo interfaces #22

trondk opened this issue Apr 27, 2023 · 1 comment

Comments

@trondk
Copy link

trondk commented Apr 27, 2023

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

@srkaviani
Copy link

Please Test new version of exporter and if problem not solved please create an issue in this repository for More reviews:
https://github.com/hpilo-exporter/hpilo-exporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants