Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/consol-monitoring/go-neb-wrapper
write naemon neb broker modules in golang 🎉
https://github.com/consol-monitoring/go-neb-wrapper
event-broker-module golang golang-library naemon
Last synced: about 2 months ago
JSON representation
write naemon neb broker modules in golang 🎉
- Host: GitHub
- URL: https://github.com/consol-monitoring/go-neb-wrapper
- Owner: ConSol-Monitoring
- License: gpl-3.0
- Created: 2017-03-21T09:43:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T08:25:30.000Z (9 months ago)
- Last Synced: 2024-07-06T09:27:11.880Z (6 months ago)
- Topics: event-broker-module, golang, golang-library, naemon
- Language: Go
- Size: 293 KB
- Stars: 7
- Watchers: 10
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
go-naemon-broker-module
=======================[![Go Report Card](https://goreportcard.com/badge/github.com/ConSol-Monitoring/go-neb-wrapper)](https://goreportcard.com/report/github.com/ConSol-Monitoring/go-neb-wrapper)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)What is this
============This is an NEB module API for [Naemon](http://www.naemon.io) 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](https://github.com/ConSol-Monitoring/go-neb-wrapper/blob/master/main.go)# Modules written with this API
- [Naemon Vault Example](https://github.com/sni/naemon-vault-example)
- [Iapetos](https://github.com/Griesbacher/Iapetos)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