Commit Graph

2771 Commits

Author SHA1 Message Date
Gunnar Beutner 7fbdf1d633 Fix crash in icinga::Log.
Fixes #5330
2013-12-13 15:13:20 +01:00
Gunnar Beutner 6f92a62953 Implement latency statistics for the "icinga" check.
Fixes #5325
2013-12-13 15:09:17 +01:00
Gunnar Beutner 0e4c00805c Add documentation for the "icinga" check command.
Fixes #5326
2013-12-13 14:41:48 +01:00
Gunnar Beutner 13d72c5ef5 Merge branch 'feature/tp-contention-5327' into next
Fixes #5327
2013-12-13 14:09:20 +01:00
Gunnar Beutner e7184225f3 Improve performance for icinga::Deserialize.
Refs #5327
2013-12-13 14:08:11 +01:00
Gunnar Beutner f8d7f7799e Improve WorkQueue performance
Refs #5327
2013-12-13 14:08:06 +01:00
Gunnar Beutner b4f2f06b88 Implement ParallelWorkQueue class.
Refs #5327
2013-12-13 14:08:02 +01:00
Gunnar Beutner b5792a0b81 Avoid using ConfigItem::GetObject when possible.
Refs #5327
2013-12-13 14:07:57 +01:00
Gunnar Beutner 37179cdf32 Improve config compiler performance.
Refs #5327
2013-12-13 14:07:37 +01:00
Johannes Meyer 9134c7fab6 Enable password authentication for PostgreSQL
resolves #5264
2013-12-13 11:30:58 +01:00
Johannes Meyer dcd732905f Merge branch 'fix/column-headers-in-json-output-5317' into next
fixes #5317
2013-12-13 10:28:05 +01:00
Johannes Meyer 0d99f98354 Fix that the "ColumnHeaders" option has no effect for json output
Fixes another bug that the "Columns" option did not disable
ColumnHeaders at all.

refs #5317
2013-12-13 10:24:18 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Gunnar Beutner 947b6f3207 Make icinga2-{enable,disable}-feature list currently enabled features.
Fixes #5319
2013-12-12 15:46:17 +01:00
Gunnar Beutner 98733fc105 Add timestamp to crash dumps.
Fixes #5315
2013-12-12 14:38:34 +01:00
Johannes Meyer 9229aa4948 Merge branch 'feature/Array-insert-functionality' into next
resolves #5320
2013-12-12 13:53:27 +01:00
Michael Friedrich 1119c2f17b Fix crash while reading livestatus query.
Refs #5316
2013-12-12 12:07:47 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes #5318
2013-12-12 11:50:08 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes #5314
2013-12-12 10:21:33 +01:00
Gunnar Beutner 76cc69c701 Update documentation for notification commands.
Fixes #5259
2013-12-12 09:45:36 +01:00
Markus Frosch 6b8d079fd2 Debian: Use user/group config also for /run handling in init script.
Also added DAEMON_CMDGROUP var.

Fixes #5309
2013-12-11 18:33:44 +01:00
Markus Frosch 0975d24a94 Debian: Added spool directory and set correct permissions.
Fixes #5293
2013-12-11 18:33:44 +01:00
Gunnar Beutner 90dc637b2c Update the livestatus socket path in the documentation.
Fixes #5308
2013-12-11 18:28:46 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes #5306
2013-12-11 17:18:01 +01:00
Gunnar Beutner 7a107b7dbd Improve compatibility with C++11.
Fixes #5307
2013-12-11 16:40:55 +01:00
Markus Frosch 98671ebec2 Merge branch 'feature/debian-init-helpers-5305' into next
Fixes #5305
2013-12-11 16:08:59 +01:00
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
2013-12-11 16:07:46 +01:00
Johannes Meyer e50dd8c1cc Fix indentation in lib/icinga/externalcommandprocessor.cpp 2013-12-11 16:00:09 +01:00
Markus Frosch 6200c8164c Debian: Cleaned up indention in init script.
Refs #5305

Conflicts:
	debian/icinga2-common.icinga2.init
2013-12-11 15:34:29 +01:00
Markus Frosch 16e1da530f Debian: Added checkconfig helper to initscript.
And simplified check handling over all functions.

Refs #5305
2013-12-11 15:33:47 +01:00
Markus Frosch 4c8f1f3d9d Debian: Added DAEMON_(USER|GROUP) to init/default for config checking.
Config should be checked with the actual uid/gid Icinga 2 will run under.

Also moved "-d" to the actual start-stop-daemon call.

Fixes #5299
2013-12-11 15:31:54 +01:00
Gunnar Beutner c410ca0b54 Fix incorrect permissions for key files.
Fixes #5300
2013-12-11 15:14:24 +01:00
Gunnar Beutner 3c1fc98f5c Fix incorrect attribute names in the documentation.
Fixes #5303
2013-12-11 15:12:20 +01:00
Markus Frosch 2ca8be6ecd Debian: only update icinga-version.h.fallback when in a GIT repo.
This avoids the version coming out as GIT-UNKNOWN after chroot builds.

Fixes #5294
2013-12-11 13:23:29 +01:00
Johannes Meyer 66845d05f8 Fix crash when a command is executed that affects check services
fixes #5297
2013-12-11 12:43:18 +01:00
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +01:00
Paul Richards 32ca25c7ef NSCA-ng Vagrant Support: add nsca user to icingacmd group, move nsca-ng
config files and set appropriate file permissions.

Fixes #5222

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2013-12-09 22:11:37 +01:00
Gunnar Beutner af6df9f268 Improve compatibility with Windows.
Fixes #5287
2013-12-09 13:46:53 +01:00
Michael Friedrich 085fca90ad Fix missing comment_data column in downtime tables.
Fixes #5282
2013-12-09 13:30:13 +01:00
Gunnar Beutner 3d7c103035 Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
Fixes #5286
2013-12-09 13:22:50 +01:00
Gunnar Beutner 03a0815357 Fix syntax error in mail-notification.sh.
Fixes #5285
2013-12-09 13:03:08 +01:00
Gunnar Beutner ab2e1e99e2 ScriptVariableRegistry::GetInstance should not be defined inline.
Fixes #5284
2013-12-09 12:26:25 +01:00
Gunnar Beutner 5e9ce84c17 Fix duplicate IDs in queries for comments/downtimes.
Fixes #5283
2013-12-09 12:22:54 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes #5270
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00
Gunnar Beutner 3b99dc1e84 Fix incorrect value for the triggered_by_id column.
Fixes #5279
2013-12-09 09:22:04 +01:00
Markus Frosch 9bee1aaef6 Debian: Make sure to enable default features due when updating.
The last fix for that missed handling upgrading between versions, so we now
enable features when upgrading from before 0.0.5+icingasnap201312070000.

This enabling will include any release package previously installed.

Fixes #5102
2013-12-06 20:04:07 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Michael Friedrich 99f2b0673e RPM: Don't re-enable disabled features on update, proper remove on uninstall.
Fixes #5267
2013-12-05 13:15:44 +01:00
Gunnar Beutner 5e95dd71be Merge branch 'feature/timeperiod-fixes-5268' into next
Fixes #5268
2013-12-05 12:32:06 +01:00