Michael Friedrich
0f4e3004b6
Documentation: Add some more remote client details
...
Rename agents.conf too.
refs #7254
2014-11-02 21:56:11 +01:00
Michael Friedrich
4eeed787ea
Docs: Add first draft for setting up remote clients using Icinga 2
...
refs #7254
2014-11-02 20:35:16 +01:00
Gunnar Beutner
2ab43a63cb
Rename templates "agent-{host,service}" to "satellite-{host,service}"
...
refs #7525
2014-10-31 13:15:51 +01:00
Gunnar Beutner
4b6abd9aa7
Update downtimes.conf example config
...
fixes #7472
2014-10-30 12:22:31 +01:00
Gunnar Beutner
75b599c801
Set host/service variable in apply rules
...
fixes #7479
2014-10-29 10:09:40 +01:00
Michael Friedrich
64298c35ef
Cli: Add agents.conf w/ default agent templates for 'agent update-config'
...
refs #7248
2014-10-28 19:46:10 +01:00
Michael Friedrich
fec8e92221
Cli: Make sure to create & include 'repository.d'
...
refs #7255
2014-10-27 19:19:45 +01:00
Gunnar Beutner
35a1930629
Create repository.d directory
2014-10-24 14:24:59 +02:00
Gunnar Beutner
9ee523e601
Clean up the "agent setup" command a bit
...
refs #7423
2014-10-23 03:35:01 +02:00
Gunnar Beutner
6e17eadf8f
Remove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables
...
refs #7370
2014-10-20 21:41:04 +02:00
Gunnar Beutner
7db8588980
Implement auto-completion for positional arguments
...
refs #7255
2014-10-17 15:54:46 +02:00
Gunnar Beutner
ac47649722
Remove unnecessary arguments from the systemd service file
2014-10-17 14:37:43 +02:00
Gunnar Beutner
f433679b13
Implement the "pki request" and "pki ticket" commands
...
refs #7244
2014-10-16 12:27:34 +02:00
Michael Friedrich
a895a6236a
Fix systemd unit file
...
refs #7246
2014-10-16 12:08:21 +02:00
Gunnar Beutner
d7d6d6096f
Remove icinga2-enable-feature and icinga2-disable-feature
...
refs #7250
2014-10-14 18:35:52 +02:00
Gunnar Beutner
533ec940b8
Remove superfluous config directive
...
refs #7246
2014-10-14 17:45:48 +02:00
Gunnar Beutner
2a60ce8625
Improve auto-completion for arguments
...
fixes #7375
2014-10-14 16:45:00 +02:00
Gunnar Beutner
15bd96aa9a
Remove --user and --group
...
refs #7246
2014-10-13 16:07:04 +02:00
Gunnar Beutner
a01fb6d6e6
Make sure we're using the right user/group for CLI commands
...
refs #7246
2014-10-13 13:44:45 +02:00
Michael Friedrich
4195d23d97
Fix typo in sample config for http ServiceGroup
...
fixes #7365
2014-10-11 16:49:15 +02:00
Gunnar Beutner
8fa7bde4da
Fix incorrect index in the bash autocompletion script
...
refs #7246
2014-10-10 11:38:37 +02:00
Gunnar Beutner
4c8d0b9283
Fix auto-completion for arguments
...
refs #7246
2014-10-10 10:07:56 +02:00
Gunnar Beutner
a4081f1445
Implement support for CLI commands
...
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner
5ae1f4273c
Init script: Check whether the PID file exists
...
fixes #7047
2014-09-02 13:48:48 +02:00
Gunnar Beutner
dde00a3f16
Use LSB-compliant exit codes for the init script
...
fixes #7044
2014-09-02 13:40:33 +02:00
Michael Friedrich
b4953a613b
Fix the documentation for manubulon check plugin commands
...
refs #6650
2014-08-27 19:57:44 +02:00
Carlos Cesario
fe6dc00a85
Add some manubulon snmp plugins
...
refs #6650
2014-08-27 19:57:43 +02:00
Michael Friedrich
32c20132d0
Documentation: Rewrite cluster docs
...
* Re-organize structure
* New section with HA features
* Permissions and security
* How to add a new node
* Cluster requirements
* Additional hints on installation
* More troubleshooting
fixes #6743
fixes #6703
fixes #6997
2014-08-24 11:21:54 +02:00
Gunnar Beutner
495bc5b733
Use the icingacmd group for /var/{cache,log,run}/icinga2
...
refs #6948
2014-08-19 14:05:02 +02:00
Gunnar Beutner
72d66e4f17
Remove if(NOT DEFINED ICINGA2_SYSCONFIGFILE) in etc/initsystem/CMakeLists.txt
...
fixes #6832
2014-08-01 12:26:45 +02:00
Gunnar Beutner
20c16a8e93
Rename ICINGA2_PLUGIN_PATH to ICINGA2_PLUGINDIR
...
refs #6548
2014-07-22 13:26:42 +02:00
Gunnar Beutner
a49a598eef
Make location of the /run directory configurable
...
fixes #6627
2014-07-22 13:26:37 +02:00
Gunnar Beutner
e6dc8c21a1
Add cmake constant for PluginDir
...
fixes #6548
2014-07-16 09:03:51 +02:00
Michael Friedrich
af2645d7c1
sample config: add check commands location hint (itl/plugin check commands)
...
fixes #6713
2014-07-12 13:30:51 +02:00
Gunnar Beutner
5fb52a4e48
Remove superfluous quotes and commas in dictionaries
...
fixes #6687
2014-07-11 14:38:15 +02:00
Michael Friedrich
d56da32a16
Use CMAKE_INSTALL_FULL_SYSCONFDIR for ICINGA2_SYSCONFIGFILE variable
...
fixes #6657
2014-07-09 17:20:23 +02:00
Gerd von Egidy
9667fb40b7
Improve the systemd service definition file
...
- put "Icinga" back in the "Description=" field as usually only the description is displayed on unit start/stop or shown in syslog
- add dependency to carbon-cache.service
(systemd only cares about dependencies if the respective services are enabled, so this does not hurt if someone does not have carbon-cache
installed at all or is not using it at the moment)
fixes #6551
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-06-24 13:40:44 +02:00
Gerd von Egidy
933e2480fc
add new cmake option INSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT requested for Gentoo packaging
...
fixes #6498
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-06-24 13:39:38 +02:00
Gerd von Egidy
3ac3c91499
Separate CMakeLists.txt for etc/initsystem.
...
Refs #6491
2014-06-16 01:58:59 +02:00
Gerd von Egidy
fe62fb90e6
Don't call check_run in the initscript, this function is gone.
...
Refs #4794
2014-06-15 20:08:45 +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
Sam Kottler
4568f68f90
Remove mention of icinga in the description since it's already in the name and might cause versioning confusion
...
Refs #4794
2014-06-15 17:00:30 +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
59a1a133c3
Reloading with systemd is fixed now.
...
Refs #4794
2014-06-15 15:32:13 +02:00
Gerd von Egidy
7bfd2f1ea2
Systemd can't resolve variables recursively.
...
Refs #4794
2014-06-15 15:31:32 +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
Tim Hardeck
74751a4e22
Fix logrotate should rotate log files as icinga user
...
fixes #6477
2014-06-13 09:47:26 +02:00
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