]> granicus.if.org Git - icinga2/log
icinga2
10 years agoSeparate CMakeLists.txt for etc/initsystem.
Gerd von Egidy [Sun, 15 Jun 2014 23:55:50 +0000 (01:55 +0200)]
Separate CMakeLists.txt for etc/initsystem.

Refs #6491

10 years agoDocumentation: fix url formatting, dependency example
Michael Friedrich [Sun, 15 Jun 2014 21:17:16 +0000 (23:17 +0200)]
Documentation: fix url formatting, dependency example

10 years agoDocs: fix typos in chapter 6.
Wolfgang Nieder [Sun, 15 Jun 2014 20:48:04 +0000 (22:48 +0200)]
Docs: fix typos in chapter 6.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoDocument new CMake parameters and startup for systemd-support.
Gerd von Egidy [Sun, 15 Jun 2014 20:28:41 +0000 (22:28 +0200)]
Document new CMake parameters and startup for systemd-support.

10 years agoFix icinga-{en,dis}able-feature text
Alexander Wirt [Sun, 15 Jun 2014 20:10:15 +0000 (22:10 +0200)]
Fix icinga-{en,dis}able-feature text

10 years agofix debian/CMakeLists.txt cmake location
Michael Friedrich [Sun, 15 Jun 2014 18:34:58 +0000 (20:34 +0200)]
fix debian/CMakeLists.txt cmake location

refs #6485

10 years agoupdate AUTHORS
Michael Friedrich [Sun, 15 Jun 2014 18:28:47 +0000 (20:28 +0200)]
update AUTHORS

10 years agoMerge branch 'feature/systemd-4794-final' into next
Michael Friedrich [Sun, 15 Jun 2014 18:27:15 +0000 (20:27 +0200)]
Merge branch 'feature/systemd-4794-final' into next

fixes #4794

10 years agoinstall new man page properly
Michael Friedrich [Sun, 15 Jun 2014 18:23:03 +0000 (20:23 +0200)]
install new man page properly

refs #4794

10 years agoRun check_run only in do_start()
Alexander Wirt [Sun, 15 Jun 2014 18:18:20 +0000 (20:18 +0200)]
Run check_run only in do_start()

10 years agoDon't call check_run in the initscript, this function is gone.
Gerd von Egidy [Sun, 15 Jun 2014 18:08:45 +0000 (20:08 +0200)]
Don't call check_run in the initscript, this function is gone.

Refs #4794

10 years agoDon't mark the systemd service file as executable.
Gerd von Egidy [Sun, 15 Jun 2014 18:08:05 +0000 (20:08 +0200)]
Don't mark the systemd service file as executable.

Refs #4794

10 years agoAdd a manpage for icinga2-prepare-dirs.
Gerd von Egidy [Sun, 15 Jun 2014 18:01:04 +0000 (20:01 +0200)]
Add a manpage for icinga2-prepare-dirs.

Refs #4794

10 years agoMove the sysdefines.conf file to /etc/sysconfig.
Gerd von Egidy [Sun, 15 Jun 2014 17:47:27 +0000 (19:47 +0200)]
Move the sysdefines.conf file to /etc/sysconfig.

As /etc/sysconfig is distro specific, the filename used can be configured via the CMake parameter
ICINGA2_SYSCONFIGFILE

Refs #4794

10 years agoDocs: fix some typos.
Wolfgang Nieder [Sun, 15 Jun 2014 15:34:21 +0000 (17:34 +0200)]
Docs: fix some typos.

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
10 years agoMove decision about systemd/sysvinit to one location. Add files forgotten during...
Gerd von Egidy [Sun, 15 Jun 2014 15:17:21 +0000 (17:17 +0200)]
Move decision about systemd/sysvinit to one location. Add files forgotten during merge.

Refs #4794

10 years agoAdd missing endif
Sam Kottler [Tue, 27 May 2014 08:02:22 +0000 (04:02 -0400)]
Add missing endif

10 years agoStart with sysvinit installation logic
Sam Kottler [Tue, 27 May 2014 08:01:30 +0000 (04:01 -0400)]
Start with sysvinit installation logic

