| cmd/nrpe | ||
| .gitignore | ||
| .gogogo.conf | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| README.md | ||
Go-NRPE
This is a simple replacement for the NRPE tools (server/client) that are used for Icinga/Nagios remote checks.
I wrote this, because we ran into issues with current NRPE clients and legacy NRPE servers. Their protocol and SSL versions were not compatible with each other.
Currently only the server is implemented and should be feature complete.
Server
The server aims to be a drop-in replacement for the legacy nrped. We
use this replacement in production on old i386, amd64 and ARM Debian
GNU/Linux systems (old means: Debian 7, 8, 9).
Build
Clone this repo (it includes 3rd party dependencies already) and then use the provided Makefiles:
Either in the toplevel directory (builds for Linux/amd64 and Linux/386):
make all
Or make the build for the OS and architecture you need:
GOOS=<os> GOARCH=<arch> make -C cmd/nrpe
Currently only the following combinartions are known to work:
| GOOS/GOARCH | 386 | amd64 | arm |
|---|---|---|---|
| linux | ✔️ | ✔️ | ✔️ |
| darwin | ✔️ | ✔️ | ❌ |
¹) With Go1.14 I run unto a kernel bug (mlock) on at least one Ubuntu
machine using 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux.
Using Go1.16 works until now.