Elastic Beat fetching events & status from Icinga 2
Go to file
Blerim Sheqa d667e10439 Update CHANGELOG.md 2022-06-01 14:44:57 +02:00
.github Add GitHub issue template 2017-06-13 20:34:10 +02:00
_meta Remove embedded Kibana dashboards, now deplyoed seperately 2022-06-01 14:39:33 +02:00
beater Migrate beat to go modules 2021-09-22 16:58:34 +02:00
cmd Migrate beat to go modules 2021-09-22 16:58:34 +02:00
config Add option to allow custom CAs 2017-12-20 16:35:22 +01:00
data Remove embedded Kibana dashboards, now deplyoed seperately 2022-06-01 14:39:33 +02:00
docs Update README and About docs 2022-06-01 14:43:16 +02:00
include Remove embedded Kibana dashboards, now deplyoed seperately 2022-06-01 14:39:33 +02:00
screenshots Update README and About docs 2022-06-01 14:43:16 +02:00
tests/system Format code to suite goimports style 2017-12-20 09:27:16 +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 Update CHANGELOG.md 2022-06-01 14:44:57 +02: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 Makefile 2021-09-23 14:17:11 +02:00
NOTICE.txt Rename license file 2018-12-21 11:57:37 +01:00
README.md Update README.md 2021-09-23 14:17:23 +02: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 to libbeat 7.17.4 2022-05-31 10:09:56 +02:00
go.mod Update go modules 2022-05-31 10:54:46 +02:00
go.sum Remove embedded Kibana dashboards, now deplyoed seperately 2022-06-01 14:39:33 +02:00
icingabeat.docker.yml Update for generated files 2021-09-23 12:17:14 +02:00
icingabeat.reference.yml Update to libbeat 7.17.4 2022-05-31 10:09:56 +02:00
icingabeat.yml Update for generated files 2021-09-23 12:17:14 +02:00
magefile.go Remove embedded Kibana dashboards, now deplyoed seperately 2022-06-01 14:39:33 +02: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:

export PLATFORMS="linux/amd64 linux/386"
mage package

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