icinga2/lib
Thomas Gelf ed2ebdf0d0 RedisWriter: publish Icinga 2 stats as a simple "keepalive"
Use case: a reader subscribes to config changes. As they happen rarely, chances
are good that the connection will time out in the meantime. Now, a reconnect is
easy - but you wouldn't know whether you missed any config changes. So you are
required to issue a new sync to be on the safe side. Given a 60sec connection
timeout (think: SSL layer, firewalls etc) when no traffic happens this would be
too expensive.

Some kind of a heartbeat available for subscription would allow subscribers to
artificially keep the connection alive. As a first simple solution to this I'd
suggest to publish CIB data, that might be useful anyways.

refs #4991
fixes #5098

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-29 10:17:03 +02:00
..
base Fix crash in SHA1 2017-03-29 10:17:03 +02:00
checker Add logging for started/stopped features 2017-02-08 15:40:27 +01:00
cli Give only CLI warnings if feature is already disabled 2017-02-02 14:17:47 +01:00
compat Improve handling for missing start_time and finish_time values 2017-03-15 10:41:08 +01:00
config Improve function metadata by adding arguments 2017-03-27 14:43:19 +02:00
db_ido Improve function metadata by adding arguments 2017-03-27 14:43:19 +02:00
db_ido_mysql IDO: Do not terminate Icinga 2 if the database schema version does not match 2017-03-28 10:16:07 +02:00
db_ido_pgsql IDO: Do not terminate Icinga 2 if the database schema version does not match 2017-03-28 10:16:07 +02:00
demo Ensure that *.icinga.com is used everywhere 2017-01-10 17:19:12 +01:00
hello Ensure that *.icinga.com is used everywhere 2017-01-10 17:19:12 +01:00
icinga Add missing arguments 2017-03-28 13:24:21 +02:00
livestatus Add logging for started/stopped features 2017-02-08 15:40:27 +01:00
methods Improve function metadata by adding arguments 2017-03-27 14:43:19 +02:00
notification Add logging for started/stopped features 2017-02-08 15:40:27 +01:00
perfdata Review LogstashWriter feature implementation 2017-03-20 14:30:03 +01:00
redis RedisWriter: publish Icinga 2 stats as a simple "keepalive" 2017-03-29 10:17:03 +02:00
remote Clean up the code a bit 2017-03-29 10:17:03 +02:00
CMakeLists.txt Add RedisWriter class 2017-02-09 16:40:11 +01:00