Commit Graph

14 Commits

Author SHA1 Message Date
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 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 6a5d635ea2 Run eventstream in seperate goroutine 2016-12-22 13:40:14 +01:00