Inspec exporter for complaince metrics, written in Go with pluggable metric collectors. Its possible to gather results local or remote over ssh.
Prerequisites:
- Go compiler
- RHEL/CentOS:
glibc-static
package.
Building:
go get github.com/OpenTelekomCloud/inspec_exporter
cd $GOPATH/src/github.com/OpenTelekomCloud/inspec_exporter
make
./inspec_exporter <flags>
To see all available configuration flags:
./inspec_exporter -h
make test
make docker
docker run --name inspec_exporter -p 9124:9124 -v /srv/insepc:/profiles:ro -v /etc/inspec_exporter/inspec.yml:/etc/inspec_exporter/inspec.yml:ro -d inspec_exporter:master
- job_name: inspec_linux_baseline
scrape_interval: '5m'
scrape_timeout: '3m'
params:
module: ['linux-baseline']
static_configs:
- targets: ['localhost:9124']
TBD