10 years agoRemove mention of icinga in the description since it's already in the name and might...
Sam Kottler [Tue, 27 May 2014 07:42:49 +0000 (03:42 -0400)]
Remove mention of icinga in the description since it's already in the name and might cause versioning confusion

Refs #4794

10 years agoGenerate the service unit on Fedora and use the %systemd_post/_postun/_preun macros...
Sam Kottler [Tue, 27 May 2014 07:26:38 +0000 (03:26 -0400)]
Generate the service unit on Fedora and use the %systemd_post/_postun/_preun macros for service setup

Refs #4794

10 years agoMove code preparing dirs and permissions to icinga2-prepare-dirs, use this for SysV...
Gerd von Egidy [Sun, 18 May 2014 21:14:30 +0000 (23:14 +0200)]
Move code preparing dirs and permissions to icinga2-prepare-dirs, use this for SysV-Init and systemd.

Refs #4794

Conflicts:
etc/initsystem/icinga2.init.d.cmake

10 years agoUnify resources for SysV-Init and systemd.
Gerd von Egidy [Sun, 18 May 2014 20:47:27 +0000 (22:47 +0200)]
Unify resources for SysV-Init and systemd.

- Move system-specific defines like paths and usernames to /etc/icinga2/sysdefines.conf
  Do not use /etc/sysconfig for this as per suggestion on the systemd mailinglist: it is RedHat-specific
- Use /etc/icinga2/sysdefines.conf in SysV-Init and systemd
- Move both the sources of the SysV-Initscript and the systemd-service definition to etc/initsystem

Refs #4794

Conflicts:
etc/initsystem/icinga2.init.d.cmake

10 years agoReloading with systemd is fixed now.
Gerd von Egidy [Sun, 18 May 2014 19:49:08 +0000 (21:49 +0200)]
Reloading with systemd is fixed now.

Refs #4794

10 years agoSystemd can't resolve variables recursively.
Gerd von Egidy [Sun, 4 May 2014 20:32:44 +0000 (22:32 +0200)]
Systemd can't resolve variables recursively.

Refs #4794

10 years agoFix CMake escaping.
Gerd von Egidy [Sun, 4 May 2014 18:46:13 +0000 (20:46 +0200)]
Fix CMake escaping.

Refs #4794

10 years agoFirst try at a systemd service definition file, install it from CMake.
Gerd von Egidy [Wed, 30 Apr 2014 23:48:01 +0000 (01:48 +0200)]
First try at a systemd service definition file, install it from CMake.

Native systemd support is enabled with cmake -DUSE_SYSTEMD=ON

Refs #4794

10 years agoAdd systemd buildrequires and requires
Sam Kottler [Wed, 30 Apr 2014 08:43:46 +0000 (04:43 -0400)]
Add systemd buildrequires and requires

10 years agofix docker script
Michael Friedrich [Sun, 15 Jun 2014 09:36:28 +0000 (11:36 +0200)]
fix docker script

refs #6481

10 years agoDocumentation: explain the icinga 2 reload
Michael Friedrich [Sun, 15 Jun 2014 08:45:06 +0000 (10:45 +0200)]
Documentation: explain the icinga 2 reload

fixes #6486

10 years agomove cmake scripts to third-party/
Michael Friedrich [Sun, 15 Jun 2014 00:17:01 +0000 (02:17 +0200)]
move cmake scripts to third-party/

refs #6485

10 years agoupdate migration script url to github
Michael Friedrich [Sun, 15 Jun 2014 00:16:21 +0000 (02:16 +0200)]
update migration script url to github

fixes #5821

10 years agoMove the Vagrant VM to https://github.com/Icinga/icinga-vagrant
Michael Friedrich [Fri, 13 Jun 2014 20:39:17 +0000 (22:39 +0200)]
Move the Vagrant VM to https://github.com/Icinga/icinga-vagrant

fixes #5843

10 years agoFix missing install action
Michael Friedrich [Fri, 13 Jun 2014 20:04:24 +0000 (22:04 +0200)]
Fix missing install action

