Commit Graph

292 Commits

Author SHA1 Message Date
Gunnar Beutner 606834e190 Rename the notification attributes.
Fixes #5906
2014-04-09 10:25:23 +02:00
Gunnar Beutner 5619498762 Fix re-notification interval.
Refs #5909
2014-04-09 01:11:01 +02:00
Gunnar Beutner 510610741b Update the example config.
Refs #5979
2014-04-09 00:11:29 +02:00
Gunnar Beutner 3df3930a92 Update example config.
Refs #5909
2014-04-09 00:07:39 +02:00
Gunnar Beutner ba2309338e Update the example config.
Refs #5909
2014-04-08 23:16:31 +02:00
Gunnar Beutner 0fdb9ea21b Implement attributes for some well-known macros and allow macro recursion.
Refs #5856
Fixes #5959
2014-04-08 13:23:24 +02:00
Michael Friedrich 9ab4b3dd16 Remove the 'Icinga' prefix for global constants.
Fixes #5960
2014-04-07 21:42:23 +02:00
Gunnar Beutner cea15e11dc Implement new state and type filters.
Fixes #5906
2014-04-07 14:00:18 +02:00
Gunnar Beutner 323f3ec6c5 Update example config.
Refs #5925
2014-04-05 22:20:57 +02:00
Gunnar Beutner 5e38c81eb5 Implement apply target types.
Fixes #5924
2014-04-05 13:53:55 +02:00
Gunnar Beutner c42a582307 Rename "short_name", "host" and "sevice" attributes.
Fixes #5857
2014-04-05 09:15:40 +02:00
Michael Friedrich 09cbf18b26 Implement 'env' dictionary instead of 'export_macros' array.
Revamp notification runtime macros too.

