Massimiliano Torromeo
9a29d8f3d4
Set default db charset for MySQL ido resources to latin1
...
latin1 seems to be the only supported charset for MySQL but the current upstream default charset is utf8mb4 and to be safe it should be set explicitly
2020-06-17 13:27:31 +02:00
Peter Eckel
718ecd05a7
Fix Icinga 2 version detection
...
With this commit the version prefix character is treated as optional
which always used to be 'r' or 'v'. But this is gone since Icinga 2
version 2.11.0 RC1.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-07-30 09:32:17 +02:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Eric Lippmann
8f9920f1fc
Return unprefixed Icinga version in MonitoringBackend::getProgramVersion()
2016-12-12 12:40:54 +01:00
Eric Lippmann
47b3019940
Add MonitoringBackend::isIcinga2()
...
This function is for the many places where we have to distinguish between Icinga 1.x and Icinga 2.x.
refs #11100
2016-02-25 17:45:51 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Alexander Fuhr
dfbcc066a7
MonitoringBackend: Implement the getProgramVersion method
...
refs #9672
2015-08-04 13:28:32 +02:00
Johannes Meyer
b6a7b43dd0
MonitoringBackend: Enforce that views and queries are of a particular naming scheme
...
I'm adding this mainly to not to break support with modules which are
utilizing our queries.
2015-06-12 14:46:46 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
405e18a46f
monitoring: Fix PHPDoc for MonitoringBackend::from()
2015-01-27 13:37:28 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Thomas Gelf
1ca83c001f
MonitoringBackend: just a few comments
...
fixes #7635
2014-11-11 17:33:31 +01:00
Thomas Gelf
78fd5109ac
MonitoringBackend: fix variable name in exception
...
refs #7635
2014-11-11 17:23:49 +01:00
Thomas Gelf
9431a3432f
MonitoringBackend: remove comment for SOLID fanboys
2014-11-11 17:21:32 +01:00
Thomas Gelf
8faf81dad5
MonitoringBackend: add clearInstances()
...
refs #7635
2014-11-11 16:57:34 +01:00
Thomas Gelf
6c0aa8dcc5
MonitoringBackend: handle null name in a nice way
...
When we get null as a backend name, we load the default one. While we
want to cache that null backend, it should still know about it's real
name.
2014-11-11 16:49:56 +01:00
Thomas Gelf
19ab8237d4
Backend\MonitoringBackend: base class for backends
...
refs #7635
2014-11-11 15:40:38 +01:00