]> granicus.if.org Git - icinga2/log
icinga2
6 years agoRedisWriter: dump all_parents_checksum and all_parents_checksums for zones feature/all_parent_checksums
Alexander A. Klimov [Wed, 8 Aug 2018 12:26:41 +0000 (14:26 +0200)]
RedisWriter: dump all_parents_checksum and all_parents_checksums for zones

6 years agoExpose Zone#all_parents via API
Alexander A. Klimov [Wed, 8 Aug 2018 12:15:01 +0000 (14:15 +0200)]
Expose Zone#all_parents via API

6 years agoRename Zone#GetAllParents() to Zone#GetAllParentsRaw()
Alexander A. Klimov [Wed, 8 Aug 2018 11:59:43 +0000 (13:59 +0200)]
Rename Zone#GetAllParents() to Zone#GetAllParentsRaw()

6 years agoMerge branch 'feature/redis-id-type' into 'feature/redis'
Michael Friedrich [Mon, 6 Aug 2018 09:11:32 +0000 (11:11 +0200)]
Merge branch 'feature/redis-id-type' into 'feature/redis'

RedisWriter: make config object identifiers type-aware

See merge request icingadb/icinga2!4

6 years agoOnly use the type for commands in the object identifier checksum
Michael Friedrich [Mon, 6 Aug 2018 08:55:24 +0000 (10:55 +0200)]
Only use the type for commands in the object identifier checksum

6 years agoRedisWriter: make config object identifiers type-aware
Alexander A. Klimov [Wed, 25 Jul 2018 08:36:33 +0000 (10:36 +0200)]
RedisWriter: make config object identifiers type-aware

SHA1(PackObject([Environment, Type, __name]))

6 years agoMerge branch 'feature/redis-timeperiods' into 'feature/redis'
Michael Friedrich [Mon, 30 Jul 2018 13:37:05 +0000 (15:37 +0200)]
Merge branch 'feature/redis-timeperiods' into 'feature/redis'

Sync ranges_checksum for timeperiods

See merge request icingadb/icinga2!6

6 years agoSync ranges_checksum for timeperiods
Jean Flach [Thu, 26 Jul 2018 13:55:50 +0000 (15:55 +0200)]
Sync ranges_checksum for timeperiods

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
6 years agoMerge branch 'feature/arguments_checksum-14' into 'feature/redis'
Michael Friedrich [Thu, 26 Jul 2018 14:17:56 +0000 (16:17 +0200)]
Merge branch 'feature/arguments_checksum-14' into 'feature/redis'

RedisWriter: compute checksums of command arguments and env vars

Closes #14

See merge request icingadb/icinga2!5

6 years agoMerge branch 'bugfix/dynamic_pointer_cast' into 'feature/redis'
Michael Friedrich [Mon, 23 Jul 2018 16:02:42 +0000 (18:02 +0200)]
Merge branch 'bugfix/dynamic_pointer_cast' into 'feature/redis'

Revert unneccessary dynamic_pointer_cast

See merge request icingadb/icinga2!3

6 years agoRedisWriter: compute checksums of command arguments and env vars
Alexander A. Klimov [Thu, 26 Jul 2018 11:46:36 +0000 (13:46 +0200)]
RedisWriter: compute checksums of command arguments and env vars

refs #14

6 years agoMerge branch 'feature/zone_checksum-for-endpoints-11' into 'feature/redis'
Michael Friedrich [Mon, 23 Jul 2018 14:16:04 +0000 (16:16 +0200)]
Merge branch 'feature/zone_checksum-for-endpoints-11' into 'feature/redis'

RedisWriter: dump zone_checksum for endpoints

Closes #11

See merge request icingadb/icinga2!2

6 years agoRevert unneccessary dynamic_pointer_cast
Alexander A. Klimov [Mon, 23 Jul 2018 15:52:29 +0000 (17:52 +0200)]
Revert unneccessary dynamic_pointer_cast

6 years agoRedisWriter: dump zone_checksum for endpoints
Alexander A. Klimov [Thu, 19 Jul 2018 16:34:40 +0000 (18:34 +0200)]
RedisWriter: dump zone_checksum for endpoints

