Commit Graph

7177 Commits

Author SHA1 Message Date
Gunnar Beutner e04278e6c3 Hide console windows during installation
refs #11449
2016-04-20 10:07:51 +02:00
Gunnar Beutner fe5cef4107 Add missing MkDirP call
refs #11449
2016-04-20 10:07:51 +02:00
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
Gunnar Beutner 9ecb882f3d Add script for automatically cherry-picking commits for minor versions
fixes #11623
2016-04-20 09:59:37 +02:00
Michael Friedrich dd60544c36 Documentation: Add Windows setup wizard screenshots
fixes #9618
2016-04-19 17:14:17 +02:00
Michael Friedrich 7aafcf15a5 Windows Wizard: Fix 'Examine Config' directory
refs #11449
2016-04-19 16:10:30 +02:00
Gunnar Beutner 22cf939086 Build fix for Windows
refs #11612
2016-04-19 14:48:13 +02:00
Michael Friedrich e158c330cc Update AUTHORS
refs #11617
2016-04-19 12:02:25 +02:00
Nicolas Limage daa067dabe Fix typo in vim syntax highlighting
fixes #11617

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-04-19 12:01:12 +02:00
Gunnar Beutner d2cd4b6667 Improve performance for locks and value conversions
refs #11612
2016-04-19 09:38:22 +02:00
Gunnar Beutner c6a015e317 Fix crash in Checkable::ExecuteCheck
fixes #11582
2016-04-19 09:37:04 +02:00
Gunnar Beutner ab95670833 Build fix for older boost versions
refs #11612
2016-04-18 17:21:45 +02:00
Gunnar Beutner 3008d5ef31 Improve performance for field accesses
fixes #11612
2016-04-18 17:05:22 +02:00
Gunnar Beutner 913bfe4eb2 Move user data before running the uninstaller
refs #11449
2016-04-18 16:46:27 +02:00