Commit Graph

4176 Commits

Author SHA1 Message Date
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
Gunnar Beutner 39248dad42 Build fix for Windows 2014-08-07 14:23:20 +02:00
Michael Friedrich 5799d86ed7 Documentation: s/enable_flap_detection/enable_flapping/g
fixes #6870
2014-08-07 11:27:50 +02:00
Michael Friedrich 10b681f4ea Release version 2.0.2 2014-08-07 08:59:05 +02:00
Michael Friedrich e9b44de3fa Install upgrade sql files on Debian
refs #6700
2014-08-07 08:55:36 +02:00
Gunnar Beutner a5d25871a1 Flush loggers in Application::Exit
fixes #6861
2014-08-07 08:34:38 +02:00
Michael Friedrich 65cf21bc84 Update INSTALL - master + support/2.0 only 2014-08-06 21:30:12 +02:00
Michael Friedrich d20ee37196 Fix event command execution not calling finish handler
fixes #6856
2014-08-06 17:49:29 +02:00
Gunnar Beutner 731ee15d4d Exit application when IDO version doesn't match expected version
fixes #6850
2014-08-06 10:54:54 +02:00
Gunnar Beutner 8256638fde Use gai_strerror instead of Utility::FormatErrorNumber for getaddrinfo's error codes
fixes #6849
2014-08-06 10:43:41 +02:00
Gunnar Beutner 595728d024 Add missing spaces in some error messages
fixes #6840
2014-08-06 10:37:47 +02:00
Gunnar Beutner 89b94ab8ab Make --no-stack-rlimit the first argument
fixes #6765
2014-08-06 10:35:27 +02:00
Gunnar Beutner 089fdb1b20 Don't write new-lines to the Graphite socket to test if it's still connected
fixes #6549
2014-08-06 09:59:38 +02:00
Michael Friedrich d2ddde3fec Rename README to README.md
fixes #6688
2014-08-05 21:27:21 +02:00
Michael Friedrich c01dfdf229 Documentation: Add a note on async non-blocking events
refs #6589
2014-08-05 18:48:29 +02:00
Michael Friedrich 963125f746 ExternalCommandListener: Use threads per client connection
fixes #6589
2014-08-05 18:01:01 +02:00
Michael Friedrich 008f5803e7 Update manual test config for notifications
refs #6479
2014-08-05 16:37:30 +02:00
Michael Friedrich 53d3a4af5f Flush stdout before _exit()
fixes #6852
refs #6820
2014-08-05 13:52:24 +02:00
Michael Friedrich de229f9fec Exit early on ApiListener SSL errors
refs #6682
2014-08-05 12:14:24 +02:00
Michael Friedrich 87e63edb93 Use a local buffer for ERR_error_string()
refs #6724
refs #6682
2014-08-05 11:30:06 +02:00
Gerd von Egidy de5485060e Beautify GraphiteWriter debug logging
refs #6550
2014-08-05 11:23:41 +02:00
Gerd von Egidy a4b7984719 Add warning messages when performance data could not be parsed or not be sent to Graphite
refs #6550
2014-08-05 11:23:36 +02:00
Gunnar Beutner f3d55848f5 Add a missing lock in TlsStream::Close
fixes #6621
refs #6724
2014-08-05 09:35:28 +02:00
Gunnar Beutner 883170a806 Avoid duplicate API connections
refs #6724
2014-08-05 09:10:59 +02:00