refs #11

6 years agoMerge branch 'feature/redis-userchecksums' into 'feature/redis'
Michael Friedrich [Fri, 13 Jul 2018 11:19:32 +0000 (13:19 +0200)]
Merge branch 'feature/redis-userchecksums' into 'feature/redis'

Export usergroup(s)_checksum(s)

See merge request icingadb/icinga2!1

6 years agoSimplify host_checksum
Michael Friedrich [Tue, 10 Jul 2018 14:35:32 +0000 (16:35 +0200)]
Simplify host_checksum

6 years agoExport usergroup(s)_checksum(s)
Jean Flach [Thu, 12 Jul 2018 13:05:10 +0000 (15:05 +0200)]
Export usergroup(s)_checksum(s)

Warning: ugly code

6 years agoGitLab CI: use existing Python script
Alexander A. Klimov [Wed, 11 Jul 2018 09:33:19 +0000 (11:33 +0200)]
GitLab CI: use existing Python script

6 years agoAdd 'parent_checksum' for zone objects
Michael Friedrich [Tue, 10 Jul 2018 13:16:04 +0000 (15:16 +0200)]
Add 'parent_checksum' for zone objects

6 years agoAdd command_endpoint, event/check_command, action/notes_url, icon_image checksums...
Michael Friedrich [Tue, 10 Jul 2018 13:15:57 +0000 (15:15 +0200)]
Add command_endpoint, event/check_command, action/notes_url, icon_image checksums for host/service objects

6 years agoAdd 'host_checksum' for services
Michael Friedrich [Tue, 10 Jul 2018 13:14:28 +0000 (15:14 +0200)]
Add 'host_checksum' for services

6 years agoDrop obsolete delete query on config dump
Michael Friedrich [Tue, 10 Jul 2018 09:53:05 +0000 (11:53 +0200)]
Drop obsolete delete query on config dump

6 years agoUpdate Redis prefix namespaces and move their declaration into the class
Michael Friedrich [Tue, 10 Jul 2018 09:09:37 +0000 (11:09 +0200)]
Update Redis prefix namespaces and move their declaration into the class

icinga:config:object:<type>:<sha1>
icinga:config:checksum:<type> <sha1>
icinga:config:customvar:<type> <sha1>

icinga:status:object:<type>:<sha1>

This avoids multiple definitions all over the code. Maybe we want
to make the schema configurable at some point.

6 years agoGitLab CI: adjust Docker image name
Alexander A. Klimov [Tue, 10 Jul 2018 08:31:20 +0000 (10:31 +0200)]
GitLab CI: adjust Docker image name

6 years agoGitLab CI: build Docker image for testing
Alexander A. Klimov [Thu, 5 Jul 2018 15:48:23 +0000 (17:48 +0200)]
GitLab CI: build Docker image for testing

fixes #1

6 years agoFix missing object locks
Michael Friedrich [Wed, 4 Jul 2018 14:44:44 +0000 (16:44 +0200)]
Fix missing object locks

6 years agoRedisWriter: dump custom vars verbosely
Alexander A. Klimov [Tue, 3 Jul 2018 13:52:35 +0000 (15:52 +0200)]
RedisWriter: dump custom vars verbosely

6 years agoSend zone_checksum globally, if 'zone' attribute is set
Michael Friedrich [Tue, 3 Jul 2018 12:57:09 +0000 (14:57 +0200)]
Send zone_checksum globally, if 'zone' attribute is set

6 years agoOnly sync zone_checksum when object in zone
Jean Flach [Tue, 3 Jul 2018 11:30:10 +0000 (13:30 +0200)]
Only sync zone_checksum when object in zone

6 years agoAdd zone checksum for redis to checkables
Jean Flach [Mon, 2 Jul 2018 07:37:23 +0000 (09:37 +0200)]
Add zone checksum for redis to checkables

6 years agoFix error handling for GetSubscriptionTypes()
Michael Friedrich [Thu, 28 Jun 2018 15:38:32 +0000 (17:38 +0200)]
Fix error handling for GetSubscriptionTypes()

