Iapetos

command module
v0.0.0-...-60afc60 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

README

CircleCI Go Report Card

Iapetos

This is a Naemon / Nagios(3/4) / Icinga Prometheus exporter, which gathers information about Nagios and the checks it executes. It's build for the NEB Interface, if the core supports that, it should work.

Supported Cores

  • Naemon
  • Nagios3 without daemon mode!
  • Nagios4
  • Icinga without daemon mode! (Uses the Nagios3 files)

Issue

Nagios3 / Icinga freezes after a few seconds if run in daemon mode: ConSol/go-neb-wrapper#1 There is a fork happening within the core after the module has been loaded, which leads to the problem that Go will not start goroutines anymore.

Installation

Requirements if building from source

  • CGo (tested with 1.7+, but could also work with older versions)
Nagios3 / Nagios4
  • Headerfiles are included
Naemon

Building

  • make build_naemon
  • make build_nagios3
  • make build_nagios4

If no 'make' is available have a look at the Makefile, it's just a shortcut for some go commands

Pre-Build Binaries

If a CI test went well, there is also a binary on circleci, like this one but you have to change to the current build.

The further releases will also contain pre-build x64 binaries.

Configuration

Iapetos

Nothing special here, just the log destination and the port.

logging:
# supported targets: core (core logfile), stdout
  destination : "core"

prometheus:
  address: ":9245"

Save this as config.yaml

Core

Pass the config as parameter, the rest is like every other NEB Module.

broker_module=/path/to/your/bin/iapetos_naemon config_file=/path/to/your/config/config.yaml

Overview

Overview

Grafana Examples

Overview

JSON Dashboard

Overview1 Overview2 Overview3

Check

JSON Dashboard

Check

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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