refs #6481

10 years agoAdd man pages to packages
Michael Friedrich [Fri, 13 Jun 2014 19:38:59 +0000 (21:38 +0200)]
Add man pages to packages

refs #6482

10 years agoClean pki/ install
Michael Friedrich [Fri, 13 Jun 2014 18:58:43 +0000 (20:58 +0200)]
Clean pki/ install

refs #6481

10 years agoAdd man pages for installed scripts
Michael Friedrich [Fri, 13 Jun 2014 18:54:58 +0000 (20:54 +0200)]
Add man pages for installed scripts

fixes #6482

10 years agoupdate icinga2.8 man page
Michael Friedrich [Fri, 13 Jun 2014 18:41:24 +0000 (20:41 +0200)]
update icinga2.8 man page

refs #6482

10 years agoCorrect wrong file move
Michael Friedrich [Fri, 13 Jun 2014 18:31:30 +0000 (20:31 +0200)]
Correct wrong file move

refs #6481

10 years agoRemove sphinx/pandoc, ship markdown docs only
Michael Friedrich [Fri, 13 Jun 2014 18:29:33 +0000 (20:29 +0200)]
Remove sphinx/pandoc, ship markdown docs only

refs #6481
refs #5774

10 years agoMove dev/ to tools/docker
Michael Friedrich [Fri, 13 Jun 2014 18:07:36 +0000 (20:07 +0200)]
Move dev/ to tools/docker

refs #6481

10 years agoMove agent files to contrib/ for now
Michael Friedrich [Fri, 13 Jun 2014 18:04:00 +0000 (20:04 +0200)]
Move agent files to contrib/ for now

refs #6481

10 years agoRPMs: Do not install the agent parts
Michael Friedrich [Fri, 13 Jun 2014 17:55:59 +0000 (19:55 +0200)]
RPMs: Do not install the agent parts

refs #6481

10 years agoRemove empty migration dir, is referenced as separate tool in docs
Michael Friedrich [Fri, 13 Jun 2014 17:55:23 +0000 (19:55 +0200)]
Remove empty migration dir, is referenced as separate tool in docs

refs #6481

10 years agoINSTALL: Fix git archive on CentOS 6.5
Michael Friedrich [Fri, 13 Jun 2014 17:32:34 +0000 (19:32 +0200)]
INSTALL: Fix git archive on CentOS 6.5

10 years agoDebian: do not install agent scripts
Markus Frosch [Fri, 13 Jun 2014 14:24:14 +0000 (16:24 +0200)]
Debian: do not install agent scripts

Refs #5816

10 years agoDebian: smaller cleanups
Markus Frosch [Fri, 13 Jun 2014 13:58:50 +0000 (15:58 +0200)]
Debian: smaller cleanups

Refs #5816

10 years agoupdate INSTALL
Michael Friedrich [Fri, 13 Jun 2014 13:57:33 +0000 (15:57 +0200)]
update INSTALL

refs #5795
refs #6305

10 years agoupdate README
Michael Friedrich [Fri, 13 Jun 2014 13:24:03 +0000 (15:24 +0200)]
update README

refs #5795
refs #6305

10 years agoUpdate AUTHORS
Michael Friedrich [Fri, 13 Jun 2014 11:49:20 +0000 (13:49 +0200)]
Update AUTHORS

refs #5795

10 years agoUpdate what's new and ChangeLog for 2.0.0
Michael Friedrich [Fri, 13 Jun 2014 11:19:13 +0000 (13:19 +0200)]
Update what's new and ChangeLog for 2.0.0

refs #5795

10 years agoDebian: install initial database schema
Markus Frosch [Fri, 13 Jun 2014 09:45:49 +0000 (11:45 +0200)]
Debian: install initial database schema

Refs #5816

10 years agoDebian: do not install removed database schemata
Markus Frosch [Fri, 13 Jun 2014 09:44:10 +0000 (11:44 +0200)]
Debian: do not install removed database schemata

Refs #5816

10 years agoDebian: update copyright metadata
Markus Frosch [Fri, 13 Jun 2014 09:19:56 +0000 (11:19 +0200)]
Debian: update copyright metadata

