Commit Graph

3864 Commits

Author SHA1 Message Date
Gunnar Beutner 726a55fedb Replace FindMYSQL.cmake with another script which has a compatible license
fixes #6493
2014-06-25 10:21:38 +02:00
Gunnar Beutner ac6f3f8acf Fix PostgreSQL warnings about escaped strings
fixes #5577
2014-06-25 09:47:20 +02:00
Gunnar Beutner ad1a11f882 Remove source line information from stacktraces
fixes #6576
2014-06-25 09:18:53 +02:00
Gunnar Beutner 9b319d05ee Update AUTHORS 2014-06-24 13:46:09 +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
Jan Wagner 582824e291 Adding ports to checks pop/imap/smtp and new check dig
fixes #6531

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-06-24 13:20:41 +02:00
Gunnar Beutner ec903058ef Disable console log after activating all config items
fixes #6316
2014-06-24 13:04:07 +02:00
Gunnar Beutner 6bf47fd221 Fix Livestatus queries where the second operand is omitted
fixes #6494
2014-06-24 12:51:56 +02:00
Gunnar Beutner 8d3632caf8 Cache parent and child object for dependencies
fixes #6565
2014-06-24 11:46:53 +02:00
Gunnar Beutner 0f9f9a12b3 Add missing license headers
refs #6493
2014-06-23 10:56:12 +02:00
Gunnar Beutner adccc41a8d Fix: Icinga doesn't send SetLogPosition messages when one of the endpoints fails to connect
fixes #6537
2014-06-23 10:00:02 +02:00
Michael Friedrich c4bfff27c7 Notifications: Check if disabled when sending reminder
refs #6510
2014-06-20 10:34:00 +02:00
Michael Friedrich aade27ab70 Documentation: fix ssh example 2014-06-19 15:50:11 +02:00
Michael Friedrich a277e2dc3f Plugins: add fping4/6 commands
refs #6225
2014-06-18 19:26:18 +02:00
Markus Frosch d8cc127768 Debian: update changelog to warn about package base 2014-06-16 16:16:27 +02:00
Alexander Wirt 52d3461060 Debian: Merge back release packaging into development
Signed-off-by: Markus Frosch <markus@lazyfrosch.de>

Refs #5816
2014-06-16 16:16:09 +02:00
Michael Friedrich 30384a4340 Release version 2.0.0.
refs #6305
2014-06-16 09:02:43 +02:00
Michael Friedrich c1034a8e7f plugin command dns: small naming fixes
refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy a4a015c8be Add CheckCommand "dns"
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 2dc4b968d9 Improve snmp CheckCommand, add snmpv3 CheckCommand.
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy dedb16b2c8 Add "ssl" CheckCommand
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 64946bc3a2 Add http_expect_body_regex and http_ignore_body to command-plugins.conf.
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 444a85ddd0 Add (s)smtp_mail_from option to smtp and ssmtp commands.
Refs #6487
2014-06-16 08:49:52 +02:00
Michael Friedrich 979d7559c9 Merge branch 'feature/separate-CMakeLists-6491' into next
fixes #6491
2014-06-16 08:44:49 +02:00
Wolfgang Nieder caea8c03b1 Docs: fix typos in chapter 8.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-16 08:44:12 +02:00
Gerd von Egidy 3ac3c91499 Separate CMakeLists.txt for etc/initsystem.
Refs #6491
2014-06-16 01:58:59 +02:00
Michael Friedrich ef2ffd8534 Documentation: fix url formatting, dependency example 2014-06-15 23:17:16 +02:00
Wolfgang Nieder d2a239f78e Docs: fix typos in chapter 6.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-15 23:03:53 +02:00
Gerd von Egidy 9fbd5c0841 Document new CMake parameters and startup for systemd-support. 2014-06-15 22:28:41 +02:00
Alexander Wirt a51860d2a1 Fix icinga-{en,dis}able-feature text 2014-06-15 22:10:15 +02:00
Michael Friedrich aae8db2349 fix debian/CMakeLists.txt cmake location
refs #6485
2014-06-15 20:34:58 +02:00
Michael Friedrich 82eafc2862 update AUTHORS 2014-06-15 20:28:47 +02:00
Michael Friedrich 61793a5dbb Merge branch 'feature/systemd-4794-final' into next
fixes #4794
2014-06-15 20:27:15 +02:00
Michael Friedrich 3d8d8dce52 install new man page properly
refs #4794
2014-06-15 20:23:03 +02:00
Alexander Wirt 63888508a4 Run check_run only in do_start() 2014-06-15 20:18:20 +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 5b8b85d94f Don't mark the systemd service file as executable.
Refs #4794
2014-06-15 20:08:05 +02:00
Gerd von Egidy 39150cae30 Add a manpage for icinga2-prepare-dirs.
Refs #4794
2014-06-15 20:01:04 +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
Wolfgang Nieder c2f8d109b5 Docs: fix some typos.
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-06-15 18:39:55 +02:00
Gerd von Egidy 83528f660f Move decision about systemd/sysvinit to one location. Add files forgotten during merge.
Refs #4794
2014-06-15 17:25:27 +02:00
Sam Kottler 3d8bac59fe Add missing endif 2014-06-15 17:01:57 +02:00
Sam Kottler 5f17507cd6 Start with sysvinit installation logic 2014-06-15 17:01:24 +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
Sam Kottler 6a52097255 Generate the service unit on Fedora and use the %systemd_post/_postun/_preun macros for service setup
Refs #4794
2014-06-15 16:56:22 +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