6 years agoRedisWriter: dump endpoints' zones' identifiers (zone_checksum)
Alexander A. Klimov [Mon, 25 Jun 2018 15:13:13 +0000 (17:13 +0200)]
RedisWriter: dump endpoints' zones' identifiers (zone_checksum)

6 years agoRedisWriter: fix checksums of disappeared config objects not being deleted
Alexander A. Klimov [Mon, 25 Jun 2018 07:58:08 +0000 (09:58 +0200)]
RedisWriter: fix checksums of disappeared config objects not being deleted

6 years agoRedisWriter: fix disappeared config objects not being deleted
Alexander A. Klimov [Fri, 22 Jun 2018 15:57:36 +0000 (17:57 +0200)]
RedisWriter: fix disappeared config objects not being deleted

6 years agoRedisWriter#UpdateAllConfigObjects(): use one transaction per config object type
Alexander A. Klimov [Fri, 22 Jun 2018 15:44:27 +0000 (17:44 +0200)]
RedisWriter#UpdateAllConfigObjects(): use one transaction per config object type

6 years agoRedisWriter: sync all config objects atomically
Alexander A. Klimov [Fri, 22 Jun 2018 15:29:47 +0000 (17:29 +0200)]
RedisWriter: sync all config objects atomically

6 years agoRedisWriter: dump monitored objects' groups' identifiers (group_checksums)
Alexander A. Klimov [Fri, 22 Jun 2018 15:19:25 +0000 (17:19 +0200)]
RedisWriter: dump monitored objects' groups' identifiers (group_checksums)

6 years agoRedisWriter: dump also environment_checksum (per config object)
Alexander A. Klimov [Fri, 22 Jun 2018 14:18:22 +0000 (16:18 +0200)]
RedisWriter: dump also environment_checksum (per config object)

6 years agoRedisWriter: identify config objects by SHA1(PackObject([Environment, __name]))
Alexander A. Klimov [Fri, 22 Jun 2018 13:55:19 +0000 (15:55 +0200)]
RedisWriter: identify config objects by SHA1(PackObject([Environment, __name]))

6 years agoAdd all stats similar to /v1/status
Michael Friedrich [Fri, 8 Jun 2018 10:47:45 +0000 (12:47 +0200)]
Add all stats similar to /v1/status

6 years agoMove stats into a separate file
Michael Friedrich [Fri, 8 Jun 2018 09:38:36 +0000 (11:38 +0200)]
Move stats into a separate file

6 years agoRedisWriter: compute name_checksum as expected
Alexander A. Klimov [Fri, 8 Jun 2018 10:02:27 +0000 (12:02 +0200)]
RedisWriter: compute name_checksum as expected

6 years agoCentralize identifier computation
Alexander A. Klimov [Fri, 8 Jun 2018 09:46:45 +0000 (11:46 +0200)]
Centralize identifier computation

6 years agoRedisWriter: use __name as object key
Alexander A. Klimov [Thu, 7 Jun 2018 10:53:05 +0000 (12:53 +0200)]
RedisWriter: use __name as object key

6 years agoRedisWriter: checksum package, source_location and templates separately in metadata_c...
Alexander A. Klimov [Thu, 7 Jun 2018 10:49:38 +0000 (12:49 +0200)]
RedisWriter: checksum package, source_location and templates separately in metadata_checksum

6 years agoRedisWriter: Explicitly checksum Zone#endpoints
Alexander A. Klimov [Wed, 6 Jun 2018 10:31:41 +0000 (12:31 +0200)]
RedisWriter: Explicitly checksum Zone#endpoints

6 years agoRedisWriter: Exclude explicitly checksummed properties from properties_checksum
Alexander A. Klimov [Tue, 5 Jun 2018 14:46:02 +0000 (16:46 +0200)]
RedisWriter: Exclude explicitly checksummed properties from properties_checksum

6 years agoRedisWriter: use one checksum algo for everything
Alexander A. Klimov [Tue, 5 Jun 2018 13:30:31 +0000 (15:30 +0200)]
RedisWriter: use one checksum algo for everything