Refs #5816

10 years agoDB IDO: Remove old 0.0.x upgrade sqls not required for 2.0.0
Michael Friedrich [Fri, 13 Jun 2014 09:21:15 +0000 (11:21 +0200)]
DB IDO: Remove old 0.0.x upgrade sqls not required for 2.0.0

fixes #6478

10 years agoDocumentation: Updates for DB IDO
Michael Friedrich [Fri, 13 Jun 2014 09:17:32 +0000 (11:17 +0200)]
Documentation: Updates for DB IDO

* several renamings to DB IDO
* Debian db schema must be installed manually as the rest
* remove mentions of 0.0.x preview versions

refs #6005
refs #6478

10 years agoFix typo
Michael Friedrich [Fri, 13 Jun 2014 09:01:04 +0000 (11:01 +0200)]
Fix typo

refs #5041

10 years agoDocumentation: Add note for Wheezy/Precise on Classic UI libjs-jquery-ui dependency
Michael Friedrich [Fri, 13 Jun 2014 08:59:03 +0000 (10:59 +0200)]
Documentation: Add note for Wheezy/Precise on Classic UI libjs-jquery-ui dependency

fixes #5041

10 years agoUpdate gitignores
Markus Frosch [Fri, 13 Jun 2014 08:22:28 +0000 (10:22 +0200)]
Update gitignores

* ignore vim tempfiles
* not ignore icinga-version.h*

10 years agoDebian: adapt icinga-version.h.force for the snapshots
Markus Frosch [Fri, 13 Jun 2014 08:20:44 +0000 (10:20 +0200)]
Debian: adapt icinga-version.h.force for the snapshots

Refs #5816

10 years agoDebian: add a proper package description.
Markus Frosch [Wed, 11 Jun 2014 12:45:13 +0000 (14:45 +0200)]
Debian: add a proper package description.

Refs #5816

10 years agoFix logrotate should rotate log files as icinga user
Tim Hardeck [Fri, 13 Jun 2014 07:47:26 +0000 (09:47 +0200)]
Fix logrotate should rotate log files as icinga user

fixes #6477

10 years agoReplace existing mkdir() calls with Utility::MkDir()
Michael Friedrich [Fri, 13 Jun 2014 07:23:05 +0000 (09:23 +0200)]
Replace existing mkdir() calls with Utility::MkDir()

refs #6328

10 years agoReplace recursive implementation with a forward loop in Utility::MkDirP()
Michael Friedrich [Fri, 13 Jun 2014 07:10:35 +0000 (09:10 +0200)]
Replace recursive implementation with a forward loop in Utility::MkDirP()

That way we always move into the tree, but not start in the deepest
level and may limit the tree level too in the future, if required.

Solves the Win32 implementation by moving the general mkdir() call into
Utility::MkDir().

refs #6328

10 years agoFix syncing zones.d from etc/ to var/lib in a recursive manner
Michael Friedrich [Thu, 12 Jun 2014 20:51:48 +0000 (22:51 +0200)]
Fix syncing zones.d from etc/ to var/lib in a recursive manner

Missing mkdir -p basically. Introducing Utility::MkDirP() which still
requires Win32 implementation.

refs #6328

10 years agoFix wrong logging in ExternalCommandListener
Michael Friedrich [Thu, 12 Jun 2014 20:51:20 +0000 (22:51 +0200)]
Fix wrong logging in ExternalCommandListener

10 years agoLess verbose start output using the initscript
Michael Friedrich [Thu, 12 Jun 2014 14:05:45 +0000 (16:05 +0200)]
Less verbose start output using the initscript

All output is dumped to startup.log and only shown in case of
'checkconfig' as parameter, but not during a reload/restart.

Furtermore some additional formatting to make it fit line by line.

fixes #5822

10 years agoDocumentation: Emphasize on global zone on all nodes
Michael Friedrich [Thu, 12 Jun 2014 12:33:59 +0000 (14:33 +0200)]
Documentation: Emphasize on global zone on all nodes

