Commit Graph

30 Commits

Author SHA1 Message Date
Blerim Sheqa 0724c3c4cd Use icinga event timestamp within icinga target 2019-08-16 16:46:10 +02:00
Blerim Sheqa d32627748e Cleanup styles according to goimports' style 2019-01-02 15:40:00 +01:00
Blerim Sheqa 9e1c436410 Fix removal of perfdata in check results 2018-12-21 11:55:55 +01:00
Blerim Sheqa 9f856fc765 Cleanup styles according to goimports' style 2018-12-20 16:49:15 +01:00
Blerim Sheqa 1a80e69145 Move all icinga related fields to an icinga group
fixes #25
fixes #26
fixes #28
2018-12-20 14:36:18 +01:00
Blerim Sheqa 250e248f98 Handle 404 not found status
closes #21
2018-08-08 09:36:05 +02:00
Blerim Sheqa d9d582d921 Remove 'zones' key from statuspoller
closes #20
2018-08-08 09:36:03 +02:00
Blerim Sheqa 9011a0f8eb Add option to allow custom CAs
closes #14
2017-12-20 16:35:22 +01:00
Blerim Sheqa fd5d3e93b3 Close connectionts properly to prevent piling 2017-12-20 12:48:06 +01:00
Blerim Sheqa 33d384bca8 Initialize event vars before using them 2017-12-19 13:20:12 +01:00
Blerim Sheqa 5b6e720df5 Update to new beater event inerface 2017-12-19 13:20:05 +01:00
Blerim Sheqa 8308849924 Moke info logging less chatty 2017-03-15 15:15:59 +01:00
Blerim Sheqa aaaf13c894 Refactor statuspoller processing
This commit introduces processing of the JSON returned by /v1/status.
Perfdata that is represented as a string will be ignored/dropped.
Features that are not enabled are not be forwarded to ES.
2017-01-31 14:37:08 +01:00
Blerim Sheqa 1ea21190d2 Process events to prevent unintended datatypes and field names
fixes #1
2017-01-27 13:58:49 +01:00
Blerim Sheqa 5fda97545f Extend 'type' field with information from icinga api 2017-01-20 14:41:07 +01:00
Blerim Sheqa 02d6e58153 Move retry_interval setting to evenstream namespace 2017-01-18 16:54:49 +01:00
Blerim Sheqa 92fe7baaa2 Add statuspoller functionality
This first implementation intentionally ignores perfdata.
2017-01-03 16:38:41 +01:00
Blerim Sheqa 292049a1aa Make it possible to disable eventstream completely 2017-01-03 10:05:23 +01:00
Blerim Sheqa e981f87635 Add option to skip ssk verification 2017-01-03 09:34:48 +01:00
Blerim Sheqa 32db5bd0e9 Update type field for eventstream 2017-01-02 12:33:44 +01:00
Blerim Sheqa 207fd524c4 Add filter configuration and improve URL handling 2016-12-30 16:00:50 +01:00
Blerim Sheqa ae66968b98 Update config format 2016-12-30 14:44:23 +01:00
Blerim Sheqa 18b5d87dc6 Add configuration for event stream types 2016-12-30 13:37:43 +01:00
Blerim Sheqa f33c3da190 Capture EOF and add option for retry interval 2016-12-30 13:36:55 +01:00
Blerim Sheqa 7bf6c0d2cf Captre authentication error 2016-12-30 13:32:56 +01:00
Blerim Sheqa 6a5d635ea2 Run eventstream in seperate goroutine 2016-12-22 13:40:14 +01:00
Blerim Sheqa ee3ced346c Improve closing actions and connection error handling 2016-12-21 17:23:49 +01:00
Blerim Sheqa 811e7afc94 Check API connection properly 2016-12-21 14:49:18 +01:00
Blerim Sheqa 09dfabda0b First attempt to retreive, parse and push events 2016-12-08 17:19:25 +01:00
Blerim Sheqa 4d119a92a6 Add initial files genereated by cookiecutter 2016-12-02 11:51:44 +01:00