6 years agoRedisWriter: Pack objects consistently for hashing
Alexander A. Klimov [Tue, 5 Jun 2018 13:01:43 +0000 (15:01 +0200)]
RedisWriter: Pack objects consistently for hashing

6 years agoChecksums
Michael Friedrich [Mon, 4 Jun 2018 13:42:33 +0000 (15:42 +0200)]
Checksums

6 years agoWIP
Michael Friedrich [Mon, 4 Jun 2018 08:06:41 +0000 (10:06 +0200)]
WIP

6 years agoEnsure that arrays are sorted for checksum calculation
Michael Friedrich [Tue, 29 May 2018 12:19:32 +0000 (14:19 +0200)]
Ensure that arrays are sorted for checksum calculation

6 years agoImplement config object check sums, shot one
Michael Friedrich [Tue, 29 May 2018 12:19:18 +0000 (14:19 +0200)]
Implement config object check sums, shot one

6 years agoEnsure that type names are lower cases for Redis lookups
Michael Friedrich [Tue, 29 May 2018 10:54:44 +0000 (12:54 +0200)]
Ensure that type names are lower cases for Redis lookups

6 years agoMove UpdateObjectAttrs into the objects scope
Michael Friedrich [Tue, 29 May 2018 10:54:14 +0000 (12:54 +0200)]
Move UpdateObjectAttrs into the objects scope

6 years agoRename source file
Michael Friedrich [Wed, 23 May 2018 14:27:47 +0000 (16:27 +0200)]
Rename source file

6 years agoCompile redis into the icinga2 binary; apply more C++11 code changes
Michael Friedrich [Tue, 15 May 2018 15:18:04 +0000 (17:18 +0200)]
Compile redis into the icinga2 binary; apply more C++11 code changes

6 years agoApply code style
Michael Friedrich [Tue, 15 May 2018 12:43:01 +0000 (14:43 +0200)]
Apply code style

6 years agoPublish events to one enpoint
Jean Flach [Mon, 16 Oct 2017 10:03:49 +0000 (12:03 +0200)]
Publish events to one enpoint

6 years agoUpdate docs
Jean Flach [Mon, 16 Oct 2017 10:03:16 +0000 (12:03 +0200)]
Update docs

6 years agoAdd limit for subscriptions
Jean Flach [Thu, 12 Oct 2017 15:46:06 +0000 (17:46 +0200)]
Add limit for subscriptions

6 years agoUse sets for subscriptions
Gunnar Beutner [Thu, 12 Oct 2017 09:47:49 +0000 (11:47 +0200)]
Use sets for subscriptions

refs #5656

6 years agoImplement support for the new config/state schema
Gunnar Beutner [Thu, 12 Oct 2017 06:51:13 +0000 (08:51 +0200)]
Implement support for the new config/state schema

fixes #5671

6 years agoImplement pipelining support for Redis queries
Gunnar Beutner [Thu, 12 Oct 2017 06:34:17 +0000 (08:34 +0200)]
Implement pipelining support for Redis queries

fixes #5670

6 years agoSubscriptions
Jean Flach [Wed, 11 Oct 2017 14:03:43 +0000 (16:03 +0200)]
Subscriptions

fixes #5656

6 years agoTrim event queue
Jean Flach [Wed, 11 Oct 2017 12:19:42 +0000 (14:19 +0200)]
Trim event queue

TODO: make configurable

refs #5119

6 years agoAdd development notes
Jean Flach [Tue, 10 Oct 2017 10:03:03 +0000 (12:03 +0200)]
Add development notes

6 years agoClean up the code a bit
Gunnar Beutner [Mon, 2 Oct 2017 08:05:56 +0000 (10:05 +0200)]
Clean up the code a bit

6 years agoEnsure that the WorkQueue name is set
Gunnar Beutner [Mon, 2 Oct 2017 07:59:11 +0000 (09:59 +0200)]
Ensure that the WorkQueue name is set

6 years agoRedis support (WIP)
Gunnar Beutner [Mon, 25 Sep 2017 12:41:43 +0000 (14:41 +0200)]
Redis support (WIP)

