Gunnar Beutner
37463741f1
Open the command pipe with O_RDWR
...
fixes #11807
2016-05-19 09:50:55 +02:00
Gunnar Beutner
0e76876228
Fix exception in PerfdataWriter::RotateFile
...
fixes #11801
2016-05-19 09:50:55 +02:00
Gunnar Beutner
9687e27c38
Fix crash in ConfigItem::Commit
...
fixes #11804
2016-05-19 09:50:55 +02:00
Gunnar Beutner
eadd61c7e4
Fix PostgreSQL warnings on startup
...
fixes #11798
2016-05-17 10:34:42 +02:00
Gunnar Beutner
57149ff899
Fix race condition in ConfigObject::SetAuthority
...
fixes #11784
2016-05-12 14:06:52 +02:00
Gunnar Beutner
01e58b463a
Fix incorrect re-scheduling behavior for command_endpoint checks
...
refs #8137
2016-05-12 14:06:47 +02:00
Gunnar Beutner
1f2fe64220
Fix incorrect variable names for joined fields in filter expressions
...
fixes #11779
2016-05-12 11:11:03 +02:00
Michael Friedrich
a6e70a155d
Fix possible crash in Add{Comment,Downtime}
...
refs #11112
2016-05-12 11:11:03 +02:00
Gunnar Beutner
ff24863a72
Report failed reload attempts for the icinga check
...
fixes #9060
fixes #9997
fixes #11129
2016-05-12 11:11:03 +02:00
Gunnar Beutner
21d1ffa28b
Fix incorrect calculation in Downtime::IsInEffect
...
fixes #11589
2016-05-12 11:11:03 +02:00
Michael Friedrich
40b4040880
Ensure that program status updates are immediately updated in DB IDO
...
fixes #11767
2016-05-12 11:11:02 +02:00
Gunnar Beutner
17fa327159
Improve timing behavior for UpdateObjectAuthority calls
...
refs #11765
2016-05-12 11:11:02 +02:00
Gunnar Beutner
208d035db4
Only activate HARunOnce objects once there's a cluster connection
...
fixes #11765
2016-05-12 11:11:02 +02:00
Michael Friedrich
b39634d948
Fix overloaded command pipe errors
...
fixes #11390
2016-05-12 11:11:02 +02:00
Gunnar Beutner
63445398c0
Improve error handling for TlsStream::Handshake
...
fixes #11046
2016-05-12 11:11:02 +02:00
Gunnar Beutner
bd896935d6
Make sure that object names aren't empty
...
fixes #9989
2016-05-12 11:11:02 +02:00
Jason Young
88806b031b
Throw exception if PerfdataWriter::RotateFile fails to rename from host_temp_path to host_perfdata_path (and same for service)
...
This can happen if the two paths are not on the same mount-point.
fixes #9236
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-05-12 11:09:49 +02:00
Gunnar Beutner
89c7b5a900
Fix: "day -X" time specifications are parsed incorrectly
...
fixes #11147
2016-05-12 11:09:49 +02:00
Michael Friedrich
7f915dbfaf
API: Fix error handling for invalid JSON request body
...
fixes #11757
2016-05-12 11:09:49 +02:00
Michael Friedrich
06f97c87ed
API: Fix error message handling for invalid attributes in PUT requests
...
refs #11396
2016-05-12 11:09:49 +02:00
Michael Friedrich
b3ad32712e
Move CalculateExecutionTime and CalculateLatency into the CheckResult class
...
fixes #11751
2016-05-12 11:09:43 +02:00
Gunnar Beutner
f08d378202
Implement support for limiting the number of concurrent checks
...
fixes #8137
2016-05-12 11:08:21 +02:00
Gunnar Beutner
7f8a921f53
Fix crash in UnameHelper()
...
fixes #11714
2016-05-12 11:08:21 +02:00
Gunnar Beutner
f2e6694179
Remove unused cluster commands
...
fixes #11748
2016-05-12 11:08:21 +02:00
Michael Friedrich
83985f97af
API: Fix error message with PUT requests for existing objects
...
fixes #11396
2016-05-12 11:08:21 +02:00
Gunnar Beutner
d82db2ae6c
Make sure the dependency graph is properly updated when adding and removing objects
...
fixes #11686
fixes #11374
2016-05-12 11:08:21 +02:00
Michael Friedrich
7c7a4c3a65
Remove commentsand downtimes with reference to deleted checkable objects
...
Silence the warning message and change the log level to notice as well.
fixes #10717
2016-05-12 11:08:20 +02:00
Michael Friedrich
e0d1c2f020
Fix: Expired downtimes are not removed
...
fixes #11711
2016-05-12 11:08:20 +02:00
Jean Flach
0e70165bc9
Fix external commands comments crashing icinga
...
Now an exception will be thrown when AddSvcComment or AddHostComment are
run with and empty Author or comment
fixes #11112
2016-05-12 11:08:20 +02:00
Michael Friedrich
418636f7da
Fix crash with empty ScheduledDowntime 'ranges' attribute
...
fixes #11158
2016-05-12 11:08:20 +02:00
Gunnar Beutner
4558488d97
Implement SNI support for the CLI commands
...
fixes #11651
2016-05-12 11:08:20 +02:00
Gunnar Beutner
70c8bbcf99
Implement support for subjectAltName in SSL certificates
...
fixes #11556
2016-05-12 11:08:20 +02:00
Gunnar Beutner
597d300e20
Implement validation for the Logger#severity attribute
...
fixes #11646
2016-05-12 11:08:19 +02:00
Vytenis Darulis
9f3a6b92a2
Try to queue all PROCESS_FILE commands instead of exploding the stack
...
fixes #10426
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-12 11:08:19 +02:00
Gunnar Beutner
cf34aa80f5
Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries
...
fixes #11639
2016-04-21 12:29:20 +02:00
Michael Friedrich
d653b48c67
Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
...
fixes #11635
2016-04-20 18:41:29 +02:00
Gunnar Beutner
d4b5ada951
Fix crash in Checkable::ExecuteCheck
...
fixes #11582
2016-04-20 10:09:38 +02:00
Gunnar Beutner
089002fa21
Fix error message for the EventEngine variable
...
refs #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
feb4b97df7
Make the socket event engine configurable
...
fixes #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
e1373386fa
Only hide navigational attributes which are not config/state
...
fixes #11567
2016-04-20 10:09:35 +02:00
Gunnar Beutner
159681c390
Fix crash in Downtime::DowntimesExpireTimerHandler
...
fixes #11534
fixes #11559
2016-04-20 10:09:34 +02:00
Michael Friedrich
1a21293809
Implement support for overriding check command timeout
...
fixes #9283
2016-04-20 10:09:34 +02:00
Michael Friedrich
5910f2e310
API: Ensure that empty passwords w/ client_cn are properly checked
...
fixes #11482
2016-04-20 10:09:33 +02:00
Gunnar Beutner
53cb18543c
Implement support for upgrading NSIS-based installations
...
refs #11449
2016-04-20 10:07:51 +02:00
Gunnar Beutner
389cb54f93
Implement support for running custom install/uninstall actions
...
refs #11449
2016-04-20 10:07:47 +02:00
Michael Friedrich
309ea899ed
Fix: Overwriting global type variables causes crash in ConfigItem::Commit()
...
fixes #11484
2016-04-20 10:07:25 +02:00
Michael Friedrich
0cbedf495a
IDO: Ensure that the notification insert id is passed to contactnotification inserts
...
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.
This patch also removes the old notification insert id cache
which was broken in many ways.
fixes #11387
2016-04-20 10:07:24 +02:00
Michael Friedrich
98eef33399
Fix socket exceptions while querying the API
...
fixes #11224
2016-04-20 10:07:24 +02:00
Michael Friedrich
d0b5898c46
Fix: Downtimes/Comments not being synced to child zones
...
fixes #11227
2016-04-20 10:07:24 +02:00
Gunnar Beutner
0d2ae5ce92
Fix Utility::MkDirP on Windows
...
fixes #11455
2016-04-20 10:07:24 +02:00