]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Mon, 15 Jan 2018 14:13:49 +0000 (15:13 +0100)]
Add query thresholds for the 'ido' check: Rate and pending queries
fixes #3924
Michael Friedrich [Mon, 15 Jan 2018 12:51:07 +0000 (13:51 +0100)]
Merge pull request #5903 from Icinga/fix/cleanup-compatutility
Cleanup CompatUtility class and features
Michael Friedrich [Thu, 21 Dec 2017 14:45:11 +0000 (15:45 +0100)]
Remove obsolete locks in Livestatus; apply style guide to DB IDO
Michael Friedrich [Thu, 21 Dec 2017 11:12:06 +0000 (12:12 +0100)]
Eliminate time(NULL) in StatusDataWriter
Michael Friedrich [Thu, 21 Dec 2017 11:08:42 +0000 (12:08 +0100)]
More cleanup for compat filters in DB IDO
Michael Friedrich [Thu, 21 Dec 2017 11:00:42 +0000 (12:00 +0100)]
Clean up DB IDO events code
Michael Friedrich [Thu, 21 Dec 2017 09:32:39 +0000 (10:32 +0100)]
DB IDO: Clean up code and group CompatUtility calls
Michael Friedrich [Thu, 21 Dec 2017 08:57:21 +0000 (09:57 +0100)]
DB IDO: Don't send empty columns in queries
Michael Friedrich [Thu, 21 Dec 2017 08:41:49 +0000 (09:41 +0100)]
DB IDO: Remove check_command_args column
The populated value is not entirely correct, and pulls in lots
of compat code.
Michael Friedrich [Thu, 21 Dec 2017 08:36:51 +0000 (09:36 +0100)]
Move CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature
Michael Friedrich [Thu, 21 Dec 2017 08:24:04 +0000 (09:24 +0100)]
Move CompatUtility::GetHostStateString() logic into DB IDO and CompatLogger features
Michael Friedrich [Thu, 21 Dec 2017 08:13:47 +0000 (09:13 +0100)]
GelfWriter should write the host notification output
No idea why there was a hardcoded unreachable message inside.
Michael Friedrich [Thu, 21 Dec 2017 08:12:12 +0000 (09:12 +0100)]
Move CompatUtility::GetHostCurrentState() logic into DB IDO and StatusData features
Michael Friedrich [Thu, 21 Dec 2017 07:57:36 +0000 (08:57 +0100)]
Move the IDO specific compat notification filter logic into the feature
Michael Friedrich [Wed, 20 Dec 2017 15:46:50 +0000 (16:46 +0100)]
Drop CompatUtility::GetCheckable*Interval() and hardcode their minute representation in compat features
Michael Friedrich [Thu, 7 Dec 2017 10:42:39 +0000 (11:42 +0100)]
Clean header includes in CompatUtility class
Michael Friedrich [Thu, 7 Dec 2017 10:29:39 +0000 (11:29 +0100)]
Add inventory as comments where the left-over functions are actually used.
Michael Friedrich [Wed, 6 Dec 2017 16:49:53 +0000 (17:49 +0100)]
Drop CompatUtility::GetCheckableCheckPeriod()
Michael Friedrich [Wed, 6 Dec 2017 16:34:09 +0000 (17:34 +0100)]
Move CompatUtility::GetCheckableInCheckPeriod() into Livestatus feature
Michael Friedrich [Wed, 6 Dec 2017 16:17:47 +0000 (17:17 +0100)]
Move notification options wrapper into StatusDataWriter
That's the only location which requires the old mapping.
Michael Friedrich [Wed, 6 Dec 2017 16:03:56 +0000 (17:03 +0100)]
Drop CompatUtility::GetCheckResultPerfdata()
Michael Friedrich [Wed, 6 Dec 2017 15:39:22 +0000 (16:39 +0100)]
Move more compatibility mappings into DB IDO
Michael Friedrich [Wed, 6 Dec 2017 15:18:26 +0000 (16:18 +0100)]
Move ConvertTimestamp functionality into DB IDO
This is the only place where the timestamp is split into
sec and usec.
Michael Friedrich [Wed, 6 Dec 2017 14:51:19 +0000 (15:51 +0100)]
Drop useless CompatUtility::GetCustomAttributeConfig() wrapper
Michael Friedrich [Wed, 6 Dec 2017 14:42:39 +0000 (15:42 +0100)]
Drop dead CompatUtility::GetCustomAttributeConfig
Michael Friedrich [Wed, 6 Dec 2017 14:35:27 +0000 (15:35 +0100)]
Drop Freshness wrappers from CompatUtility class
Michael Friedrich [Tue, 5 Dec 2017 18:51:34 +0000 (19:51 +0100)]
Remove more redundant wrappers from CompatUtility class
Michael Friedrich [Tue, 5 Dec 2017 18:30:45 +0000 (19:30 +0100)]
Drop CompatUtility::*Command helpers
Michael Friedrich [Tue, 5 Dec 2017 17:53:22 +0000 (18:53 +0100)]
Drop dead code in Livestatus feature
Michael Friedrich [Tue, 5 Dec 2017 14:28:08 +0000 (15:28 +0100)]
Replace CompatUtility's enabled wrappers with native implementation getters
Many conversions were not necessary, or could be dealt inside the actual
feature. libcompat and liblivestatus can take care about such specifics
on their own, lib_db_ido doesn't need boolean conversion in fields, that
is done inside the db driver.
Michael Friedrich [Tue, 5 Dec 2017 13:23:15 +0000 (14:23 +0100)]
Drop CompatUtility::GetCheckableHasBeenChecked() and use Checkable::HasBeenChecked()
Michael Friedrich [Tue, 5 Dec 2017 13:17:57 +0000 (14:17 +0100)]
Drop CompatUtility::GetCheckableAcknowledgementType()
This already returns an integer.
Michael Friedrich [Tue, 5 Dec 2017 12:35:09 +0000 (13:35 +0100)]
Move CompatUtility::GetCheckableProblemHasBeenAcknowledged() into feature specific dumps
Michael Friedrich [Tue, 5 Dec 2017 10:34:38 +0000 (11:34 +0100)]
Move CompatUtility::GetCheckableCheckType() into IDO/Livestatus features
It is just boolean mapping to numbers, each modules does that in a sort of different way.
DB IDO automatically transforms boolean to numbers.
Livestatus would return JSON which keeps true booleans, but requires a number (just a guess,
there is no spec for this message format).
Michael Friedrich [Mon, 4 Dec 2017 15:52:52 +0000 (16:52 +0100)]
Move CompatUtility::GetHostAlias into DB IDO host object method
This is the only place where this mapping is used.
Gunnar Beutner [Mon, 15 Jan 2018 10:36:54 +0000 (11:36 +0100)]
Merge pull request #5940 from Icinga/fix/chocolatey
Remove deprecated Chocolatey functions
Gunnar Beutner [Mon, 15 Jan 2018 09:04:22 +0000 (10:04 +0100)]
Merge pull request #5888 from Icinga/feature/mariadbclient
FindMySQL: Support mariadbclient implementation
Gunnar Beutner [Fri, 12 Jan 2018 20:37:41 +0000 (21:37 +0100)]
Merge pull request #5972 from cstegm/patch-2
Update 08-advanced-topics.md
Michael Friedrich [Fri, 12 Jan 2018 10:39:50 +0000 (11:39 +0100)]
Merge pull request #5974 from Icinga/fix/icingachecktask-buildfix
Fix non-unity builds with the icinga check
Michael Friedrich [Fri, 12 Jan 2018 10:03:49 +0000 (11:03 +0100)]
Fix non-unity builds with the icinga check
refs #5958
cstegm [Thu, 11 Jan 2018 15:48:40 +0000 (16:48 +0100)]
Update 08-advanced-topics.md
fixed typo
Michael Friedrich [Thu, 11 Jan 2018 12:52:01 +0000 (13:52 +0100)]
Merge pull request #5971 from Icinga/feature/remove-demo
Remove libdemo and libhello
Michael Friedrich [Thu, 11 Jan 2018 12:50:23 +0000 (13:50 +0100)]
Merge pull request #5970 from Icinga/feature/stack-allocate-configitembuilder
Allocate ConfigItemBuilder objects on the stack
Michael Friedrich [Thu, 11 Jan 2018 12:38:40 +0000 (13:38 +0100)]
Merge pull request #5969 from Icinga/feature/wq-stats-mutex
Remove the WorkQueue::m_StatsMutex instance variable
Michael Friedrich [Thu, 11 Jan 2018 12:37:35 +0000 (13:37 +0100)]
Merge pull request #5968 from Icinga/feature/ringbuffer-mutex
Update the RingBuffer class to use a regular mutex instead of ObjectLock
Michael Friedrich [Thu, 11 Jan 2018 12:36:29 +0000 (13:36 +0100)]
Merge pull request #5967 from Icinga/feature/lazy-accessors
Avoid accessing attributes for validators where not necessary
Gunnar Beutner [Thu, 11 Jan 2018 12:29:11 +0000 (13:29 +0100)]
Remove libdemo and libhello
Gunnar Beutner [Wed, 10 Jan 2018 16:20:33 +0000 (17:20 +0100)]
Allocate ConfigItemBuilder objects on the stack
Gunnar Beutner [Thu, 11 Jan 2018 09:47:55 +0000 (10:47 +0100)]
Remove the WorkQueue::m_StatsMutex instance variable
Gunnar Beutner [Wed, 10 Jan 2018 15:44:48 +0000 (16:44 +0100)]
Update the RingBuffer class to use a regular mutex instead of ObjectLock
Michael Friedrich [Thu, 11 Jan 2018 08:37:19 +0000 (09:37 +0100)]
Merge pull request #5965 from Icinga/feature/json-casts
Avoid unnecessary casts in the JSON encoder
Gunnar Beutner [Thu, 11 Jan 2018 06:08:09 +0000 (07:08 +0100)]
Avoid accessing attributes for validators where not necessary
Gunnar Beutner [Thu, 11 Jan 2018 06:29:34 +0000 (07:29 +0100)]
Avoid unnecessary casts in the JSON encoder
Michael Friedrich [Tue, 9 Jan 2018 08:33:07 +0000 (09:33 +0100)]
Merge pull request #5961 from Icinga/fix/min-version-warning
Fix macro warning from the icinga check
Gunnar Beutner [Tue, 9 Jan 2018 08:16:59 +0000 (09:16 +0100)]
Fix macro warning from the icinga check
Gunnar Beutner [Tue, 9 Jan 2018 04:32:17 +0000 (05:32 +0100)]
Merge pull request #5958 from Icinga/feature/icinga-check-min-version
Add minimum version check to the built-in icinga command
Gunnar Beutner [Tue, 9 Jan 2018 04:12:31 +0000 (05:12 +0100)]
Merge pull request #5959 from Icinga/feature/api-pretty
API: Add 'pretty' parameter for beautified JSON response bodies
Gunnar Beutner [Tue, 9 Jan 2018 03:58:25 +0000 (04:58 +0100)]
Merge pull request #5957 from mcktr/fix/year-2017-reference
Change a bunch more copyright headers for 2018
Michael Friedrich [Wed, 20 Dec 2017 14:31:05 +0000 (15:31 +0100)]
API: Add 'pretty' parameter for beautified JSON response bodies
fixes #5877
Michael Friedrich [Mon, 8 Jan 2018 18:44:54 +0000 (19:44 +0100)]
Add minimum version check to the built-in icinga command
fixes #3998
Michael Insel [Mon, 8 Jan 2018 17:05:12 +0000 (18:05 +0100)]
Change a bunch more copyright headers for 2018
This changes more copyright headers for 2018.
Michael Friedrich [Mon, 8 Jan 2018 16:11:43 +0000 (17:11 +0100)]
Merge pull request #5955 from Icinga/feature/workqueue-lock-contention
Avoid mutex contention in the config parser
Gunnar Beutner [Sat, 6 Jan 2018 03:36:58 +0000 (04:36 +0100)]
Avoid mutex contention in the config parser
Michael Friedrich [Mon, 8 Jan 2018 13:24:24 +0000 (14:24 +0100)]
Merge pull request #5954 from Icinga/feature/itl-mongodb-authdb
ITL: Add mongodb --authdb parameter support
Michael Friedrich [Mon, 8 Jan 2018 13:14:04 +0000 (14:14 +0100)]
ITL: Add mongodb --authdb parameter support
fixes #5260
Markus Frosch [Mon, 8 Jan 2018 12:46:47 +0000 (13:46 +0100)]
Merge pull request #5906 from sahnd/feature/check_openmanage
Add check_openmanage command to ITL.
sah [Thu, 21 Dec 2017 14:26:30 +0000 (15:26 +0100)]
Add check_openmanage command to ITL.
This will help monitoring Dell PowerEdge servers hardware.
Markus Frosch [Fri, 5 Jan 2018 16:49:58 +0000 (17:49 +0100)]
Merge pull request #5921 from widhalmt/feature/director-check-in-itl-5920
Add icingacli-director check to ITL
Markus Frosch [Fri, 5 Jan 2018 16:38:50 +0000 (17:38 +0100)]
Merge pull request #5951 from Icinga/itl/snmp_mem
itl: Add command parameters for snmp-memory
Thomas Widhalm [Fri, 29 Dec 2017 13:46:19 +0000 (14:46 +0100)]
Add icingacli-director check to ITL
Including documentation.
Add a hint to the documentation of all icingacli commands that Icinga 2 has to be allowed access to the icingaweb2 directory.
fixes: #5920
T. Mulyana [Mon, 9 Oct 2017 13:51:25 +0000 (20:51 +0700)]
itl: Add command parameters for snmp-memory
Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
Markus Frosch [Fri, 5 Jan 2018 16:17:27 +0000 (17:17 +0100)]
Merge pull request #5914 from Icinga/fix/itl-check-mongodb-5817
Fix for wrong attribute in ITL mongodb CheckCommand
Markus Frosch [Fri, 5 Jan 2018 16:13:13 +0000 (17:13 +0100)]
Merge pull request #5913 from mcktr/fix/itl-http-certificate-age-5610
Enhance http_certificate parameter documentation
Markus Frosch [Fri, 5 Jan 2018 16:05:28 +0000 (17:05 +0100)]
Merge pull request #5902 from sahnd/feature/itl-snmp-storage-responsesize
Add parameter --octetlength to snmp-storage command.
Markus Frosch [Thu, 4 Jan 2018 16:32:54 +0000 (17:32 +0100)]
FindMySQL: Search for mariadbclient by default
This would look for both names and use the first found.
Markus Frosch [Wed, 3 Jan 2018 12:12:39 +0000 (13:12 +0100)]
INSTALL: Document MySQL and PostgreSQL variables
Markus Frosch [Tue, 19 Dec 2017 13:04:04 +0000 (14:04 +0100)]
FindMySQL: Allow other implementations
Like mariadbclient.
So the user can specify the same via -D
Michael Friedrich [Thu, 4 Jan 2018 15:06:38 +0000 (16:06 +0100)]
Merge pull request #5942 from Icinga/feature/tech-doc-cluster-health
Add some technical insights into the cluster-zone health check and log lag
Michael Friedrich [Thu, 4 Jan 2018 15:06:09 +0000 (16:06 +0100)]
Merge pull request #5948 from Icinga/doc/install
doc: Improve INSTALL documentation
Markus Frosch [Thu, 4 Jan 2018 14:40:41 +0000 (15:40 +0100)]
doc: Improve INSTALL documentation
Gunnar Beutner [Thu, 4 Jan 2018 11:41:52 +0000 (12:41 +0100)]
Merge pull request #5945 from Icinga/fix/mkclass-indentation
Fix incorrect indentation for code generated by mkclass
Gunnar Beutner [Thu, 4 Jan 2018 11:40:50 +0000 (12:40 +0100)]
Merge pull request #5946 from Icinga/feature/clang-tidy
Use clang-tidy to add some more C++11 features
Gunnar Beutner [Thu, 4 Jan 2018 09:46:35 +0000 (10:46 +0100)]
Build fix
Gunnar Beutner [Thu, 4 Jan 2018 09:36:35 +0000 (10:36 +0100)]
Move inline functions to their .cpp files
Gunnar Beutner [Thu, 4 Jan 2018 08:43:49 +0000 (09:43 +0100)]
Apply clang-tidy fix 'modernize-use-default-member-init'
Gunnar Beutner [Thu, 4 Jan 2018 08:28:24 +0000 (09:28 +0100)]
Apply clang-tidy fix 'modernize-return-braced-init-list'
Gunnar Beutner [Thu, 4 Jan 2018 08:18:50 +0000 (09:18 +0100)]
Apply clang-tidy fix 'modernize-use-nullptr'
Gunnar Beutner [Thu, 4 Jan 2018 08:14:55 +0000 (09:14 +0100)]
Apply clang-tidy fix 'modernize-use-emplace'
Gunnar Beutner [Thu, 4 Jan 2018 08:07:03 +0000 (09:07 +0100)]
Apply clang-tidy fix 'modernize-use-auto'
Gunnar Beutner [Thu, 4 Jan 2018 07:59:00 +0000 (08:59 +0100)]
Apply clang-tidy fix 'modernize-raw-string-literal'
Gunnar Beutner [Thu, 4 Jan 2018 07:54:18 +0000 (08:54 +0100)]
Apply clang-tidy fix 'modernize-pass-by-value'
Gunnar Beutner [Thu, 4 Jan 2018 07:15:20 +0000 (08:15 +0100)]
Apply clang-tidy fix 'modernize-loop-convert'
Gunnar Beutner [Thu, 4 Jan 2018 04:12:56 +0000 (05:12 +0100)]
Apply clang-tidy fix 'modernize-use-override'
Gunnar Beutner [Thu, 4 Jan 2018 03:25:35 +0000 (04:25 +0100)]
Apply clang-tidy fix 'modernize-redundant-void-arg'
Gunnar Beutner [Thu, 4 Jan 2018 11:08:30 +0000 (12:08 +0100)]
Merge pull request #5944 from Icinga/feature/final-keyword
Add the final keyword to classes
Gunnar Beutner [Thu, 4 Jan 2018 06:06:33 +0000 (06:06 +0000)]
Fix incorrect indentation for code generated by mkclass
Gunnar Beutner [Thu, 4 Jan 2018 05:29:40 +0000 (05:29 +0000)]
Add the final keyword to methods
Gunnar Beutner [Thu, 4 Jan 2018 05:11:04 +0000 (05:11 +0000)]
Add the final keyword to classes
Michael Friedrich [Wed, 3 Jan 2018 19:12:51 +0000 (20:12 +0100)]
Merge pull request #5943 from Icinga/fix/incorrect-start-call
Fix incorrect ::Start call
Gunnar Beutner [Mon, 18 Dec 2017 08:32:09 +0000 (09:32 +0100)]
Fix incorrect ::Start call