6 years agoMerge pull request #6410 from Icinga/remove-dead-code
Michael Friedrich [Fri, 27 Jul 2018 13:56:52 +0000 (15:56 +0200)]
Merge pull request #6410 from Icinga/remove-dead-code

Remove unused code

6 years agoMerge pull request #6494 from Icinga/feature/object-packer-test
Michael Friedrich [Fri, 27 Jul 2018 13:47:02 +0000 (15:47 +0200)]
Merge pull request #6494 from Icinga/feature/object-packer-test

Test PackObject

6 years agoFix prefix in unit tests for object packer 6494/head
Michael Friedrich [Wed, 6 Jun 2018 15:32:40 +0000 (17:32 +0200)]
Fix prefix in unit tests for object packer

6 years agoTest PackObject
Alexander A. Klimov [Wed, 6 Jun 2018 14:27:33 +0000 (16:27 +0200)]
Test PackObject

6 years agoMerge pull request #6489 from Icinga/feature/object-packer
Michael Friedrich [Fri, 27 Jul 2018 10:49:28 +0000 (12:49 +0200)]
Merge pull request #6489 from Icinga/feature/object-packer

Implement object packer for consistent hashing

6 years agoMerge pull request #6488 from Allandor/fix/service-template-typo-cert
Michael Friedrich [Fri, 27 Jul 2018 09:50:56 +0000 (11:50 +0200)]
Merge pull request #6488 from Allandor/fix/service-template-typo-cert

Fix typo with the CheckCommand cert

6 years agoMerge pull request #6491 from chrostek/feature/itl-vmware-health
Michael Friedrich [Fri, 27 Jul 2018 09:50:18 +0000 (11:50 +0200)]
Merge pull request #6491 from chrostek/feature/itl-vmware-health

Feature/itl vmware health

6 years agoAdd exclude/include to vmware-esx-soap-host-runtime docs 6491/head
chrostek [Thu, 26 Jul 2018 18:43:04 +0000 (20:43 +0200)]
Add exclude/include to vmware-esx-soap-host-runtime docs

6 years agoAdd exclude/include to vmware-esx-soap-host-runtime
chrostek [Thu, 26 Jul 2018 18:41:56 +0000 (20:41 +0200)]
Add exclude/include to vmware-esx-soap-host-runtime

6 years agoFix heading level for ITL ssl_cert documentation 6488/head
Michael Insel [Thu, 26 Jul 2018 18:33:49 +0000 (20:33 +0200)]
Fix heading level for ITL ssl_cert documentation

Use heading level four instead of three.

6 years agoImplement object packer for consistent hashing 6489/head
Alexander A. Klimov [Tue, 5 Jun 2018 13:01:43 +0000 (15:01 +0200)]
Implement object packer for consistent hashing

6 years agoMerge pull request #6490 from Icinga/revert-6414-feature/icinga-envs
Michael Friedrich [Thu, 26 Jul 2018 15:19:04 +0000 (17:19 +0200)]
Merge pull request #6490 from Icinga/revert-6414-feature/icinga-envs

Revert "Implement support for the --env command-line argument"

6 years agoRevert "Implement support for the --env command-line argument" 6490/head
Markus Frosch [Thu, 26 Jul 2018 15:09:06 +0000 (17:09 +0200)]
Revert "Implement support for the --env command-line argument"

6 years agoFix typo with the CheckCommand cert
Sebastian Eikenberg [Thu, 26 Jul 2018 13:00:56 +0000 (15:00 +0200)]
Fix typo with the CheckCommand cert
ITL plugin uses ssl_cert

6 years agoMerge pull request #6414 from Icinga/feature/icinga-envs
Michael Friedrich [Thu, 26 Jul 2018 08:09:42 +0000 (10:09 +0200)]
Merge pull request #6414 from Icinga/feature/icinga-envs

Implement support for the --env command-line argument

6 years agoMerge pull request #6110 from gunnarbeutner/feature/for-loop-var
Michael Friedrich [Thu, 26 Jul 2018 08:05:17 +0000 (10:05 +0200)]
Merge pull request #6110 from gunnarbeutner/feature/for-loop-var

