This is a Nagios / Naemon 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.
Currently it only works with Naemon. Nagios3 freezes after a few seconds if run in daemon mode: ConSol/go-neb-wrapper#1
- CGo (tested with 1.7+, but could also work with older versions)
- Headerfiles are included
- Naemon dev package, for headerfiles, see http://www.naemon.org
- 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
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, which I can't link.
Nothing special here, just the log destination and the port.
logging:
# supported targets: core (core logfile), stdout
destination : "core"
prometheus:
address: ":9245"
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