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
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
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 52c452c044
.
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
Matthias Jentsch
f9fee2df70
Do not interrupt authentication chain on invalid ldap connection infos
...
Catch LdapExceptions and throw AuthenticationException to not interrupt authentication chain
fixes #7497
2014-11-04 12:35:41 +01:00
Thomas Gelf
18bd49e636
Monitoring/Object: re-add process_perfdata
...
We would live better with unique column names on hosts and services
* Got introduced in 6095e440
and removed in c0e34473
* This might be a canditate for a regression test, as only graphers (PNP) are using this columns right now
* It makes IMO absolutely no sense to keep all those long column names in that object classes
2014-11-01 01:47:55 +01:00
Thomas Gelf
95f9bebdc5
js/loader: support multi-container redirection
...
Redirections to #!-separated URLs (multiple containers) should also
work when not re-rendering the whole layout.
2014-11-01 01:23:55 +01:00
Thomas Gelf
6298d303c4
js/loader: trigger 'beforerender' container event
2014-11-01 01:12:59 +01:00
Thomas Gelf
f25f4f06d8
js/loader: disable click handler block on refresh
...
This used to be ways too slow when many elements where involved. Left
the old code there as a reminder. In case we really need it we should
use something faster like an overlay or so.
2014-11-01 01:11:12 +01:00
Alexander Fuhr
f095489017
Fix multiple contacts display in service and host detail pane
...
fixes #7329
2014-10-31 11:34:48 +01:00
Eric Lippmann
b38e3affb9
Move INI writer classes to the File namespace
...
fixes #7150
2014-10-31 10:54:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Eric Lippmann
0bf6dc24a8
monitoring: Use command transports constants in the command transport factory
2014-10-30 09:53:55 +01:00
Eric Lippmann
1b83ec3ce2
Preferences: Fix saving preferences when using a database store
...
Our DbSelect::where() is not (or no longer?) compatible w/ Zend_Db_Select::where().
DbStore::load() now uses Zend_Db_Select but we should definitely think about our
DbSelect::where() implementation.
fixes #7353
2014-10-30 09:49:21 +01:00
Eric Lippmann
c4554ac692
Log exceptions when saving preferences
2014-10-30 09:48:25 +01:00
Eric Lippmann
39729c9580
Logger: Fix level comparison
2014-10-29 16:51:17 +01:00
Eric Lippmann
2698516005
Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
...
fixes #7191
2014-10-29 16:31:17 +01:00
Eric Lippmann
eb9fe0966b
monitoring: Remove unnecessary break after throwing an exception
2014-10-29 13:37:20 +01:00
Eric Lippmann
d9194c2696
monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state
2014-10-29 13:36:24 +01:00
Eric Lippmann
5fc1f85b76
monitoring: Write transport directive to instances INI configuration
...
Further I replaced if-elseif blocks w/ switch when branching based on the value of a single parameter,
which would have to be implied otherwise by looking at all the conditions.
2014-10-29 13:36:09 +01:00