# raid_exporter **Repository Path**: autom-studio/raid_exporter ## Basic Information - **Project Name**: raid_exporter - **Description**: Scrape RAID card metrics for prometheus. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 0 - **Created**: 2022-09-01 - **Last Updated**: 2025-09-01 ## Categories & Tags **Categories**: nms **Tags**: None ## README # RAID Exporter Scrape RAID card metrics for prometheus. ## Build from source ``` git clone https://gitee.com/autom-studio/raid_exporter.git cd raid_exporter go build -o examples/raid_exporter ``` ## Install via go get ``` mkdir -p examples GO_PATH=$PWD/examples go get gitee.com/autom-studio/raid_exporter ``` ## Start ### Foreground process startup ``` ./raid_exporter ``` ### Manage via systemd ``` sudo mkdir -p /opt/promExporters/raid_exporter sudo cp examples/raid_exporter.yaml.example /opt/promExporters/raid_exporter/raid_exporter.yaml sudo cp examples/raid_exporter /opt/promExporters/raid_exporter/raid_exporter sudo chmod 755 /opt/promExporters/raid_exporter/raid_exporter sudo cp init/systemd/raid_exporter.service /lib/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable --now raid_exporter ``` ## Configuration ``` --- exporter: listenAddress: :9400 # Required field, exporter listen address readTimeout: 60 # Required field, metrics web read timeout writeTimeout: 60 # Required field, metrics web write timeout metricsPath: /metrics # Required field, metrics web path cliType: perccli # Required field, raid card cli type, perccli or storcli log: path: "./raid_exporter.log" # Required field, log file path level: "INFO" # Required field, log level ```