Commit Graph

4049 Commits

Author SHA1 Message Date
Michael Friedrich efafcecced Implement load balancing for notifications
fixes #6203
2014-08-22 13:00:52 +02:00
Gunnar Beutner e31d520f6b Improve log messages for failed commands
fixes #6970
2014-08-21 11:26:43 +02:00
Gunnar Beutner 80762a0360 Revert "Use threads for external commands"
This reverts commit e1b8b05ef3.
2014-08-21 09:36:05 +02:00
Gunnar Beutner 071ac754ca Revert "Fix a potential crash in ExternalCommandListener::CommandPipeThread"
This reverts commit 0d4768528d.
2014-08-21 09:36:00 +02:00
Gunnar Beutner 0d4768528d Fix a potential crash in ExternalCommandListener::CommandPipeThread
refs #6589
2014-08-20 23:35:11 +02:00
Gunnar Beutner 107a152a8f Improve TLS and cluster error messages
refs #6066
2014-08-20 14:07:23 +02:00
Gunnar Beutner e1b8b05ef3 Use threads for external commands
refs #6589
fixes #6942
2014-08-20 13:45:31 +02:00
Gunnar Beutner dae120beb6 Revert "ExternalCommandListener: Use threads per client connection"
This reverts commit accd83693c
2014-08-20 13:37:59 +02:00
Gunnar Beutner f6a7f84ed5 Revert "Fix external command pipe: Too many open files"
This reverts commit 1a3f7d774c.
2014-08-20 13:32:07 +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 8485e0b94b Reword error messages a bit
refs #6070
2014-08-19 13:48:41 +02:00
Gunnar Beutner d4cdee6a1a Change log level for failed commands
fixes #6751
2014-08-19 12:58:55 +02:00
Gunnar Beutner 91a7d0afb1 Update documentation for icinga2-list-objects
fixes #6949
2014-08-19 10:49:20 +02:00
Gunnar Beutner 4f4ebbea92 Fix permissions in the spec file
fixes #6948
2014-08-19 10:18:23 +02:00
Michael Friedrich accd83693c DB IDO: Fix missing schema bump to 1.11.7
refs #6827
refs #6203
2014-08-18 16:06:42 +02:00
Gunnar Beutner 65bec9e904 Clean up some parts of the code 2014-08-17 17:57:41 +02:00
Michael Friedrich c4d448efe5 Documentation: Clarify on GraphiteWriter statistics
refs #6922
2014-08-17 15:45:49 +02:00
Gunnar Beutner 25ed7dcdb2 Fall back to using SysconfDir + "/icinga2/icinga2.conf" if --config is not specified
fixes #6874
2014-08-17 13:48:55 +02:00
Gunnar Beutner 3da5568eb3 Install DB schema files using cmake
fixes #6881
2014-08-17 13:37:50 +02:00
Gunnar Beutner 0ec5efafb5 icinga2-list-objects: Improve compatibility with Python 2.4
refs #6702
2014-08-17 13:31:24 +02:00
Gunnar Beutner 4bfd6f9e23 Merge branch 'feature/recommend-suse-packages-6920'
fixes #6920
2014-08-17 12:49:58 +02:00
Tim Hardeck 3d2d86d463 Add "Provides: monitoring_daemeon" on SUSE distributions
to allow Icinga2 being a replacement for compatible monitoring daemons
like Icinga 1 or Nagios.

This should make the installation of Icinga2 more user friendly on SUSE
distributions.

refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck 9ff424233f Recommend related packages on SUSE distributions
These packages are installed by default but they are not required so
there is no error if they are missing.

This should make the installation of Icinga2 more user friendly on SUSE
distributions.

refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck 96e23aa1c7 Enforce /usr/lib as base for the cgi path on SUSE distributions
The cgi path on SUSE distributions is always located under
/usr/lib/icinga/cgi, even on x86_64 systems.
So the path in the icinga-classic-apache.conf needs to be adapted on
those distributions.