refs #6254

10 years agoFix thinko with global zone sync
Michael Friedrich [Thu, 12 Jun 2014 12:31:07 +0000 (14:31 +0200)]
Fix thinko with global zone sync

refs #6254

10 years agoDocumentation: Add Debian icinga2-dbg package to troubleshooting guide
Michael Friedrich [Thu, 12 Jun 2014 11:10:37 +0000 (13:10 +0200)]
Documentation: Add Debian icinga2-dbg package to troubleshooting guide

fixes #6476

10 years agoLivestatus: Add 'host_name' and 'service_description' columns for NagVis
Michael Friedrich [Thu, 12 Jun 2014 09:59:21 +0000 (11:59 +0200)]
Livestatus: Add 'host_name' and 'service_description' columns for NagVis

These columns are used for filtering and seem to be not documented nor
supported. Only added for compatibility reasons.

fixes #6474

10 years agoLivestatus: Fix 'OutputFormat:json' w/o space is valid (NagVis bug)
Michael Friedrich [Wed, 11 Jun 2014 20:53:56 +0000 (22:53 +0200)]
Livestatus: Fix 'OutputFormat:json' w/o space is valid (NagVis bug)

Fixes #6470

10 years agoRemove default example config.
Michael Friedrich [Wed, 11 Jun 2014 19:28:01 +0000 (21:28 +0200)]
Remove default example config.

Refs #6254

10 years agoMerge branch 'feature/global-zone-6254' into next
Michael Friedrich [Wed, 11 Jun 2014 14:49:44 +0000 (16:49 +0200)]
Merge branch 'feature/global-zone-6254' into next

Fixes #6254

10 years agoAdd global zone identifier for global object/template configuration.
Michael Friedrich [Tue, 10 Jun 2014 09:40:43 +0000 (11:40 +0200)]
Add global zone identifier for global object/template configuration.

Refs #6254

10 years agoSpec file fixes for opensuse, preun macro, conditionals.
Michael Friedrich [Wed, 11 Jun 2014 13:52:41 +0000 (15:52 +0200)]
Spec file fixes for opensuse, preun macro, conditionals.

Fixes #6446

10 years agoDocumentation: Update command definitions to use argument conditions.
Michael Friedrich [Wed, 11 Jun 2014 12:05:47 +0000 (14:05 +0200)]
Documentation: Update command definitions to use argument conditions.

Fixes #6364

10 years agoDebian: update updateversion tool to handle pre-release tags.
Markus Frosch [Wed, 11 Jun 2014 11:24:07 +0000 (13:24 +0200)]
Debian: update updateversion tool to handle pre-release tags.

Refs #5816

10 years agoDebian: add updateversion tool for local tests.
Markus Frosch [Sun, 25 May 2014 19:30:29 +0000 (21:30 +0200)]
Debian: add updateversion tool for local tests.

Refs #5816

10 years agoDocumentation: Add a note on no length restrictions for plugin output/perfdata.
Michael Friedrich [Wed, 11 Jun 2014 09:38:08 +0000 (11:38 +0200)]
Documentation: Add a note on no length restrictions for plugin output/perfdata.

Fixes #6452

10 years agoDocumentation: Update migration script location.
Michael Friedrich [Tue, 10 Jun 2014 17:07:47 +0000 (19:07 +0200)]
Documentation: Update migration script location.

10 years agospec: Fix rhel/suse conditiations with {pre,post}un.
Michael Friedrich [Tue, 10 Jun 2014 11:46:45 +0000 (13:46 +0200)]
spec: Fix rhel/suse conditiations with {pre,post}un.

Refs #6446
Refs #6374

10 years agoFix segfault with zones without endpoints on config compile.
Michael Friedrich [Fri, 6 Jun 2014 11:30:06 +0000 (13:30 +0200)]
Fix segfault with zones without endpoints on config compile.

Fixes #6425

10 years agoBump version to 2.0.0-2.beta2.dev.
Michael Friedrich [Fri, 6 Jun 2014 09:14:38 +0000 (11:14 +0200)]
Bump version to 2.0.0-2.beta2.dev.

