5152 Commits

Author SHA1 Message Date
Alexander A. Klimov
e7ce71095a IcingaDB: handle Redis restarts 2019-11-21 12:55:01 +01:00
Noah Hilverling
c8935bf14f IcingaDB: Update Redis port to use Icinga-Redis 2019-11-21 09:59:21 +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
Alexander A. Klimov
5c347ef7bd DSL: introduce x?y:z 2019-11-15 13:38:01 +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
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
Noah Hilverling
b6db34747a IcingaDB: Remove redundant last_{hard/soft}_state 2019-11-14 10:57:11 +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
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
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
Alexander A. Klimov
592872a6c3 IcingaDB: avoid duplicates in icinga:history:stream:downtime 2019-11-06 10:41:54 +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
Alexander A. Klimov
6c7a9eb651 IcingaDB#SendStatusUpdate(): add icinga:history:stream:state#previous_soft_state 2019-11-04 12:59:57 +01:00
Michael Friedrich
9d9804d50a Styleguide for IcingaDB 2019-11-02 18:01:31 +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
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
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
Alexander A. Klimov
746a48e2ca RedisWriter: add icinga:history:stream:{state,notification}#previous_hard_state 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
4a7a8cb6f8 RedisWriter: add icinga:history:stream:*#endpoint_id 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
8613365f1c RedisWriter: add icinga:{state:stream:*,history:stream:*:state}#check_source 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
f314489d23 Merge host and service histories 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
e6043e908a RedisWriter: adjust icinga:history:stream:*:flapping schema 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
0510e0cad0 Replace duration with flexible_duration 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
c89f354a84 Replace is_fixed with is_flexible 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
9d0e402d92 RedisWriter#SendStartedDowntime(): send also a config update 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
747521fa84 RedisWriter#SendStatusUpdate(): handle pending checkable 2019-11-02 14:00:24 +01:00
Alexander A. Klimov
82898b31ae RedisWriter: fix missing m_Rcon!=null checks 2019-11-02 14:00:24 +01:00