fixes #6917
2014-08-17 12:32:22 +02:00
Tim Hardeck 6d968769aa Use _rundir macro for configuring the run directory
To allow using "/run" instead of "/var/run" the macro _rundir is used.
"/run" is required on newer distributions like openSUSE Factory.

On systems were _rundir is not defined "/var/run" is specified as the
default.

fixes #6915
2014-08-17 12:28:44 +02:00
Gunnar Beutner 738d8c6bdf Merge branch 'feature/clean-up-spec-file-6919'
fixes #6919
2014-08-17 11:41:06 +02:00
Tim Hardeck aef85d66be Remove commented out lines from spec file
These lines result in warnings because the macros are not escaped in them.

refs #6919
2014-08-17 11:38:52 +02:00
Tim Hardeck 9726687539 Unify SUSE distribution checks in spec file
refs #6919
2014-08-17 11:38:48 +02:00
Markus Frosch b46dbe4db4 Enhance GraphiteWriter documentation
fixes #6922
2014-08-17 11:33:18 +02:00
Gunnar Beutner b16e6d7e52 Don't use ANSI colors when the output FD is not a tty.
refs #6702
2014-08-17 10:48:30 +02:00
Gunnar Beutner 2d42cae358 Add missing Python module dependency
refs #6702
2014-08-16 22:55:36 +02:00
Gunnar Beutner aa2d5d1edd Ignore SIGPIPE in icinga2-list-objects
refs #6702
2014-08-16 22:28:47 +02:00
Gunnar Beutner fdca524cdd Fix some minor issues with the icinga2.debug feature
refs #6702
2014-08-16 22:12:40 +02:00
Gunnar Beutner f28b02b037 Merge branch 'feature/objects-json-6702'
fixes #6702
2014-08-16 20:42:13 +02:00
Gunnar Beutner 3cbebd985a Add Python module for the icinga2.debug file
refs #6702
2014-08-16 20:22:43 +02:00
Gunnar Beutner e359c55909 Add debug hints for attributes
refs #6702
2014-08-16 09:37:17 +02:00
Gunnar Beutner 0443c85bf5 Implement support for writing the icinga2.debug file
refs #6702
2014-08-15 21:00:26 +02:00
Michael Friedrich e52848b923 DB IDO: Fix failover_timeout config validator
refs #6827
2014-08-15 17:50:38 +02:00
Michael Friedrich 60f219450f Merge branch 'feature/ido-ha-6827'
fixes #6827
refs #6203
2014-08-15 17:24:05 +02:00
Michael Friedrich 1c98a3a9f7 DB IDO: Add failover_timeout attribute
refs #6827
2014-08-15 17:21:12 +02:00
Michael Friedrich e8a41d86c8 DB IDO: Add documentation for HA functionality
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich f6c24f8964 DB IDO: Delay connection in HA RunOnce mode
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich d326678e76 DB IDO: Add 'enable_ha' configuration flag
This feature is true by default. If disabled all cluster nodes in a high
availability zone will write to their own local database.

TODO: documentation, tests.

refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich 1f3c6b454f DB IDO: Add endpoint_name to programstatus table
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Gunnar Beutner 3048a02064 Add context information for Graphite error messages
fixes #6898
2014-08-14 17:08:11 +02:00
Michael Friedrich 92448a20da Documentation: s/service\.description/service\.name/
refs #6918
2014-08-14 16:32:51 +02:00
Michael Friedrich 1a3f7d774c Fix external command pipe: Too many open files
fixes #6916
2014-08-14 16:15:01 +02:00
Michael Friedrich a6335a7cdf Documentation: Fix naming s/central/master/
fixes #6878
2014-08-14 14:39:08 +02:00
Michael Friedrich 9efe458b27 Documentation: Clarify on which config tools are available
fixes #6909
2014-08-14 13:39:55 +02:00
Michael Friedrich 3be0bb9446 Documentation: Fix <> formatting 2014-08-07 15:48:55 +02:00