go-neb-wrapper

command module
v0.0.0-...-42e4d17 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

README

go-naemon-broker-module

Go Report Card

What is this

This is an NEB module API for Naemon / Nagios written in Golang. This allows you to write NEB modules in Golang, which is otherwise only possible in C / C++.

It is using CGo therefor this is not plain Go, there you have to be careful, if you want to write a module.

Limitations

This API works with:

  • Naemon
  • Nagios 4

Nagios 3 and Icinga 1 are only working without the daemon mode!

Minimalistic-Example

main.go

Modules written with this API

If you have written a module yourself, let us know.

Build

The module has to be compiled as shared library so Nagios can load it.

Naemon:

  • go build -tags naemon -buildmode=c-shared -ldflags "-s -w"

Nagios 3:

  • go build -tags nagios3 -buildmode=c-shared -ldflags "-s -w"

Nagios 4:

  • go build -tags nagios4 -buildmode=c-shared -ldflags "-s -w"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
neb

Jump to

Keyboard shortcuts

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