Commit Graph

11739 Commits

Author SHA1 Message Date
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
Michael Friedrich 36d18ed23a IcingaDB: Log where we are connecting to 2019-11-02 15:47:46 +01:00
Michael Friedrich 2dbf5bd0d0 Docs: Add IcingaDB chapter, needs details 2019-11-02 15:34:10 +01:00
Michael Friedrich 9235246985 Fix rebase against master branch 2019-11-02 14:18:20 +01:00
Michael Friedrich 61d9130dd0 Fix Copyright headers 2019-11-02 14:00:24 +01:00
Michael Friedrich af20b32daf Purge obsolete docs 2019-11-02 14:00:24 +01:00
Michael Friedrich e89fea12d5 Disable IcingaDB on Windows
Rationale: Masters running with IcingaDB are supported, agents are not.
2019-11-02 14:00:24 +01:00
Michael Friedrich f9b3e88bbb Fix non-unity builds 2019-11-02 14:00:24 +01:00
Noah Hilverling b65e5f5547 IcingaDB/Comment: Add is_sticky 2019-11-02 14:00:24 +01:00
Alexander A. Klimov 071a1489aa PUBLISH to icinga:stats with high priority
refs #57
2019-11-02 14:00:24 +01:00
Alexander A. Klimov 67909210a6 RedisConnection: introduce high-priority queue
refs #57
2019-11-02 14:00:24 +01:00
Noah Hilverling 91ecfc35cf Ensure that execution_time never goes below 0 2019-11-02 14:00:24 +01:00
Noah Hilverling 4e43c766ca Improve CommentHistory 2019-11-02 14:00:24 +01:00
Noah Hilverling 6a7e83a5e6 Improve Downtime & DowntimeHistory 2019-11-02 14:00:24 +01:00
Noah Hilverling 0aa885573d Fix notification history not setting text if notification is triggered by checkresult 2019-11-02 14:00:24 +01:00
Noah Hilverling 4a43dd1ce6 Rename event_type state to state_change 2019-11-02 14:00:24 +01:00
Noah Hilverling 5eb1c42a28 History: Use same names for event_time and event_type 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov 04dfbb07ce Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov 13ab7eb609 Rename redis to icingadb 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov f51454af65 git ls-files -z |xargs -0 perl -pi -e 's/RedisWriter/IcingaDB/g' 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov c7e9997294 RedisWriter#SerializeState(): don't stringify previous_hard_state 2019-11-02 14:00:24 +01:00
Alexander A. Klimov 617a4a2e92 RedisWriter: drop icinga:history:stream:notification#{,long_}output and add #{author,text} 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov badcb5662c RedisWriter: add icinga:state:stream:*#previous_hard_state 2019-11-02 14:00:24 +01:00