Skip to content

exporter ignoring configuration flags on Ubuntu #334

@Preclowski

Description

@Preclowski

Hello. I installed Ubuntu package, smartctl_exporter from APT.

I changed configuration options, confirmed with ps output

root       99648       1  0 13:15 ?        00:00:00 /usr/bin/smartctl_exporter --smartctl.device-exclude=/dev/sda --smartctl.interval=600s

I believe smartctl_exporter is completely ignoring those configuration options

  1. /dev/sda is not excluded, it still appears in metrics
  2. btrace shows clearny that smartctl is running with default interval of 60s

ref 1

smartctl_device{ata_additional_product_id="unknown",ata_version="",device="sda",firmware_version="",form_factor="",interface="scsi",model_family="unknown",model_name="QEMU QEMU HARDDISK",protocol="SCSI",sata_version="",scsi_product="QEMU HARDDISK",scsi_revision="2.5+",scsi_vendor="QEMU",scsi_version="SPC-3",serial_number=""} 1

ref2

  8,112  0       13   419.998312987 102865  D   R 512 [smartctl]
...
  8,112  2       17   479.995891099 103238  D   R 512 [smartctl]
...
  8,112  2       21   540.007769007 103587  D   R 36 [smartctl]
...
  8,112  1       17   599.992493915 103939  D   R 36 [smartctl]

Will be glad if you can take a look into this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions