nrpe_exporter

command module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

README

NRPE Exporter for Prometheus Build Status

Disclaimer: This project is inspired from the RobustPerception's exporter This is not an official Criteo product

Building & Running

go get -v github.com/criteo/nrpe_exporter
cd $GOPATH/src/github.com/criteo/nrpe_exporter
dep ensure -vendor-only
go install

What to expect ?

  1. This project aims to be a complete drop-in replacement for a Nagios based monitoring
  2. At the moment only numerics (float) performance-datas are exported, we plan to support even metric-system ones (ie: size=40GB) in a near future

Example Prometheus scrape-config

scrape_configs:
  
   - job_name: 'nrpe'
     scrape_interval: "60s"
     metrics_path: /run
     params:
         arg: ['10','5']
 #        port: ['5666'] #Default 
         command: ['foo']
     static_configs:
       - targets:
           - server.example.com
     relabel_configs:
       - source_labels: ['__address__']
         target_label: '__param_target'
       - source_labels: ['__param_target']
         target_label: 'instance'
       - target_label: '__address__'
         replacement: "localhost:9235"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package nrpe implements NRPE client/server library for go.
Package nrpe implements NRPE client/server library for go.

Jump to

Keyboard shortcuts

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