Commit Graph

6773 Commits

Author SHA1 Message Date
Gunnar Beutner 0a96f4129e Remove unused code in the Windows wizard
refs #11449
2016-04-20 10:07:50 +02:00
Gunnar Beutner 9ce63aa68e Make sure config files aren't overwritten during updates
refs #11449
2016-04-20 10:07:50 +02:00
Gunnar Beutner 5c77e853a7 Remove support for NSIS
refs #11449
2016-04-20 10:07:50 +02:00
Gunnar Beutner 01709955a8 Add missing pre and post installation commands
refs #11449
2016-04-20 10:07:50 +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
Gunnar Beutner 7b37bd8f41 Add preliminary support for 64-bit packages
refs #11449
2016-04-20 10:07:25 +02:00
Gunnar Beutner d276c7e4c2 Fix: FatalError() returns when called before Application.Run
fixes #11475
2016-04-20 10:07:24 +02:00
Gunnar Beutner e75262af2f Update NSClient++ to version 0.4.4.19
fixes #11473
fixes #11474
2016-04-20 10:07:24 +02:00
Rune Darrud a65f5fad26 Add support for x64 Icinga2SetupAgent
refs #11462
2016-04-20 10:07:24 +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
Louis Sautier 45786e2b81 Re-add the 'su' directive to logrotate if supported
- try to detect a recent logrotate version which supports the 'su'
directive (added in 3.8.0, see
5be96cf182 (diff-e4eb329834da3d36278b1b7d943b3bc9R6))
- if logrotate can't be found, assume an old version is used
- allow the parameter to be forced by the user

fixes #9249

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
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
Gunnar Beutner e314bc1ad5 Add /bigobj compiler option for Windows
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner 94deb03e9c Another build fix for Win64
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner 3c788f3899 Build fix for Win64
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner eb53677e54 Update .mailmap for Assaf Flatto
refs #11439
2016-04-20 10:07:23 +02:00
Gunnar Beutner 9c6b070900 Update AUTHORS
refs #11439
2016-04-20 10:07:23 +02:00
Assaf Flatto 23d445578a Update Centos/Redhat/Fedora installation instructions
Old Docs gave wrong details on how to install Icinga 2.

fixes #11439

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-04-20 10:07:23 +02:00
Gunnar Beutner 13c4bb06b8 Improve validation for arrays
fixes #11434
2016-04-20 10:07:23 +02:00
Michael Friedrich 521580f76e Ensure that the legacy_id attribute for comment/downtime objects is restored on restart
This has been changed when moving comments/downtimes to config objects
in 050c520b2a

It may cause trouble with DB IDO DELETE and UPDATE statements
depending on the old value.

refs #11382
2016-04-20 10:07:22 +02:00
Michael Friedrich 1b69a7ff70 DB IDO: Fix that downtime is not in effect after restart
fixes #10843
2016-04-20 10:07:22 +02:00
Michael Friedrich 582575b693 Docs: Fix broken formatting in cluster manual SSL generation
fixes #11440
2016-04-20 10:07:22 +02:00
Gunnar Beutner e8f1bce11b Update .mailmap
refs #11437
2016-04-20 10:07:22 +02:00
Thomas Widhalm a0536c2fc8 Add silent installation, reference to NSClient++ and some extra information to the Windows Agent documentation
fixes #11437

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-04-20 10:07:22 +02:00
Gunnar Beutner b7ee26fa78 Don't use semi-colons in auto-generated config files
fixes #11438
2016-04-20 10:07:22 +02:00
Gunnar Beutner ba3eeafb5a Implement recursion limit for AST expressions which don't use a separate stack frame
fixes #11106
2016-04-20 10:07:22 +02:00
Gunnar Beutner 97f324ad3e Follow symlinks in Utility::GlobRecursive
fixes #11347
2016-04-20 10:07:22 +02:00
Michael Friedrich f151e1ae9e Add --method parameter for check_{oracle,mysql,mssql}_health CheckCommands
fixes #11098
2016-04-20 10:07:21 +02:00
Michael Friedrich c92ceff1ed Add --units, --rate and --rate-multiplier support for the snmpv3 check command
fixes #11194
2016-04-20 10:07:21 +02:00
Michael Friedrich 94d6cefea6 Docs: Remove the migration script chapter
fixes #11407
2016-04-20 10:07:18 +02:00
Michael Friedrich 20cb2e4414 Docs: Explain how to use functions for wildcard matches for arrays and/or dictionaries
... in assign where expressions

fixes #11402
2016-04-20 10:06:59 +02:00
Michael Friedrich e076e91706 Only call UpdateNextCheck() for soft states
refs #11336
2016-04-20 10:00:09 +02:00
Michael Friedrich 8668eb65b5 Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult()
This patch also moves the next check updates for passive
check results into ProcessCheckResult(). That way the
next check status updates for DB IDO work in a sane way
again.

refs #11336
2016-04-20 10:00:08 +02:00
Michael Friedrich 122256bb91 Use retry_interval on first OK -> NOT-OK state change
Only valid for active check results. The API actions were
missing that marker similar to the external command processor.

The initial OK -> NOT-OK transition should use the retry_interval
but nothing else.

fixes #11336
2016-04-20 10:00:07 +02:00
Michael Friedrich 62dfcc7dc8 Docs: Fix url for Icinga Web 2 installation docs
refs #11494
2016-04-11 10:38:45 +02:00
Michael Friedrich c98c3f52f0 Docs: Remove the migration script chapter
fixes #11407
2016-04-11 10:38:40 +02:00
Michael Friedrich 24836a405c Docs: Explain how to use functions for wildcard matches for arrays and/or dictionaries
... in assign where expressions

fixes #11402
2016-04-11 10:38:34 +02:00
Gunnar Beutner c035d1b888 Update .mailmap for Markus Frosch
fixes #11399
2016-04-11 10:38:29 +02:00
Gunnar Beutner 460c25b94d Release version 2.4.4 2016-03-16 09:48:27 +01:00
Gunnar Beutner 8aab74802c Update .mailmap
refs #11328
2016-03-16 09:40:00 +01:00
Michael Friedrich 23295351f3 ITL: Missing documentation for nwc_health "mode" parameter
fixes #11107
2016-03-15 15:44:57 +01:00
Michael Friedrich ba989f4802 ITL: Add additional http check command parameters for SSL version enforcement
refs #10358
2016-03-15 15:28:10 +01:00
Michael Friedrich 307498e71f DB IDO: Fix user notification type filters
fixes #10766
2016-03-15 14:53:25 +01:00
Michael Friedrich ed4378e521 Update development docs to use 'thread apply all bt full'
fixes #11385
2016-03-15 13:18:32 +01:00
Gunnar Beutner c4f9c34e43 Update AUTHORS
refs #11369
2016-03-15 13:17:55 +01:00
Rune Darrud 901618d15b Add uninstall to the chocolatey package
refs #11369
2016-03-15 13:17:10 +01:00
Gunnar Beutner 4c7b5f710f Fix crash in ScheduledDowntime::TimerProc
fixes #11352
2016-03-15 13:15:57 +01:00