10 years agoRelease version 2.0.0-beta2 v2.0.0-beta2
Michael Friedrich [Fri, 6 Jun 2014 08:53:43 +0000 (10:53 +0200)]
Release version 2.0.0-beta2

10 years agoUpdate docs and ChangeLog for Beta 2.
Michael Friedrich [Fri, 6 Jun 2014 08:51:56 +0000 (10:51 +0200)]
Update docs and ChangeLog for Beta 2.

Fixes #6413

10 years agoDocumentation: Update some migration examples.
Michael Friedrich [Fri, 6 Jun 2014 08:48:39 +0000 (10:48 +0200)]
Documentation: Update some migration examples.

Refs #6380

10 years agoDB IDO: Bump required schema to 1.11.3
Michael Friedrich [Fri, 6 Jun 2014 08:42:10 +0000 (10:42 +0200)]
DB IDO: Bump required schema to 1.11.3

Fixes #6422

10 years agoDocumentation: Fix running_kernel head in documentation.
Carlos Cesario [Thu, 5 Jun 2014 15:05:28 +0000 (12:05 -0300)]
Documentation: Fix running_kernel head in documentation.

Fixes #6415

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoError messages: Properly catch and log DB IDO errors.
Michael Friedrich [Thu, 5 Jun 2014 16:26:38 +0000 (18:26 +0200)]
Error messages: Properly catch and log DB IDO errors.

Refs #6070

10 years agoError messages: Use strerror() for message formatting.
Michael Friedrich [Thu, 5 Jun 2014 15:45:02 +0000 (17:45 +0200)]
Error messages: Use strerror() for message formatting.

Refs #6070

10 years agoError messages: Gracefully handle PID file errors.
Michael Friedrich [Thu, 5 Jun 2014 15:44:41 +0000 (17:44 +0200)]
Error messages: Gracefully handle PID file errors.

Refs #6070

10 years agoError messages: Properly handle livestatus/cmd pipe errors.
Michael Friedrich [Thu, 5 Jun 2014 15:43:34 +0000 (17:43 +0200)]
Error messages: Properly handle livestatus/cmd pipe errors.

Refs #6070

10 years agoError messages: Replace exceptions with log/exit in main application.
Michael Friedrich [Thu, 5 Jun 2014 14:36:03 +0000 (16:36 +0200)]
Error messages: Replace exceptions with log/exit in main application.

Refs #6070

10 years agoError Messages: Catch and log all Socket class exceptions.
Michael Friedrich [Thu, 5 Jun 2014 14:17:53 +0000 (16:17 +0200)]
Error Messages: Catch and log all Socket class exceptions.

Refs #6070

10 years agoError Messages: Catch boost::regex exceptions.
Michael Friedrich [Thu, 5 Jun 2014 14:13:28 +0000 (16:13 +0200)]
Error Messages: Catch boost::regex exceptions.

Refs #6070

10 years agoError messages: Add logging to Socket class.
Michael Friedrich [Thu, 5 Jun 2014 13:45:37 +0000 (15:45 +0200)]
Error messages: Add logging to Socket class.

Refs #6070

10 years agoError messages: Fix Logger exceptions.
Michael Friedrich [Thu, 5 Jun 2014 13:35:30 +0000 (15:35 +0200)]
Error messages: Fix Logger exceptions.

Refs #6070

10 years agoError messages: Enable logging in TlsStream class.
Michael Friedrich [Thu, 5 Jun 2014 13:34:54 +0000 (15:34 +0200)]
Error messages: Enable logging in TlsStream class.

Refs #6070

10 years agoError messages: Catch all SSL/TLS exceptions in ApiListener.
Michael Friedrich [Thu, 5 Jun 2014 13:03:56 +0000 (15:03 +0200)]
Error messages: Catch all SSL/TLS exceptions in ApiListener.

Refs #6070

10 years agoError messages: Fix ApiListener.
Michael Friedrich [Thu, 5 Jun 2014 12:36:57 +0000 (14:36 +0200)]
Error messages: Fix ApiListener.

Refs #6070