Commit Graph

107 Commits

Author SHA1 Message Date
Michael Friedrich 6bebdddf98 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
2014-06-12 16:05:45 +02:00
Markus Frosch 9c40164e6c Debian: update updateversion tool to handle pre-release tags.
Refs #5816
2014-06-11 13:24:07 +02:00
Markus Frosch 95387db8f3 Debian: add updateversion tool for local tests.
Refs #5816
2014-06-11 13:13:13 +02:00
Carlos Cesario 1b45b814eb Add icinga2 vim syntax file and installation documentation.
Fixes #3199

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-02 16:29:27 +02:00
Michael Friedrich 9225f7ed00 Drop check_kernel in favor of check_running_kernel, add plugin command.
Refs #6369
2014-06-02 13:34:35 +02:00
Gunnar Beutner 32e6e6ff04 Rewrite the check_kernel script and implement support for RHEL, Fedora and Ubuntu.
Fixes #6332
2014-05-31 09:13:01 +02:00
Gunnar Beutner 2cac149903 Fix logrotate.d/icinga2 file in the Debian package.
Fixes #6322
2014-05-27 10:19:43 +02:00
Gunnar Beutner 59a0ff00a7 Use icinga2-enable-feature's multi-argument functionality in the Debian/RPM packages.
Refs #6315
2014-05-27 07:27:12 +02:00
Gunnar Beutner 2350593ef0 Fix logrotate config.
Fixes #6229
2014-05-22 11:22:30 +02:00
Gunnar Beutner f36df69ba2 Remove Doxygen.
Fixes #5006
2014-05-19 13:54:02 +02:00
Michael Friedrich 939c875fe0 Fix missing 'zones' dir in Debian packages.
Refs #6191
2014-05-14 16:01:47 +02:00
Gunnar Beutner 098dd194d3 Add missing dependencies for the Debian package.
Refs #6012
2014-05-13 07:04:46 +02:00
Gunnar Beutner ff3de818f6 Move kernel check to the Debian package directory.
Refs #6012
2014-05-13 07:00:22 +02:00
Michael Friedrich cf930ef552 Remove Perl dependency for Debian packages.
Fixes #6150
2014-05-08 18:15:39 +02:00
Gunnar Beutner ae8137d7c8 Update Debian package.
Refs #6107
2014-05-08 09:21:45 +02:00
Michael Friedrich f85fae8762 Migration: Remove broken script, update documentation for work-in-progress.
Refs #5821
2014-05-04 22:01:58 +02:00
Gunnar Beutner aaf3aacaf2 Add apt.conf for the Debian package.
Refs #6002
2014-04-13 17:51:24 +02:00
Gunnar Beutner a4b9cf33cc Update directories for the Debian package.
Refs #6002
2014-04-13 10:00:00 +02:00
Gunnar Beutner ca4fe71d69 Implement support for auto-discovering services for passive agents.
Fixes #6002
2014-04-13 09:22:27 +02:00
Gunnar Beutner 02c7207d9a Fix commonName check in the auto-discovery script.
Refs #4865
2014-04-12 22:46:56 +02:00
Gunnar Beutner edf82f7b4d Make sure that the auto-discovery script gets installed.
Refs #4865
2014-04-12 20:20:00 +02:00
Gunnar Beutner f0e58db266 Add setup scripts for the agent.
Refs #4865
2014-04-12 11:36:51 +02:00
Gunnar Beutner a2e4c57cee Integrate Sphinx into the build system.
Refs #5774
2014-04-08 10:33:51 +02:00
Michael Friedrich 22c9caa6ec Fix Debian packages not shipping schema/upgrade.
Fixes #5915
2014-04-02 11:53:15 +02:00
Markus Frosch 008c2c2245 Debian: Support icinga-cgi-bin as dependency for icinga2-classicui
Also updated the HTML files and JS stuff that has to be changed for Icinga2.

Fixes #5770
2014-03-19 20:12:47 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Markus Frosch c3656f7e1d Debian: Added package for debug symbols.
Fixes #5362
2013-12-18 14:21:30 +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
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
2013-12-11 16:07:46 +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
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
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
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 #5261
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 #5086
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 #5102
2013-12-04 19:06:43 +01:00
Markus Frosch 29115f4fd3 Debian: doing cmake before clean to include icinga-version.h.
Fixes #5233
2013-11-27 14:55:14 +01:00
Gunnar Beutner 05a4c090c2 Make sure that the icinga2-classicui package enables the command pipe.
Fixes #5070
2013-11-17 20:10:12 +01:00
Gunnar Beutner 7ae3a47f0e Remove unused dependencies.
Refs #4975
2013-11-09 09:25:52 +01:00
Gunnar Beutner a28dcb02fc Update minimum cmake version.
Refs #4988
2013-11-09 08:10:43 +01:00
Markus Frosch 941224cb68 Updated Debian packaging for 0.0.4
refs #4988
refs #4975
2013-11-08 14:14:57 +01:00
Markus Frosch a73f98414a Modified Debian packaging for development builds
refs #4988
2013-11-08 14:14:55 +01:00
Markus Frosch c930215d3f Imported current Debian packaging (for 0.0.3)
refs #4988
2013-11-08 14:14:55 +01:00
Gunnar Beutner 257c9a8aef Removed Debian package files. 2012-09-21 14:13:13 +02:00
Gunnar Beutner 867eae7838 Removed git-buildpackage config and instead added code to invoke autogensh in debian/rules 2012-09-21 14:03:43 +02:00
Gunnar Beutner 6a15e69e88 Updated git-buildpackage options to not run ./configure twice. 2012-09-20 11:10:11 +02:00
Gunnar Beutner ac6c9ab7c2 Removed git-buildpackage note. Added gbp.conf file. 2012-09-20 10:39:55 +02:00
Gunnar Beutner 699b66b913 Added boost to Debian deps. 2012-09-14 11:11:05 +02:00
Gunnar Beutner ef9e5ec585 Clean up .gitignore files. 2012-09-14 11:03:21 +02:00
Gunnar Beutner 35479407a9 Updated Debian copyright file. 2012-06-20 08:11:44 +02:00
Gunnar Beutner ab3b134552 Fixed Debian lintian warnings. 2012-05-11 13:54:37 +02:00
Gunnar Beutner f6dff42434 Fixed FSF address. 2012-05-11 13:33:57 +02:00
Gunnar Beutner 3214c29363 Added copyright headers.
Updated Debian build files.
2012-05-10 12:06:41 +02:00
Gunnar Beutner 3f9330c743 Added Debian package files. 2012-05-10 11:04:15 +02:00