Commit Graph

37 Commits

Author SHA1 Message Date
Gerd von Egidy 3ac3c91499 Separate CMakeLists.txt for etc/initsystem.
Refs #6491
2014-06-16 01:58:59 +02:00
Gerd von Egidy dd9b7bcd73 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
2014-06-15 19:47:27 +02:00
Gerd von Egidy 4ebde46520 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
2014-06-15 16:25:50 +02:00
Gerd von Egidy ef49658474 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
2014-06-15 15:49:13 +02:00
Gerd von Egidy 954ceb3c6a Fix CMake escaping.
Refs #4794
2014-06-15 15:31:10 +02:00
Gerd von Egidy 69c06115d2 First try at a systemd service definition file, install it from CMake.
Native systemd support is enabled with cmake -DUSE_SYSTEMD=ON

Refs #4794
2014-06-15 15:30:53 +02:00
Michael Friedrich 25e4e81e50 Yet another kernel removal fix.
Refs #6369
2014-06-02 14:54:59 +02:00
Michael Friedrich 26f0ef7657 Drop missing file from install.
Refs #6369
2014-06-02 14:06:48 +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
Carlos Cesario a7a234a600 Add missing file icingastatus.conf.
Fixes #6308

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-05-26 16:07:37 +02:00
Gunnar Beutner 7183495d89 Make username in the logrotate config configurable.
Fixes #6295
2014-05-26 09:01:23 +02:00
Michael Friedrich 0eec68aec4 Emphasize on apply rules in example config.
- move all templates into templates.conf
- move service apply ping{4,6} to services.conf
- apply notifications based on vars.sla == "24x7"
- apply scheduled downtime based on host/service name
- apply ping{4,6} based on hostgroup membership
- keep hosts/localhost for real local configuration

Fixes #6266
2014-05-22 22:19:41 +02:00
Michael Friedrich ec7d9b0f3d Move zone specific configuration to zones.conf included in icinga2.conf.
Fixes #6208
2014-05-22 21:00:42 +02:00
Gunnar Beutner 0d36cc8d5f Implement support for the zones.d config directory.
Refs #6191
2014-05-13 13:19:43 +02:00
Gunnar Beutner ff3de818f6 Move kernel check to the Debian package directory.
Refs #6012
2014-05-13 07:00:22 +02:00
Gunnar Beutner 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Gunnar Beutner e749f6eae5 Make sure the installer doesn't overwrite config files.
Refs #4865
2014-04-20 11:22:15 +02:00
Gunnar Beutner 0fb55f3404 Fix NSIS installer and Windows service.
Refs #4865
2014-04-18 12:15:01 +02:00
Gunnar Beutner 87cead02ed Split localhost config into several files.
Refs #6002
2014-04-13 17:32:38 +02:00
Gunnar Beutner 365779d360 Remove the SNMP auto-discovery scripts.
Refs #4865
2014-04-13 01:20:51 +02:00
Gunnar Beutner 750603c49d Update the example config.
Refs #4865
2014-04-12 10:28:31 +02:00
Gunnar Beutner aad78fee10 Install missing file.
Refs #4865
2014-04-12 08:53:09 +02:00
Gunnar Beutner 899b9da5b4 Update ITL commands.
Refs #4865
2014-04-12 08:18:51 +02:00
Gunnar Beutner cea15e11dc Implement new state and type filters.
Fixes #5906
2014-04-07 14:00:18 +02:00
Gunnar Beutner 036fd3303f Replace $plugindir$ macro with a constant.
Fixes #5877
2014-03-31 13:11:36 +02:00
Gunnar Beutner c580632e90 Add check plugin for net-snmp extend checks.
Fixes #5861
2014-03-26 09:51:10 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich 87ba0ea3ab Add logrotate config.
Refs #5448
2014-01-14 17:24:38 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Michael Friedrich 1dbd689f9c Add generic-user template.
Fixes #5236

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-11-28 15:20:32 +01:00
Gunnar Beutner 3c29e4e907 Use a shell script for the mail-service-notification command.
Refs #5224
2013-11-27 09:48:00 +01:00
Gunnar Beutner ab388ce837 Use a file for the default log (instead of syslog).
Fixes #5119
2013-11-21 12:28:59 +01:00
Gunnar Beutner 5b81e62f0a Fix CGI path in the Apache config.
Fixes #5062
2013-11-12 08:49:59 +01:00
Gunnar Beutner de6cac6e4a Create RPM package for ido-pgsql.
Fixes #4999
2013-11-05 10:37:36 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00