Skip to content

bmc-watchdog collector fails with "invalid option -- h" for remote targets #303

@aahmadzada-png

Description

@aahmadzada-png

Description

The bmc-watchdog collector fails when scraping remote IPMI targets with the error: bmc-watchdog: invalid option -- h

Environment

  • ipmi_exporter version: 1.10.1
  • FreeIPMI bmc-watchdog version: 1.6.16
  • Target: Remote IPMI devices (e.g., 192.168.1.100:623)

Error Logs

time=2025-12-30T08:30:14.219Z level=ERROR source=collector_bmc_watchdog.go:97 msg="Failed to collect BMC watchdog timer" target=192.168.1.100:623 error="error running bmc-watchdog: exit status 64: bmc-watchdog: invalid option -- h\nTry `bmc-watchdog --help' or `bmc-watchdog --usage' for more information.\n"
time=2025-12-30T08:30:14.219Z level=ERROR source=collector.go:120 msg="Collector failed" name=bmc-watchdog error="error running bmc-watchdog: exit status 64: bmc-watchdog: invalid option -- h\nTry `bmc-watchdog --help' or `bmc-watchdog --usage' for more information.\n"

Expected Behavior

The bmc-watchdog collector should successfully collect metrics from remote IPMI targets.

Additional Information

bmc-watchdog help output shows no -h option, maybe it not supports remote scraping?

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