Skip to content

Commands for ipmi and bmc die with timeout #266

@mekanix

Description

@mekanix

I have the following in my ipmi-exporter.yml

modules:
  default:
    collectors:
    - bmc
    - ipmi
    - chassis
    - sel
    - sel-events
    driver: "LAN_2_0"
    pass: "mypass"
    privilege: "user"
    user: "myuser"

This is part of my ipmi-targets.yml

- labels:
    job: ipmi_exporter
  targets:
  - host1
  - host2
  . . .

My prometheus.yml portion for this exporter is this

- file_sd_configs:
  - files:
    - /etc/prometheus/ipmi-targets.yml
    refresh_interval: 10m
  job_name: ipmi-exporter
  metrics_path: /ipmi
  params:
    module:
    - default

When I do ps ax | grep ipmi-sel I see the following

ipmi-sel --quiet-cache --comma-separated-output --no-header-output --sdr-cache-recreate --output-event-state --interpret-oem-data --entity-sensor-names --config-file /tmp/ipmi_exporter-cc2225c5535b995b1eb9a53327724295 -h host1

I thought that config file will contain user/pass, but no, that file is always zero in length. What am I doing wrong?

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