inspec_exporter

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0, MIT Imports: 17 Imported by: 0

README

Inspec exporter

Build Status

Inspec exporter for complaince metrics, written in Go with pluggable metric collectors. Its possible to gather results local or remote over ssh.

Building and running

Prerequisites:

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

Running tests

make test

Using Docker

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

Prometheus Config

- job_name: inspec_linux_baseline
  scrape_interval: '5m'
  scrape_timeout: '3m'
  params:
    module: ['linux-baseline']
  static_configs:
    - targets: ['localhost:9124']

Remote exec

TBD

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