Categorygithub.com/ConSol-Monitoring/go-neb-wrapper
repositorypackage
0.0.0-20240326082524-03adec30251b
Repository: https://github.com/consol-monitoring/go-neb-wrapper.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-naemon-broker-module

Go Report Card License: GPL v3

What is this

This is an NEB module API for Naemon 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.

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 Naemon can load it.

You will have to install the naemon-dev package in order to find all required c header files.

Naemon:

  • go build -buildmode=c-shared -ldflags "-s -w" -o go-neb-wrapper-example.so