Commit Graph

2957 Commits

Author SHA1 Message Date
Gunnar Beutner 98733fc105 Add timestamp to crash dumps.
Fixes 
2013-12-12 14:38:34 +01:00
Johannes Meyer 9229aa4948 Merge branch 'feature/Array-insert-functionality' into next
resolves 
2013-12-12 13:53:27 +01:00
Michael Friedrich 1119c2f17b Fix crash while reading livestatus query.
Refs 
2013-12-12 12:07:47 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes 
2013-12-12 11:50:08 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes 
2013-12-12 10:21:33 +01:00
Gunnar Beutner 76cc69c701 Update documentation for notification commands.
Fixes 
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 
2013-12-11 18:33:44 +01:00
Markus Frosch 0975d24a94 Debian: Added spool directory and set correct permissions.
Fixes 
2013-12-11 18:33:44 +01:00
Gunnar Beutner 90dc637b2c Update the livestatus socket path in the documentation.
Fixes 
2013-12-11 18:28:46 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes 
2013-12-11 17:18:01 +01:00
Gunnar Beutner 7a107b7dbd Improve compatibility with C++11.
Fixes 
2013-12-11 16:40:55 +01:00
Markus Frosch 98671ebec2 Merge branch 'feature/debian-init-helpers-5305' into next
Fixes 
2013-12-11 16:08:59 +01:00
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs 
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 

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 
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 
2013-12-11 15:31:54 +01:00
Gunnar Beutner c410ca0b54 Fix incorrect permissions for key files.
Fixes 
2013-12-11 15:14:24 +01:00
Gunnar Beutner 3c1fc98f5c Fix incorrect attribute names in the documentation.
Fixes 
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 
2013-12-11 13:23:29 +01:00
Johannes Meyer 66845d05f8 Fix crash when a command is executed that affects check services
fixes 
2013-12-11 12:43:18 +01:00
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes 
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 

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 
2013-12-09 13:46:53 +01:00
Michael Friedrich 085fca90ad Fix missing comment_data column in downtime tables.
Fixes 
2013-12-09 13:30:13 +01:00
Gunnar Beutner 3d7c103035 Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
Fixes 
2013-12-09 13:22:50 +01:00
Gunnar Beutner 03a0815357 Fix syntax error in mail-notification.sh.
Fixes 
2013-12-09 13:03:08 +01:00
Gunnar Beutner ab2e1e99e2 ScriptVariableRegistry::GetInstance should not be defined inline.
Fixes 
2013-12-09 12:26:25 +01:00
Gunnar Beutner 5e9ce84c17 Fix duplicate IDs in queries for comments/downtimes.
Fixes 
2013-12-09 12:22:54 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes 
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes 
2013-12-09 09:52:09 +01:00
Gunnar Beutner 3b99dc1e84 Fix incorrect value for the triggered_by_id column.
Fixes 
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 
2013-12-06 20:04:07 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes 
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 
2013-12-05 13:15:44 +01:00
Gunnar Beutner 5e95dd71be Merge branch 'feature/timeperiod-fixes-5268' into next
Fixes 
2013-12-05 12:32:06 +01:00
Gunnar Beutner bb652ff335 Rename one of the example timeperiods.
Refs 
2013-12-05 12:30:39 +01:00
Gunnar Beutner e2941dbca8 Make sure that TimePeriod segments are being merged properly.
Refs 
2013-12-05 12:30:02 +01:00
Michael Friedrich fa14b39719 DB IDO: Fix reconnect config/status inserts.
Fixes 
2013-12-05 12:12:57 +01:00
Gunnar Beutner 6714796ecd Set rlimits in the Application class (rather than in the init script).
Fixes 
2013-12-05 11:11:03 +01:00
Gunnar Beutner 02e0933e7c Make status.dat/objects.cache interval configurable.
Fixes 
2013-12-05 10:04:49 +01:00
Gunnar Beutner aa4c2b9542 Add unit test for Stream::ReadLine.
Fixes 
2013-12-05 09:57:12 +01:00
Gunnar Beutner f67343967c Make ICINGA2_{USER,GROUP,COMMAND_USER,COMMAND_GROUP} variables overwritable.
Fixes 
2013-12-05 09:42:42 +01:00
Markus Frosch 751f3ad19b Debian: Made creation of icinga-version.h.fallback safer.
We now use a custom CMakeLists.txt to just create this file without checking
dependencies or doing other stuff.

Idea is to avoid breaking on systems that only create source packages for
chroot builds.

Refs 
2013-12-04 20:40:10 +01:00
Markus Frosch 2b7e8ed7ab Debian: Fixed config check and changed DAEMON_ARGS in init script.
Check now actually works, command was incorrect and not properly blocking the
actual action on fail.

Also the config file is now in DAEMON_CONFIG variable.

Fixes 
2013-12-04 19:50:10 +01:00
Markus Frosch 1399ac6047 Debian: Made handling of features-enabled respecting disabled features.
The default features now only get enabled on fresh installs. This has been
changed for icinga2-common and icinga2-classicui.

Fixes 
2013-12-04 19:06:43 +01:00
Gunnar Beutner 2553287818 Merge branch 'feature/constants-4946' into next
Fixes 
2013-12-04 12:14:16 +01:00
Gunnar Beutner 7482548966 Fix: display_name property doesn't work for hosts.
Fixes 
2013-12-04 12:07:57 +01:00
Gunnar Beutner e540685e13 Implement support for constants in the config parser.
Refs 
2013-12-04 11:32:45 +01:00
Gunnar Beutner 25cece444d Remove Windows example config.
Refs 
2013-12-04 11:04:17 +01:00