Elastic Beat fetching events & status from Icinga 2
Go to file
Blerim Sheqa 6a77caeb37 Release version 7.5.2 2020-02-26 15:35:03 +01:00
.github Add GitHub issue template 2017-06-13 20:34:10 +02:00
_meta Update generated files 2020-02-26 15:14:18 +01:00
beater Use icinga event timestamp within icinga target 2019-08-16 16:46:10 +02:00
cmd Cleanup styles according to goimports' style 2019-08-15 14:26:08 +02:00
config Add option to allow custom CAs 2017-12-20 16:35:22 +01:00
data Update documentation 2017-12-22 13:11:42 +01:00
docs Update generated files 2019-11-07 09:46:03 +01:00
include Update generated files 2019-11-07 09:46:03 +01:00
screenshots Update documentation 2017-12-22 13:11:42 +01:00
tests/system Format code to suite goimports style 2017-12-20 09:27:16 +01:00
vendor/github.com Update to libbeat 7.5.2 2020-02-26 15:13:52 +01:00
.gitignore Update config format 2016-12-30 14:44:23 +01:00
.mailmap Update AUTHORS 2017-01-02 17:24:08 +01:00
.travis.yml Update TravisCI config 2020-02-26 15:24:12 +01:00
AUTHORS Update AUTHORS 2019-11-07 13:53:55 +01:00
CHANGELOG.md Release version 7.5.2 2020-02-26 15:35:03 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2017-03-15 11:39:01 +01:00
LICENSE.txt Rename license file 2018-12-21 11:57:37 +01:00
Makefile Update metadata for packages 2019-08-16 09:57:39 +02:00
NOTICE.txt Rename license file 2018-12-21 11:57:37 +01:00
README.md Update README.md 2020-02-26 15:33:45 +01:00
RELEASE.md Update RELEASE.md 2019-01-03 08:55:12 +01:00
dashboards.yml Fix CheckResults dashboard filename 2019-08-20 08:47:42 +02:00
fields.yml Update generated files 2019-11-07 09:46:03 +01:00
icingabeat.docker.yml Update generated files 2020-02-26 15:14:18 +01:00
icingabeat.reference.yml Update generated files 2020-02-26 15:14:18 +01:00
icingabeat.yml Update generated files 2020-02-26 15:14:18 +01:00
magefile.go Update magefile according to changes in beats 2020-02-26 15:15:04 +01:00
main.go Include generated fields into icingabeat binary 2019-08-16 15:45:50 +02:00
main_test.go Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00

README.md

Build Status

Icingabeat

The Beats are lightweight data shippers, written in Go, that you install on your servers to capture all sorts of operational data (think of logs, metrics, or network packet data). The Beats send the operational data to Elasticsearch, either directly or via Logstash, so it can be visualized with Kibana.

Icingabeat is an Elastic Beat that fetches data from the Icinga 2 API and sends it either directly to Elasticsearch or Logstash.

icingabeat-checkresult-dashboard

Documentation

Please read the documentation on icinga.com/docs/icingabeat/latest for more information

Development

Building and running manually

Requirements

Clone

To clone Icingabeat from the git repository, run the following commands:

mkdir -p ${GOPATH}/github.com/icinga
cd ${GOPATH}/github.com/icinga
git clone https://github.com/icinga/icingabeat

For further development check out the beat developer guide.

Build

Ensure that this folder is at the following location: ${GOPATH}/github.com/icinga

To build the binary for Icingabeat run the command below. This will generate a binary in the same directory with the name icingabeat.

mage build

Run

To run Icingabeat with debugging output enabled, run:

./icingabeat -c icingabeat.yml -e -d "*"

Packaging

The beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires docker and vendoring as described above. To build packages of your beat, run the following command:

mage package

This will fetch and create all images required for the build process. The whole process can take several minutes to finish.