Refs #5855
2014-04-04 22:57:56 +02:00
Michael Friedrich 3d419cd48b Rename 'hostcheck' to 'hostalive' check command.
Refs #5939
2014-04-04 19:04:13 +02:00
Michael Friedrich 9dd37cf9bc Add ITL hostcheck command for sample config.
Fixes #5939
2014-04-04 16:22:12 +02:00
Michael Friedrich 5c58eb368c Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
2014-04-03 11:35:25 +02:00
Gunnar Beutner 0fddb46b68 Fix Vagrant config.
Refs #5870
2014-04-01 11:17:06 +02:00
Gunnar Beutner 5eca503362 Support new-lines in addition to commas to separate commands.
Fixes #5901
2014-04-01 09:45:57 +02:00
Gunnar Beutner 036fd3303f Replace $plugindir$ macro with a constant.
Fixes #5877
2014-03-31 13:11:36 +02:00
Gunnar Beutner 79a7a0be92 Update documentation.
Refs #5870
2014-03-31 12:00:10 +02:00
Gunnar Beutner 93baea247c Only apply ping4 service to hosts which have an address macro.
Fixes #5891
2014-03-31 09:49:45 +02:00
Michael Friedrich 020a856bce Config: Fix IcingaMacros const identifier. 2014-03-30 16:12:30 +02:00
Gunnar Beutner fa11e5a97e Update example config.
Refs #5878
2014-03-28 16:32:15 +01:00
Gunnar Beutner 8958d2f69f Implement the "import" keyword.
Refs #5869
2014-03-28 11:22:36 +01:00
Gunnar Beutner c580632e90 Add check plugin for net-snmp extend checks.
Fixes #5861
2014-03-26 09:51:10 +01:00
Gunnar Beutner a2d6e90d06 Rename "none" time period to "never." 2014-03-25 10:08:28 +01:00
Michael Friedrich 1d32c5b2d3 Add --no-validate option and skip duplicate validation on (re)start.
Fixes #5800
2014-03-19 20:59:18 +01:00
Gunnar Beutner 700cc43770 Update documentation.
Refs #5789
2014-03-19 12:46:23 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich cf3f0eaee7 Chown log/pid on startup.
Refs #5787
2014-03-17 18:06:23 +01:00
Gunnar Beutner a066cbf110 Init script shouldn't run config validation as root.
Fixes #5761
2014-03-17 10:14:21 +01:00
Gunnar Beutner 3aa8bd6164 Add StateFilterOK in the example notification config.
Fixes #5762
2014-03-17 09:42:43 +01:00
Gunnar Beutner 4d6088bee1 Stop checks during shutdown.
Fixes #5784
2014-03-17 09:04:19 +01:00
Michael Friedrich 1e9f2f57a3 Do not start, restart, reload on config validation errors.
Fixes #5781
2014-03-16 23:26:47 +01:00
Michael Friedrich 8acad9aac3 Add IcingaStatusWriter to features-available.
Fixes #5741
2014-03-11 12:11:48 +01:00
Johannes Meyer b39b241591 Refactor output of all vm-tests 2014-02-14 16:05:58 +01:00
Michael Friedrich fbdadea24c Fix notification script.
Fixes #5419
2014-01-29 14:41:56 +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 03a0815357 Fix syntax error in mail-notification.sh.
Fixes #5285
2013-12-09 13:03:08 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Gunnar Beutner bb652ff335 Rename one of the example timeperiods.
Refs #5268
2013-12-05 12:30:39 +01:00
Gunnar Beutner 6714796ecd Set rlimits in the Application class (rather than in the init script).
Fixes #5260
2013-12-05 11:11:03 +01:00
Gunnar Beutner e540685e13 Implement support for constants in the config parser.
Refs #4946
2013-12-04 11:32:45 +01:00
Gunnar Beutner 25cece444d Remove Windows example config.
Refs #4946
2013-12-04 11:04:17 +01:00
Michael Friedrich 65481617d2 Clean up configs.
Refs #5254
2013-12-03 09:54:14 +01:00
Gunnar Beutner f8d2172c27 Implement include_recursive config directive.
Fixes #5238
2013-11-29 12:26:31 +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 7d8733c033 Fix some more RPM warnings.
Fixes #5231
2013-11-27 14:43:11 +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 0e086118ca Fix file permissions for /var/*/icinga2 and /etc/icinga.
Fixes #5221
2013-11-26 14:21:40 +01:00
Gunnar Beutner 7910a8fa37 Fix RPM warnings.
Fixes #5193
2013-11-25 20:28:06 +01:00
Gunnar Beutner 5bc3b02758 Fix syntax error in debuglog.conf
Fixes #5122
2013-11-22 08:16:16 +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 1fc47e67a8 Implement the IcingaCheckTask check type.
Fixes #2822
2013-11-21 11:40:03 +01:00
Gunnar Beutner 9bf5ad2a2b Use += for groups in the example config.
Fixes #5084
2013-11-20 09:49:17 +01:00
Gunnar Beutner 1ee21816e4 Set NPROC limit in the init script.
Refs #5050
2013-11-15 14:10:52 +01:00
Gunnar Beutner 979df4e110 Create new threads more aggressively right after program start.
Refs #5050
2013-11-15 12:36:52 +01:00
Gunnar Beutner 5b81e62f0a Fix CGI path in the Apache config.
Fixes #5062
2013-11-12 08:49:59 +01:00
Gunnar Beutner eafdb48ffe Implement Vagrant support for ido-pgsql.
Fixes #5001
2013-11-05 11:19:21 +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
Gunnar Beutner 2c143fbdf8 Remove unused files.
Refs #4962
2013-11-03 11:12:47 +01:00
Gunnar Beutner 0c488c84ad Update icinga2 path in the init script. 2013-10-21 16:43:12 +02:00
Michael Friedrich 4fc170bced Add debuglog feature. 2013-10-21 11:26:08 +02:00
Gunnar Beutner fab0d1efcc Fix make install on FreeBSD. 2013-10-21 10:51:39 +02:00
Michael Friedrich 0c37d63af5 Rename i2enfeature/i2disfeature to icinga2-{enable,disable}-feature.
fixes #4904
2013-10-18 22:11:40 +02:00
Michael Friedrich dd1ec43cd0 Documentation: Add Notifications, Escalations, Filters, Delay. 2013-10-18 00:11:35 +02:00
Michael Friedrich b4ae8239f2 Rename features: statusdat -> statusdata, compat-log -> compatlog . 2013-10-17 13:57:53 +02:00
Michael Friedrich 8686305848 Fix enable_perfdata. 2013-10-16 17:18:21 +02:00
Gunnar Beutner 7211133c00 Fix spelling mistake. 2013-10-16 09:53:28 +02:00
Gunnar Beutner d50a77b85b Fix "mail-notification" template. 2013-10-16 09:24:29 +02:00
Gunnar Beutner 22634c1c1a Remove superfluous newlines. 2013-10-16 09:24:13 +02:00
Michael Friedrich 0650832018 Add example notifications (users, notifications, groups).
fixes #4842
2013-10-16 01:01:32 +02:00
Michael Friedrich 91afc36b3a Add example timeperiods.
fixes #4839
2013-10-15 22:52:03 +02:00
Michael Friedrich 4135578903 Add GraphiteWriter.
fixes #3986
2013-10-15 14:56:02 +02:00
Gunnar Beutner 8d4e7bc002 Make sure that the restart action doesn't fail when the PID file isn't there. 2013-10-14 18:02:37 +02:00
Michael Friedrich 160e3f063d Fix command pipe path in classic ui config. 2013-10-10 17:17:42 +02:00
Michael Friedrich b25facafb9 spec: Add icinga2-classicui-config package.
Conflicts with icinga-gui-config meta package shipped with 1.10
2013-10-10 16:43:15 +02:00
Michael Friedrich 8a05cf8cb9 Add missing Makefile.am. 2013-10-10 15:30:04 +02:00
Michael Friedrich 7e5e1d2a9c Fix make dist. 2013-10-10 15:13:12 +02:00
Gunnar Beutner 6881b7085b Update documentation. 2013-10-10 14:24:19 +02:00
Michael Friedrich 74f06be654 Import Classic UI sample config. 2013-10-10 13:22:32 +02:00
Michael Friedrich 77dfa05d29 spec: Fix install permissions.
fixes #4830
2013-10-10 12:14:34 +02:00
Gunnar Beutner bb0012e7b6 Fix the example config. 2013-10-08 15:54:21 +02:00
Gunnar Beutner 8c71007b60 Update example config. 2013-10-07 15:03:08 +02:00
Gunnar Beutner 1d00009c03 Update documentation. 2013-10-07 15:02:12 +02:00
Gunnar Beutner 55ba6bd65c Increase file descriptor limit in the init script. 2013-10-07 09:35:13 +02:00
Gunnar Beutner f7700a9610 Fix make uninstall. 2013-10-03 23:33:20 +02:00
Michael Friedrich 7f330c0308 Add config feature 'syslog' logger. 2013-10-03 19:40:26 +02:00
Gunnar Beutner eff3e7ec47 Remove broken symlink. 2013-10-03 13:03:54 +02:00
Michael Friedrich d97d2e399d initscript: Fix description.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-10-02 17:33:24 +02:00
Gunnar Beutner 714b22d790 Fix example configuration. 2013-10-02 14:36:52 +02:00
Gunnar Beutner f23801218e Update documentation. 2013-10-02 14:23:31 +02:00
Michael Friedrich 98032b2a71 config: Fix $(DESTDIR) support. 2013-10-01 19:28:16 +02:00
Gunnar Beutner 8973157812 Update documentation. 2013-10-01 15:59:35 +02:00
Gunnar Beutner 7131d56375 Fix build error. 2013-10-01 08:49:23 +02:00
Gunnar Beutner 3cf59ad5e3 Only install conf.d config files if the conf.d directory doesn't already exist. 2013-10-01 08:47:56 +02:00
Gunnar Beutner fa0282d48c Fix syntax error in feature config files. 2013-10-01 08:47:29 +02:00
Gunnar Beutner b3f24eecbc Make sure checker.conf and notification.conf are enabled by default. 2013-10-01 08:38:18 +02:00
Gunnar Beutner dd023fc1b1 Add feature config files for checker/notification. 2013-10-01 08:35:38 +02:00
Gunnar Beutner ccd7a00fad Update example configuration. 2013-09-30 13:19:04 +02:00
Gunnar Beutner b066cdf871 Build fix. 2013-09-30 12:07:08 +02:00
Gunnar Beutner b70f3e9048 Add another feature config file. 2013-09-30 09:56:25 +02:00
Gunnar Beutner d65ba6a40f Add more feature config files. 2013-09-30 09:53:38 +02:00
Gunnar Beutner 4916dea147 Set proper user/group for config files. 2013-09-30 09:33:46 +02:00
Michael Friedrich 9c6b79e4f2 Install /var/run/icinga2/rw command mode, add configure options.
- changed locations for icinga2.cmd and livestatus unix socket
- make install creates /var/run/icinga2/rw and sets g+s for
  icinga:icingacmd
- configure options: --with-icinga[cmd]-{user,group}=
- add autoconf macros to check user/group and bail early if not created
- update documentation/INSTALL

fixes #4444
refs #3186
2013-09-27 19:41:08 +02:00
Michael Friedrich f55ae8db27 Fix library name in features-available. 2013-09-27 14:08:58 +02:00
Gunnar Beutner 3726470efb Update documentation. 2013-09-27 13:56:24 +02:00
Gunnar Beutner e69ef0876e Update documentation. 2013-09-27 13:56:24 +02:00
Gunnar Beutner 597ea49776 Fix example config. 2013-09-27 11:29:24 +02:00
Gunnar Beutner 6b98d34e70 Fix VPATH builds. 2013-09-27 11:20:33 +02:00
Gunnar Beutner 2d3e639fac Refactor mods-enabled/mods-available. 2013-09-27 11:16:35 +02:00
Gunnar Beutner 28236f341a Build fix. 2013-09-27 10:51:21 +02:00
Gunnar Beutner 74708766d1 Implement mods-available/mods-enabled.
Refs #4573
2013-09-27 10:45:38 +02:00
Michael Friedrich d594d0d67e Fix wrong types. 2013-09-25 13:44:53 +02:00
Gunnar Beutner 4b7c9c413d Implement init script option: checkconfig. 2013-09-25 12:42:53 +02:00
Gunnar Beutner d9a283fc89 Rename command-line parameter: -v -> -C 2013-09-25 09:48:45 +02:00
Gunnar Beutner 1b205d73c9 Update example config files. 2013-09-25 09:46:47 +02:00
Gunnar Beutner 8568b4b701 Make sample configuration more readable.
Fixes #4724
2013-09-24 11:24:22 +02:00
Gunnar Beutner 12ebf48b0e Implement setgid/setuid support.
Fixes #3841
2013-09-15 10:28:54 +02:00
Gunnar Beutner e3dba08d6a Update example config. 2013-09-11 15:00:06 +02:00
Gunnar Beutner e8c61a578f Implement restarting Icinga. 2013-08-30 14:27:24 +02:00
Michael Friedrich ec40251c4e Configuration: Remove 'local' identifier. 2013-08-29 14:51:38 +02:00
Gunnar Beutner e9e55cd8c0 Remove the replication feature and clean up the code. 2013-08-26 14:56:38 +02:00
Michael Friedrich ff545add78 Config: Fix docs suggestion. 2013-08-16 17:24:22 +02:00
Michael Friedrich 8613beb539 Fix Icinga 2 Binary is in the wrong directory.
fixes #4539
2013-08-16 14:50:01 +02:00
Michael Friedrich aa3196407a icinga2.conf.dist: add CompatLog as default 2013-06-28 20:46:53 +02:00
Gunnar Beutner 463f4e4cf9 Implement notification_*_filter variables for Host/Service objects. 2013-06-26 10:19:00 +02:00
Gunnar Beutner d03d6e14bf Init script: Fix shell redirection. 2013-05-03 14:49:21 +02:00
Gunnar Beutner 8f5c5b68da Implement -d (daemonize) and -e (errorlog). 2013-05-03 13:39:31 +02:00
Gunnar Beutner a03d609f7c Removed the '#' prefix for the config statements 'include' and 'library'. 2013-03-21 14:30:28 +01:00
Gunnar Beutner df4a31556a Update example config files. 2013-03-14 13:18:20 +01:00
Gunnar Beutner 16e2fcdf2a Init script: Fix incorrect output redirection. 2013-03-12 16:16:49 +01:00
Gunnar Beutner 2a09a722c8 Update example configuration files. 2013-03-12 15:37:24 +01:00
Gunnar Beutner 4b2d828b99 Refactor the init script and remove the -d option.
Fixes #3666
2013-03-12 11:48:45 +01:00
Gunnar Beutner b19eedf8ec Fix: $prefix/var not created during 'make install', fails on cmd pipe creation
Fixes #3815
2013-03-12 09:58:58 +01:00
Michael Friedrich c9178fb0f3 icinga2.conf.dist: change host check to single aliased check
fixes #3816
2013-03-10 14:00:49 +01:00
Michael Friedrich d528ed2bba fix pid file location in initscript too
fixes #3670
2013-03-10 13:55:28 +01:00
Gunnar Beutner f0093689fd Clean up the win32 config example.
Fixes #3705
2013-02-16 09:20:45 +01:00
Gunnar Beutner d13017ef60 Removed some more native:: prefixes (oops). 2013-02-15 12:49:14 +01:00
Michael Friedrich 312756a886 update .gitignore 2013-02-04 18:36:21 +01:00
Gunnar Beutner c4293cfa25 Added init script.
Fixes #3114
2013-02-04 12:52:39 +01:00