Implement support for optionally specifying the 'var' keyword in 'for' loops

6 years agoMerge pull request #6475 from dh-harald/master
Michael Friedrich [Thu, 26 Jul 2018 08:03:57 +0000 (10:03 +0200)]
Merge pull request #6475 from dh-harald/master

lib->compat->statusdatawriter: fix notifications_enabled

6 years agoMerge pull request #6386 from Icinga/fix/timeperiods-do-not-clear-after-restart
Michael Friedrich [Thu, 26 Jul 2018 08:02:46 +0000 (10:02 +0200)]
Merge pull request #6386 from Icinga/fix/timeperiods-do-not-clear-after-restart

Fix that TimePeriod segments are not cleared on restart

6 years agoMerge pull request #6408 from Icinga/bugfix/objectlock-unlock-m_lockowner
Michael Friedrich [Thu, 26 Jul 2018 08:02:26 +0000 (10:02 +0200)]
Merge pull request #6408 from Icinga/bugfix/objectlock-unlock-m_lockowner

ObjectLock#Unlock(): don't reset m_Object->m_LockOwner too early

6 years agoMerge pull request #6379 from Icinga/global-zone-validation
Michael Friedrich [Thu, 26 Jul 2018 08:01:46 +0000 (10:01 +0200)]
Merge pull request #6379 from Icinga/global-zone-validation

Throw config error when using global zones as parent

6 years agoMerge pull request #6455 from Icinga/feature/filelogger-started
Michael Friedrich [Thu, 26 Jul 2018 08:01:06 +0000 (10:01 +0200)]
Merge pull request #6455 from Icinga/feature/filelogger-started

Log something when the Filelogger has been started

6 years agoMerge pull request #6430 from Icinga/fix/workqueue-log-message
Michael Friedrich [Thu, 26 Jul 2018 07:59:53 +0000 (09:59 +0200)]
Merge pull request #6430 from Icinga/fix/workqueue-log-message

Fix negative 'empty in' value in WorkQueue log message

6 years agoMerge pull request #6440 from Icinga/bugfix/typo
Michael Friedrich [Thu, 26 Jul 2018 07:59:20 +0000 (09:59 +0200)]
Merge pull request #6440 from Icinga/bugfix/typo

Fix typo

6 years agoMerge pull request #6456 from Icinga/feature/logger-flush-dev
Michael Friedrich [Thu, 26 Jul 2018 07:58:59 +0000 (09:58 +0200)]
Merge pull request #6456 from Icinga/feature/logger-flush-dev

Keep notes for immediately log flushing

6 years agoMerge pull request #6458 from Icinga/bugfix/configitem-debug-log
Michael Friedrich [Thu, 26 Jul 2018 07:57:19 +0000 (09:57 +0200)]
Merge pull request #6458 from Icinga/bugfix/configitem-debug-log

Fix debug build log entry for ConfigItem activation priority

6 years agoMerge pull request #6487 from Icinga/bugfix/discard-warning-6485
Michael Friedrich [Thu, 26 Jul 2018 07:52:33 +0000 (09:52 +0200)]
Merge pull request #6487 from Icinga/bugfix/discard-warning-6485

Fix "Discard" message being warning

6 years agoFix "Discard" message being warning 6487/head
Jean Flach [Thu, 26 Jul 2018 07:39:03 +0000 (09:39 +0200)]
Fix "Discard" message being warning

7 years agoMerge branch 'support/2.9'
Michael Friedrich [Tue, 24 Jul 2018 10:53:23 +0000 (12:53 +0200)]
Merge branch 'support/2.9'

7 years agoRelease version 2.9.1
Michael Friedrich [Tue, 24 Jul 2018 10:48:12 +0000 (12:48 +0200)]
Release version 2.9.1

7 years agoRelease version 2.9.1 v2.9.1
Michael Friedrich [Tue, 24 Jul 2018 10:48:12 +0000 (12:48 +0200)]
Release version 2.9.1