hpraid_exporter

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2017 License: GPL-2.0 Imports: 12 Imported by: 0

README

hpraid_exporter

Command hpraid_exporter provides a Prometheus exporter for the parsed output of "hpssacli/hpacucli ctrl all show config" command.

Requirements

By default only root can run hpssacli command, so you need to run exporter from root or permit access to hpssacli executable with sudo

hpssacli should be in $PATH

Usage

$ ./hpraid_exporter --help
Usage of ./hpraid_exporter:
  -cmd string
        command, that shows hpraid stats (default "hpssacli")
  -port string
        port to expose /metrics on (default ":9327")

Comments

This exporter based on https://github.com/gdm85/hpraidmon utility. I just removed some unnecessary(in my opinion) parts and added code that exposes metrics with prometheus client library.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL