12111 Commits

Author SHA1 Message Date
Michael Insel
8431ea52ee Make SSL context const again
Turns out that the switch to the class member variable inside the lambda
expression is sufficient to fix the issue.
2019-11-25 23:42:32 +01:00
Michael Insel
016a6c3f25 Fix ApiListener const SSL context
This makes the SSL context in ApiListener::SpawnCoroutine non-const to
address an issue when an agent recieves an signed certificate from the
master and tries to update the SSL context. This also uses the class
member variable which is captured by `this` in the lamda expression.

fixes #7650
2019-11-25 22:21:09 +01:00
Alexander A. Klimov
407d6c0219 IcingaDB#SendStatusUpdate(): avoid CheckResult::Ptr(nullptr)->GetCheckSource() 2019-11-25 17:15:47 +01:00
Michael Friedrich
287e4c3a8d
Merge pull request #7647 from Icinga/bugfix/notification-script-string-comparison
Fix notification scripts string comparison
2019-11-22 09:15:47 +01:00
Michael Insel
901d25976d Fix notification scripts string comparison
fixes #7609
2019-11-21 20:01:55 +01:00
Alexander A. Klimov
80bf316e7b /v1/actions/remove-acknowledgement: let users specify themselves 2019-11-21 16:29:26 +01:00
Alexander A. Klimov
d84efecb62 /v1/actions/remove-comment: let users specify themselves 2019-11-21 15:53:40 +01:00
Alexander A. Klimov
a361bf716e /v1/actions/remove-downtime: let users specify themselves 2019-11-21 15:48:55 +01:00
Alexander A. Klimov
e7ce71095a IcingaDB: handle Redis restarts 2019-11-21 12:55:01 +01:00
Michael Friedrich
7849da0b78
Merge pull request #7641 from Icinga/feature/icingadb-change-redis-port
IcingaDB: Update Redis port to use Icinga-Redis
2019-11-21 10:34:32 +01:00
Noah Hilverling
c8935bf14f IcingaDB: Update Redis port to use Icinga-Redis 2019-11-21 09:59:21 +01:00
Michael Friedrich
c231123130
Merge pull request #7640 from Icinga/feature/docs-installation-el8-sles15
Docs: Update installation for RHEL/CentOS 8 and SLES 15
2019-11-20 16:12:03 +01:00
Michael Friedrich
35caef4e6c Docs: Update installation for RHEL/CentOS 8 and SLES 15 2019-11-20 15:59:36 +01:00
Michael Friedrich
1a503b554b
Merge pull request #7357 from Ant1x/feature/opentsdb-tags
OpenTsdbWriter - Custom Tag Support
2019-11-15 14:52:49 +01:00
Michael Friedrich
88c1a197b4
Merge pull request #7567 from Icinga/bugfix/apt-dist-upgrade-7558
MacroProcessor::ResolveArguments(): skip null argument values
2019-11-15 14:43:33 +01:00
Michael Friedrich
87248f703c
Merge pull request #7632 from Icinga/feature/dsl-get-templates
DSL: Add get_template{,s}
2019-11-15 14:42:48 +01:00
Michael Friedrich
1869dff746
Merge pull request #7442 from Icinga/feature/ternary-operator
DSL: introduce x?y:z
2019-11-15 14:34:27 +01:00
Michael Friedrich
a4655b29e1 Docs: Add ternary operator 2019-11-15 13:38:01 +01:00
Alexander A. Klimov
5c347ef7bd DSL: introduce x?y:z 2019-11-15 13:38:01 +01:00
Michael Friedrich
381c454d38
Merge pull request #7602 from MichalMMac/snmp-interface-extendedchecks
Add extended checks options to snmp-interface command template
2019-11-15 13:35:08 +01:00
Michael Friedrich
b3eb9c6a07
Merge pull request #7439 from Icinga/feature/timeperiod-seconds
LegacyTimePeriod: support specifying seconds
2019-11-15 13:02:05 +01:00
Michael Friedrich
b1787883f7
Merge pull request #7535 from tigercomputing/Icinga/feature/config-stage-activate-parameter
API /v1/config/stages 'activate' parameter
2019-11-15 12:58:03 +01:00
Michael Friedrich
6118f69c50 Docs: Add get_templates{,s} to Library Reference 2019-11-15 12:53:33 +01:00
Michael Friedrich
38080405df
Merge pull request #7528 from Icinga/bugfix/api-put-error-handling
API: Handle permission exceptions soon enough, returning 404
2019-11-15 11:53:59 +01:00
Michael Friedrich
09892a9cd5
Merge pull request #6822 from unki/change/add-line-breaks-to-service-output
service and host mail-notifications, add line-breaks to very long out…
2019-11-14 13:18:20 +01:00
Michael Friedrich
05971d401c
Merge pull request #6369 from islander/fix/utf8-headers
Set correct utf-8 email subject header (RFC1342)
2019-11-14 13:14:20 +01:00
Alexander A. Klimov
ae4b5d002a Merge branch 'feature/icingadb-remove-last_state-field' 2019-11-14 12:09:32 +01:00
Noah Hilverling
b6db34747a IcingaDB: Remove redundant last_{hard/soft}_state 2019-11-14 10:57:11 +01:00
Noah Hilverling
5caf4e776f
Merge pull request #7606 from Icinga/bugfix/zombies
Main(): don't call Process::InitializeSpawnHelper()
2019-11-13 12:58:44 +01:00
Noah Hilverling
fa892b613d
Merge pull request #7608 from Icinga/bugfix/icinga-history-stream-downtime
IcingaDB: avoid duplicates in icinga:history:stream:downtime
2019-11-12 11:40:45 +01:00
Alexander A. Klimov
7fb5921d4c Merge branch 'bugfix/icingadb-fix-hard-state-on-unchecked-objects' 2019-11-11 15:35:13 +01:00
Noah Hilverling
4ea236aa64 IcingaDB: Fix state on unchecked objects 2019-11-11 15:28:16 +01:00
Michael Friedrich
1cda421bad DSL: Add get_template{,s}
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2019-11-08 11:13:26 +01:00
Michael Friedrich
1e64b71a23
Merge pull request #7611 from Icinga/feature/icingadb-add-user-notification-history
IcingaDB: Add user notification history
2019-11-08 11:09:41 +01:00
Alexander A. Klimov
1e2739aed6 IcingaDB::NotificationSentToAllUsersHandler(): copy set once, not N*(1+M) times 2019-11-07 17:23:48 +01:00
Noah Hilverling
42f959874e IcingaDB: Add user notification history 2019-11-07 15:57:31 +01:00
Michael Friedrich
280dbf62c7
Merge pull request #7603 from ggzengel/patch-1
Powershell example to validate the certificate
2019-11-07 12:32:26 +01:00
Alexander A. Klimov
592872a6c3 IcingaDB: avoid duplicates in icinga:history:stream:downtime 2019-11-06 10:41:54 +01:00
Noah Hilverling
3059755d67
Merge pull request #7605 from Icinga/bugfix/icingadb-cr-getstate
IcingaDB: correct icinga:history:stream:state#{,last_}soft_state and icinga:history:stream:notification#state for hosts
2019-11-04 18:33:43 +01:00
Alexander A. Klimov
1a99b3eeb3 Main(): don't call Process::InitializeSpawnHelper() 2019-11-04 17:30:28 +01:00
Alexander A. Klimov
4e8584ee9e IcingaDB: correct icinga:history:stream:state#{,last_}soft_state and icinga:history:stream:notification#state for hosts 2019-11-04 16:40:04 +01:00
Noah Hilverling
d81c15ca2f
Merge pull request #7604 from Icinga/bugfix/last_soft_states_raw
IcingaDB#SendStatusUpdate(): add icinga:history:stream:state#previous_soft_state
2019-11-04 13:57:58 +01:00
Alexander A. Klimov
6c7a9eb651 IcingaDB#SendStatusUpdate(): add icinga:history:stream:state#previous_soft_state 2019-11-04 12:59:57 +01:00
Michal Moravec
576266a1bf Enhance snmp_interface_extended_checks documentation 2019-11-04 09:33:48 +01:00
Grischa Zengel
902b330141
Powershell example to validate the certificate
I updated the powershell example to compare the server certificate with a local stored certificate.
2019-11-03 22:01:09 +01:00
Michael Friedrich
b6e0abc64c
Merge pull request #7601 from Icinga/feature/icingadb
Add IcingaDB
2019-11-02 18:39:13 +01:00
Michael Friedrich
9d9804d50a Styleguide for IcingaDB 2019-11-02 18:01:31 +01:00
Michael Friedrich
c3f6fa2e41 Docs: Add object type IcingaDB 2019-11-02 17:34:00 +01:00
Michael Friedrich
631a4ee9fa Fix header guards 2019-11-02 17:24:34 +01:00
Michael Friedrich
904f2ce7d4 IcingaDB: Silence some developer logging 2019-11-02 15:47:51 +01:00