3579 Commits

Author SHA1 Message Date
Thomas Gelf
e5ac319cbb helpers/MonitoringState: translate 'since' 2014-11-12 09:13:49 +01:00
Thomas Gelf
13d3b81728 monitoring/bin: remove obsolete file/directory 2014-11-12 00:21:20 +01:00
Thomas Gelf
f24b0e2a4e MonitoringBackend: a few more places, doesn't hurt 2014-11-12 00:20:37 +01:00
Thomas Gelf
4876854893 Monitoring\ObjectList: expect a MonitoringObject 2014-11-12 00:16:07 +01:00
Thomas Gelf
0992f6cc15 Monitoring/MenuRenderers: unify logic, perftuning
This reduces duplicate code, query will be fired only once right now.

fixes #7554
2014-11-11 21:50:49 +01:00
Thomas Gelf
0d4d4930a9 Db\DbConnection: benchmark single row fetches 2014-11-11 21:07:02 +01:00
Thomas Gelf
d253e1e5b0 Util\Translator: available locales should be sorted 2014-11-11 19:45:56 +01:00
Thomas Gelf
f39301d47f Cli: use STDOUT as the default logger
fixes #7636
2014-11-11 19:43:22 +01:00
Thomas Gelf
f347a74982 Logger\StdoutWriter: initial implementation
This log writer writes to STDOUT and uses ANSI colors on real terminals

fixes #7636
2014-11-11 19:40:59 +01:00
Thomas Gelf
629118b590 LogWriter: setting config must not be abstract
Storing the given config makes sense as default action, no need to
abstract the constructor per default.

refs #7636
2014-11-11 19:39:15 +01:00
Thomas Gelf
5b95ce2695 packaging/debian: icingacli depends on php5-cli 2014-11-11 19:35:53 +01:00
Thomas Gelf
dc54198452 Merge branch 'feature/backend-classes-7635' 2014-11-11 17:41:56 +01:00
Thomas Gelf
a03dc5a621 Merge branch 'master' into feature/backend-classes-7635 2014-11-11 17:34:30 +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
3f4110d33d MonitoredObject: use MonitoringBackend::instance
refs #7635
2014-11-11 16:43:51 +01:00
Thomas Gelf
6627b5ae6e Monitoring\Object: use MonitoringBackend
refs #7635
2014-11-11 16:29:07 +01:00
Johannes Meyer
a6af51f402 Fix that Config::fromSection cannot return the actual value
refs #7147
2014-11-11 15:51:54 +01:00
Thomas Gelf
1557410b72 DataView: query instantiation is up to the backend
refs #7635
2014-11-11 15:49:27 +01:00
Thomas Gelf
11f587aa09 Monitoring\Backend: reduce to compat facade
This is a facade for Monitoring\Backend right now. To be removed as soon
as it got replaced everywhere.

refs #7635
2014-11-11 15:46:17 +01:00
Thomas Gelf
50b0ef45ff IdoBackend: concrete backend implementation
Nothing special to be found here. Not yet.

refs #7635
2014-11-11 15:44:39 +01:00
Thomas Gelf
19ab8237d4 Backend\MonitoringBackend: base class for backends
refs #7635
2014-11-11 15:40:38 +01:00
Matthias Jentsch
c70f738236 Remove linebreaks from configuration keys and values 2014-11-11 15:10:50 +01:00
Matthias Jentsch
fdfad34e5c Do not normalize configuration keys to nested arrays in IniWriter
More than one nesting level (the section) is no longer allowed in configuration files. Dots in keys are now
part of the key and will not lead to a nested configuration.

fixes #7120
2014-11-11 15:05:34 +01:00
Eric Lippmann
548b54253e Remove display: flex;
fixes #7549
2014-11-11 10:27:42 +01:00
Marius Hein
cb09c8acdc Backend/Config: Add shortlink to resource
fixes #7493
2014-11-07 14:20:47 +01:00
Marius Hein
a460286597 Revert "Monitoring/Backens: Add resource configuration link"
This reverts commit 52c452c044a09cae9bde0ecd5d3ac09657f99908.

Wrong implementation.
2014-11-07 14:18:23 +01:00
Johannes Meyer
94b01cf4b0 Merge branch 'bugfix/drop-zend-config-7147'
fixes #7147
2014-11-07 14:09:08 +01:00
Johannes Meyer
124f64ad89 Merge branch 'master' into bugfix/drop-zend-config-7147 2014-11-07 14:07:15 +01:00
Johannes Meyer
7b99b74ae1 Prefer Icinga\Application\Config instead of Zend_Config
refs #7147
2014-11-07 13:53:03 +01:00
Johannes Meyer
268569114c Fix that an error is thrown when reading INI files without trailing newlines 2014-11-07 13:38:35 +01:00
Johannes Meyer
4537b2932e Fix that current(), key(), etc does not work with Config objects 2014-11-07 13:37:09 +01:00
Matthias Jentsch
54eda31633 Allow connect to hosts with no anonymous access
Do not throw exceptions on failed ldap connects during capability discovery

fixes #7325
2014-11-06 17:04:56 +01:00
Matthias Jentsch
d0706a55ea Chain exceptions in LdapUserBackend instead of printing the message 2014-11-06 16:32:43 +01:00
Thomas Gelf
74e60ec0f6 MonitoredObject: decode structured customvars
fixes #7569
2014-11-06 16:15:16 +01:00
Thomas Gelf
816c309193 Ido\CustomvarQuery: add is_json
This has to be done in a backward compatible way, we check for IDO
>= 1.12.0.

refs #7569
2014-11-06 16:14:03 +01:00
Thomas Gelf
2782b0a744 Dataview\Customvar: add new is_json column
refs #7569
2014-11-06 16:13:17 +01:00
Thomas Gelf
abf267b0b9 monitoring/css: style structured custom vars
refs #7569
2014-11-06 16:12:07 +01:00
Thomas Gelf
da20926a97 Customvars: use new helper
refs #7569
2014-11-06 16:11:29 +01:00
Thomas Gelf
a8326350d1 Customvar view helper: show structured data
refs #7569
2014-11-06 16:10:52 +01:00
Johannes Meyer
83f386f92a Do not extend Zend_Config in Icinga\Application\Config
refs #7147
fixes #7580
2014-11-06 15:41:31 +01:00
Marius Hein
cd9e3693e4 Downtime: Add filter editor and preview
resolves #7445
2014-11-06 13:22:38 +01:00
Marius Hein
52c452c044 Monitoring/Backens: Add resource configuration link
resolves: #7493
2014-11-06 12:59:31 +01:00
Marius Hein
92f8f9f7da Bug7043Test: Fix declaration error
ConfigWithSetModuleConfig::setModuleConfig must be compatible with
Icinga\Application\Config::setModuleConfig.
2014-11-06 12:14:35 +01:00
Johannes Meyer
f8724c504b Use a subclass of Icinga\Application\Config to preset a module config
Implementing methods for just tests is discouraged
2014-11-06 10:07:57 +01:00
Gunnar Beutner
f6595267d6 Use arrays in the Icinga 2 example config 2014-11-05 09:49:59 +01:00
Eric Lippmann
45d3005f3c Throw exceptions on PHP warnings
Sometimes we miss PHP warnings because our layout overlays them.
2014-11-04 13:20:41 +01:00