Eric Lippmann
cd29adc0bd
monitoring/commands: Add (START|STOP)_OBSESSING_OVER_HOST_CHECKS commands
...
`ToggleObsessingOverHostChecks' is the command object for enabling/disabling processing of host checks via the OCHP command on an Icinga instance.
refs #6593
2014-09-01 15:14:49 +02:00
Eric Lippmann
cdbd24ec99
monitoring/commands: Add (ENABLE|DISABLE)_NOTIFICATIONS/DISABLE_NOTIFICATIONS_EXPIRE_TIME commands
...
`ToggleNotifications' is the command object for enabling/disabling host and service notifications on an Icinga instance with an optional expire time for disabling notifications.
refs #6593
2014-09-01 15:14:39 +02:00
Eric Lippmann
5474c661e1
monitoring/commands: Add (ENABLE|DISABLE)_FLAP_DETECTION commands
...
`ToggleFlapDetection' is the command object for enabling/disabling host and service flap detection on an Icinga instance.
refs #6593
2014-09-01 15:14:31 +02:00
Eric Lippmann
010c5b45ba
monitoring/commands: Add (ENABLE|DISABLE)_EVENT_HANDLERS commands
...
`ToggleEventHandlers' is the command object for enabling/disabling host and service event handlers on an Icinga instance.
refs #6593
2014-09-01 15:14:23 +02:00
Eric Lippmann
fda48788ff
monitoring/commands: Add (START|STOP)_EXECUTING_SVC_CHECKS commands
...
`ToggleActiveServiceChecks' is the command object for enabling/disabling active service checks on an Icinga instance.
refs #6593
2014-09-01 15:14:15 +02:00
Eric Lippmann
d2d69b9bcd
monitoring/commands: Add (START|STOP)_EXECUTING_HOST_CHECKS commands
...
`ToggleActiveHostChecks' is the command object for enableing/disabling active host checks on an Icinga instance.
refs #6593
2014-09-01 15:13:59 +02:00
Johannes Meyer
0e63e36ec0
Move Icinga\Form\Config\ConfirmRemovalForm to Icinga\Form
...
This is a generic form not necessarily being used just for configuration
purposes.
refs #5525
2014-09-01 15:11:09 +02:00
Eric Lippmann
dae29678dd
monitoring/commands: Add `ToggleFeatureCommandForm'
...
`ToggleFeatureCommandForm' should be the base class for forms enabling/disabling features of an Icinga instance.
refs #6593
2014-09-01 15:01:32 +02:00
Eric Lippmann
8cacd2f00f
monitoring/commands: Add `InstanceCommandForm'
...
The `InstanceCommandForm' should be the base class for forms that handle program-wide commands.
refs #6593
2014-09-01 15:00:20 +02:00
Marius Hein
160fc900d0
Backend: Set name if create default backend
...
fixes #7043
2014-09-01 14:46:06 +02:00
Eric Lippmann
57dd9a699e
monitoring/commands: ToggleFeature: Use 'return $this' for documenting fluent interfaces
...
refs #6593
2014-09-01 10:29:34 +02:00
Marius Hein
f47bc46654
GroupSummary/Postgres: Fix group by in initial join query
...
refs #5896
2014-09-01 10:00:04 +02:00
Marius Hein
21f0b4c925
CommandQuery: Remove select * from joins (Postgres)
...
refs #5896
2014-09-01 10:00:04 +02:00
Marius Hein
b4e9bad87a
NotificationHistoryQuery: Add missing field to group statement
...
refs #5896
2014-09-01 10:00:04 +02:00
Marius Hein
e46dd4bdfd
DowntimeQuery: Postgres fixes
...
Change is_fixed to boolean check and illegal postgres timerange of
'0000-00-00 00:00:00'.
refs #5896
2014-09-01 10:00:04 +02:00
Marius Hein
62f502d276
Postgres/StatusQuery: Fix concatenation and group by
...
refs #5896
2014-09-01 10:00:04 +02:00
Eric Lippmann
a01ee00c27
Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593
...
Conflicts:
library/Icinga/Protocol/Commandpipe/Transport/Transport.php
2014-08-29 17:24:44 +02:00
Johannes Meyer
fb5685bac3
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Config/Authentication/BaseBackendForm.php
application/forms/Config/Authentication/DbBackendForm.php
application/forms/Config/Authentication/LdapBackendForm.php
application/forms/Config/Authentication/ReorderForm.php
application/forms/Config/LoggingForm.php
application/forms/Config/ResourceForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Config.php
library/Icinga/Web/Form.php
modules/monitoring/application/controllers/ConfigController.php
modules/monitoring/application/forms/Config/Backend/CreateBackendForm.php
modules/monitoring/application/forms/Config/Instance/CreateInstanceForm.php
modules/monitoring/application/forms/Config/Instance/EditInstanceForm.php
modules/monitoring/application/forms/Config/SecurityForm.php
2014-08-29 16:05:56 +02:00
Eric Lippmann
8c82f1a868
monitoring/commands: Add common `ToggleFeature' command
...
`ToggleFeature' should be used for enabling/disabling concrete features of the monitoring host.
refs #6593
2014-08-29 15:45:35 +02:00
Eric Lippmann
4d353ac7bf
monitoring/commands: Add `CommandTransport' factory
...
Instead of auto-detecting which transport class to use, the instances configuration
now supports a new setting named `transport' with the possible values 'local' and 'remote'.
refs #6593
2014-08-29 15:36:55 +02:00
Eric Lippmann
6324192127
monitoring/commands: Throw `LogicException' if the remote host is not set in `RemoteCommandFile'
...
refs #6593
2014-08-29 15:36:11 +02:00
Eric Lippmann
6fdc436f65
monitoring/commands: Add `TransportException'
...
`TransportException' should be thrown if a command was not sent.
refs #6593
2014-08-29 15:14:53 +02:00
Eric Lippmann
249099348e
monitoring/commands: Replace `SecureShell' with `RemoteCommandFile'
...
`RemoteCommandFile' is configured via property setters instead of the too general `setEndpoint' function.
The ssh command to be executed only has the option 'BatchMode' set to 'yes' as this is enough to disable
interactive authentication methods. Further, all arguments become espaced.
refs #6593
2014-08-29 15:08:58 +02:00
Eric Lippmann
ec46b368df
monitoring/commands: Replace `LocalPipe' with `LocalCommandFile'
...
`LocalCommandFile' is configured via property setters instead of the too general `setEndpoint' function.
refs #6593
2014-08-29 15:04:48 +02:00
Eric Lippmann
2ac4a8503c
monitoring/commands: Remove the `Transport' interface
...
The `Transport' interface is superseded by the `CommandTransportInterface'.
refs #6593
2014-08-29 14:44:49 +02:00
Eric Lippmann
e7eae87f16
monitoring/commands: Replace `Command' with `IcingaCommand'
...
Since there's already a `Cli\Command', `Command' is now named `IcingaCommand'.
All concrete Icinga commands should extend `IcingaCommand' which handles
command encoding. All other "features" of the `Command' object have been removed
because theses "features" should be handled by upcoming concrete command classes.
refs #6593
2014-08-29 14:38:52 +02:00
Eric Lippmann
0e2e1bc005
monitoring/commands: Add `CommandTransportInterface'
...
All concrete Icinga command transport classes should implement the `CommandTransportInterface' .
refs #6593
2014-08-29 14:34:16 +02:00
Matthias Jentsch
3642b7b6fc
Adjust CSS for inlinePies to be centered on the current line
2014-08-28 18:27:30 +02:00
Matthias Jentsch
e799d65d3f
Only apply SVG responsiveness when not rendered in compact mode
...
Don't let SVGs grow vertically in when displayed in the dashboard, to avoid wasted space
2014-08-28 16:52:02 +02:00
Matthias Jentsch
648debff88
Draw charts for single ServiceGroups as PieChart
2014-08-28 16:50:29 +02:00
Eric Lippmann
4ca1eaa7ce
Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593
...
Conflicts:
library/Icinga/Web/Form.php
modules/monitoring/application/forms/Config/SecurityForm.php
2014-08-28 13:58:02 +02:00
Marius Hein
0a2b504db8
Gracatar: Pre sized with 60px because of display latency
...
refs #7020
2014-08-28 13:41:21 +02:00
Marius Hein
c4c5bcdd48
ContactQuery: Change timeperiod joins to joinLeft()
...
refs #7020
2014-08-28 13:39:49 +02:00
Marius Hein
436a4d2965
ResourceConfig: Chance createResouce to create
...
Not useful everywhere. Changed on the best suitable places.
refs #5514
2014-08-28 12:14:55 +02:00
Alexander Klimov
c194c02435
Remove useless 'use \Exception'
2014-08-28 11:45:26 +02:00
Marius Hein
fdef695896
Fix: The use statement with non-compound name 'Exception' has no effect
2014-08-28 11:34:08 +02:00
Matthias Jentsch
947cd0c5d3
Merge branch 'master' of git.icinga.org:icingaweb2
...
fixes #7006
2014-08-27 17:22:09 +02:00
Matthias Jentsch
6a32c3a8ab
Make charts responsive
...
Let pie and grid charts of the chart controller automatically adapt to changing viewport sizes.
2014-08-27 17:21:55 +02:00
Marius Hein
5e84ff4ac4
Show/Contact: Add notification history to view
...
refs #4804
2014-08-27 16:38:29 +02:00
Marius Hein
9465c3ffb6
Show/Contact: Add commands to view
...
Create a new command query and join contact information into.
refs #4804
2014-08-27 16:38:29 +02:00
Alexander Klimov
8b0df6c9f7
UnsupportedBackendException: extend IcingaException
...
refs #6931
2014-08-27 16:29:56 +02:00
Alexander Klimov
45638b218c
Throw IcingaException rather than Exception
...
fixes #7014
2014-08-27 16:03:15 +02:00
Alexander Klimov
7ff51caed0
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 15:51:49 +02:00
Alexander Fuhr
968fa36cfd
Fixes dashboard title configuration
...
fixes #7011
2014-08-27 15:03:28 +02:00
Alexander Fuhr
236d384bab
Fixes unaccepted behavior in module configuration
...
fixes #7011
2014-08-27 14:57:08 +02:00
Eric Lippmann
1dea19504f
Revert "Remove leading backslashes from the targets of use statements"
...
This reverts commit 87a5967501
.
At least 'modules/doc/run.php' issues a warning about "The use statement with non-compound name 'Zend_Controller_Router_Route' has no effect"
2014-08-27 12:24:11 +02:00
Marius Hein
88698cb05d
Hook/TopBar: Rework interface for monitoring top bar
...
refs #6929
2014-08-27 11:31:48 +02:00
Alexander Klimov
87a5967501
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 11:16:44 +02:00
Marius Hein
89541f5727
Merge branch 'bugfix/hook-interface-6932'
...
fixes #6932
fixes #6928
2014-08-27 09:39:56 +02:00
Marius Hein
7e5b5a0b30
Hook/Grapher: Rework hook interface
...
Rework interface based on specification and changed consumer calls.
refs #6932
2014-08-27 09:35:43 +02:00
Eric Lippmann
6b88f1c98e
Move Commandpipe/* classes from Icinga Web 2's library to the monitoring module
...
refs #6593
2014-08-26 16:35:30 +02:00
Goran Rakic
746f53fd20
Do not hide OK hosts and services from the Pie Chart
...
Having a single hostgroup, and all hosts and services up, landing page Pie Chart is empty. This restores display of OK hosts and services.
2014-08-26 15:20:15 +02:00
Marius Hein
376e9aa160
Rename hook base classes
...
Adding suffix "Hook" to every base class. This simplifies development
because you don't need to alias bases classes in your concrete
hook classes
refs #6928
2014-08-26 14:29:55 +02:00
Alexander Klimov
1f7d4cb61b
Merge branch 'master' into bugfix/exceptions-with-printf-params-6931
2014-08-26 11:24:33 +02:00
Alexander Klimov
febb2d1ae2
ProgrammingError: extend IcingaException
...
refs #6931
2014-08-26 11:15:19 +02:00
Alexander Fuhr
bae5ba2352
Add self provided configuration for dashlets in monitoring module
...
refs #6639
2014-08-26 10:34:35 +02:00
Thomas Gelf
70fe22dfad
monitoring/tactical: fix missing translations
2014-08-22 18:08:20 +02:00
Thomas Gelf
5c46355474
translation: refresh de_DE
2014-08-22 17:58:53 +02:00
Thomas Gelf
c31972b99c
translation: refresh monitoring module
2014-08-22 17:26:20 +02:00
Johannes Meyer
7b221e2aba
It should not be a form's responsibility how its submit button should look..
...
...in case it's a standard button. No need to be DRY here.
refs #5525
2014-08-22 15:20:54 +02:00
Johannes Meyer
5028ec7b0b
Avoid NIH
...
It's useless to have specific getters and setters if generic methods from the
baseclass can be used as well to accomplish the same task.
refs #6641
2014-08-22 12:30:13 +02:00
Johannes Meyer
75a0c17933
Ensure that all forms have a name
...
refs #5525
2014-08-22 12:15:02 +02:00
Johannes Meyer
2b879b344f
Do not populate using createElements() and fix documentation blocks
...
refs #5525
2014-08-22 12:04:14 +02:00
Alexander Klimov
9c5878cbbe
ConfigurationError: extend IcingaException
...
refs #6931
2014-08-22 11:46:11 +02:00
Alexander Fuhr
20cead67a6
Merge branch 'master' into bugfix/modules-menu-provider-6639
2014-08-22 11:44:10 +02:00
tgelf
da821fd952
list/hosts: add missing host_attempt column
2014-08-22 05:23:45 -04:00
Alexander Fuhr
7e0047d00e
Add Menu configuration in Monitoring Module
...
refs #6639
2014-08-22 11:07:49 +02:00
Thomas Gelf
49cd55eddd
list/hosts: cleanup, should look like list/services
...
Quite some changes here:
* Compact view should show icons too
* Ignore host icons with legacy HTML hacks
* Remove duplicate code
* Reduce HTML
* Reduce intendation for better readability
* Show attempts on soft states only, even in compact view
* Use the same HTML tags and styles as in list/services
* Fixes nesting error on compact view
2014-08-22 11:06:45 +02:00
Alexander Klimov
30d0ebcdfd
Make 'modules/monitoring/config.ini' doesn't have to exist
2014-08-21 12:36:28 +02:00
Alexander Klimov
d1b1bc368f
Monitoring_ConfigController: don't use SecurityForm::isSubmittedAndValid()
...
refs #5525
2014-08-21 11:51:49 +02:00
Alexander Klimov
b81e96574a
SecurityForm: replace create() with createElements() and add addSubmitButton()
...
refs #5525
2014-08-21 11:48:07 +02:00
Johannes Meyer
11063495b2
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
modules/monitoring/application/controllers/ConfigController.php
2014-08-21 10:22:16 +02:00
Thomas Gelf
a8d33d90e2
Monitoring\Object: fix a couple of cv-related issues
...
* Don't throw exceptions with no config
* Provide a secure default if not configured
* Improve code readability
2014-08-20 13:36:03 +02:00
Johannes Meyer
bb7972aa39
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ConfigController.php
application/forms/Authentication/LoginForm.php
application/forms/Preference/GeneralForm.php
modules/monitoring/application/controllers/ChartController.php
2014-08-20 13:13:50 +02:00
Alexander Klimov
bb65fb396a
Merge branch 'bugfix/sensitive-custom-vars-6641'
...
fixes #6641
2014-08-20 12:29:45 +02:00
Alexander Klimov
78b98a7d67
SecurityForm: Add helptext
...
refs #6641
2014-08-20 12:21:11 +02:00
Johannes Meyer
09dfcca0bc
Merge branch 'master' into bugfix/styled-history-views-6637
2014-08-20 11:39:03 +02:00
Johannes Meyer
4ceecf1146
Let comment view look more standardized and add limit control
...
refs #6637
2014-08-20 11:34:24 +02:00
Alexander Klimov
071937910b
Monitoring/Object: filter protected customvars
...
Move the responsibility from the viewscript to Monitoring/Object
refs #6641
2014-08-19 18:46:37 +02:00
Alexander Fuhr
ba748cbc4a
Refactor multiSelect and highlight
...
refs #6705
2014-08-19 18:33:28 +02:00
Alexander Klimov
ea0248ecf4
Remove '{{SAVE_ICON}}', tiny design fixes
...
refs #6641
2014-08-19 17:54:22 +02:00
Alexander Fuhr
6fe47bf5b0
Fix rows highlighting after refresh
...
fixes #6705
2014-08-19 17:32:17 +02:00
Johannes Meyer
3573908071
Let downtime view look more list-like and fix downtime end calculation
...
refs #6637
2014-08-19 17:03:35 +02:00
Alexander Klimov
3e079efe2a
SecurityForm: replace `customvars' with `protected_customvars'
...
refs #6641
2014-08-19 14:51:30 +02:00
Alexander Fuhr
7035099468
Fix the host_unhandled_service_count error
...
fixes #6833
2014-08-19 14:43:24 +02:00
Alexander Klimov
65473ac8ee
Monitoring config: use SecurityForm
...
refs #6641
2014-08-19 14:04:00 +02:00
Alexander Klimov
1ba3954b95
Monitoring config: implement SecurityForm
...
refs #6641
2014-08-19 14:02:26 +02:00
Alexander Klimov
6b468b7f9b
Monitoring_ConfigController: make writeConfiguration's parameter `file' non-required
...
refs #6641
2014-08-19 13:51:10 +02:00
Alexander Klimov
0464099764
Monitoring: implement "Security" config tab
2014-08-19 11:19:30 +02:00
Johannes Meyer
332be22f7e
Fix object history dates make output look similar to the event history
...
refs #6637
2014-08-18 15:32:12 +02:00
Johannes Meyer
bbddb9ed87
Add limit-control and fix indentation of the eventhistory view
...
refs #6637
2014-08-18 15:30:59 +02:00
Johannes Meyer
043688e514
Make event history view more fancier
...
refs #6637
2014-08-15 17:03:03 +02:00
Johannes Meyer
cae84a5d7f
Fix float formatting of timeline circle margins and widths
...
fixes #6926
2014-08-15 13:39:02 +02:00
Johannes Meyer
54461f9319
Treat hard states more severe than soft states
...
fixes #6571
2014-08-15 12:40:56 +02:00
Johannes Meyer
dc8181cdc5
Escape linefeeds and carriage returns in commands and show them as html
...
fixes #6088
2014-08-14 10:23:04 +02:00
Johannes Meyer
b5d6481c12
Make it possible to translate the process info view
...
refs #6610
2014-08-13 15:52:33 +02:00
Johannes Meyer
7311ab964e
Do not set the full url from the request as action with form parameters
...
Setting an url with parameters named like form elements in a form with
method POST causes Zend to ignore any POST data because GET will be
processed with higher priority.
fixes #6806
2014-08-13 14:50:21 +02:00
Johannes Meyer
fe63ce664f
Make use if 'ignore´ instead of explicitly unsetting array keys
...
refs #5525
2014-08-12 13:57:28 +02:00
Johannes Meyer
f23bf912eb
Remove obsolete use statements
2014-08-12 09:49:52 +02:00
Johannes Meyer
be14844fa8
Merge EditInstanceForm with CreateInstanceForm and rename it
...
As with the backend form, a user might like to change the name of an
instance. The new form and its actions are also adjusted to suit the new form interface.
refs #5525
2014-08-11 14:49:42 +02:00
Thomas Gelf
96925487bd
CLI/monitoring/list: fix DataView-related exception
...
This uses the renamed DataView serviceStatus instead of the former
status and fixes the problem that CLI still assumed to have fetch
and count function on the DataView.
fixes #6777
2014-07-31 17:24:56 +02:00
Thomas Gelf
51484ebf88
monitoring/Perfdata: ignore invalid min/max
...
key=23;0;0;0;0 and key=23;;;; lead to division by zero exceptions
This should fix this by ignoring empty strings for min/max (formerly
it got "converted" to float(0)) and also ignores min == max.
fixes #6828
2014-07-31 16:52:34 +02:00
Johannes Meyer
5a738112ea
Remove isExistingBackend/-Instance
...
It is more efficient to access configuration files only once instead of
accessing them multiple times in different locations.
refs #5525
2014-07-25 16:02:13 +02:00
Johannes Meyer
d7ed6bd249
Adjust removebackend-action to suit the new backend form interface
...
Drops additionally the ConfirmRemovalForm of the monitoring module
as there is already one in icingaweb2's form-set.
refs #5525
2014-07-25 16:00:38 +02:00
Johannes Meyer
a78d11345b
Adjust createbackend-action to suit the new backend form interface
...
refs #5525
2014-07-25 15:58:44 +02:00
Johannes Meyer
b743cf8143
Adjust editbackend-action to suit the new backend-form interface
...
refs #5525
2014-07-25 14:55:36 +02:00
Johannes Meyer
488ea4633d
Merge EditBackendForm with CreateBackendForm and rename it
...
It is not necessary to distinct between whether a backend is created or
edited as a user perhaps likes to change the name of a backend directly
instead of the need to remove and recreate it.
refs #5525
2014-07-25 14:50:53 +02:00
Johannes Meyer
af5a3262be
Revert backslash removal in front of namespace-less use statement
2014-07-25 09:12:12 +02:00
Johannes Meyer
26d42da635
Re-add getResourcesByType as simplified version
...
refs #5525
2014-07-25 08:58:50 +02:00
Johannes Meyer
a6bd802e3e
Remove unnecessary properties and its getters/setters
...
refs #5525
2014-07-25 08:58:11 +02:00
Johannes Meyer
5f7652133e
Fix code-style and documentation
2014-07-25 08:39:27 +02:00
Alexander Klimov
a4b7204e23
Contactgroups view: correct links to contacts detail pages
...
fixes #6514
2014-07-23 13:10:09 +02:00
Alexander Klimov
a2809552f2
Do not use htmlspecialchars in view scripts
...
fixes #6759
2014-07-23 12:41:05 +02:00
Eric Lippmann
9269a0cbd5
Revert "Do not use htmlspecialchars in view scripts"
...
This reverts commit 607aa9b203
.
`Perfdata::escape()' does not exist. But `Perfdata::view::escape()' does.
2014-07-23 12:29:27 +02:00
Alexander Klimov
607aa9b203
Do not use htmlspecialchars in view scripts
...
fixes #6759
2014-07-23 12:12:49 +02:00
Matthias Jentsch
cb27a3d0f1
Do not use height and width in bar charts, to avoid layout errors
2014-07-22 17:57:40 +02:00
Matthias Jentsch
0a500efd8a
Determine the max value in LinearUnit dynamically
...
The range between min and max should always be divisable by the amount of
ticks, to ensure that the vertical lines are always at a full discrete value.
fixes #6769
2014-07-21 17:21:54 +02:00
Matthias Jentsch
53c9292b41
Fix BarChart padding in Dashboard
...
Use max-width instead of width in the chart layout to make better use of the available space, but prevent the charts from growing too big. Use a bigger weight and height in the default dashboard configuration.
fixes #6744
2014-07-21 13:06:35 +02:00
Alexander Klimov
f9a274d079
Add contact detail view
...
refs #4804
refs #6514
2014-07-18 17:35:24 +02:00
Alexander Klimov
96d3406446
Prefer style="clear: both;" rather than Bootstrap's class="clearfix"
2014-07-17 17:46:28 +02:00
Alexander Klimov
882699201d
Contacts: replace foreach loop with hardcoded HTML and move the styles to a CSS file
2014-07-17 17:33:45 +02:00
Alexander Klimov
eca0d50bae
Don't use printf format strings as array keys
...
An array with printf format strings as keys looks pretty ugly
2014-07-17 11:26:18 +02:00
Johannes Meyer
4d199180b3
We do not want to access $_POST directly if it is possible to avoid it
2014-07-17 09:28:10 +02:00
Johannes Meyer
b7f5c8a84d
Fix that the default sort order of a view is not being applied
...
fixes #6644
2014-07-17 09:28:10 +02:00
Alexander Klimov
b23e36aa1a
Swap array keys and values
...
Non-hardcoded keys may be not unique
2014-07-16 17:54:06 +02:00
Alexander Klimov
62da942159
Don't close and re-open php tags, remove unneeded spaces
...
To close and re-open php tags makes no sense if there's nothing between them
2014-07-16 17:54:06 +02:00
Alexander Klimov
1ad263170e
Revert "Small fixes"
...
This reverts commit 8086292b1b
.
The commit included too many changes.
2014-07-16 15:30:20 +02:00
Johannes Meyer
f1d7cd8b50
Remove forgotten coding standards annotation
2014-07-16 13:59:43 +02:00
Alexander Klimov
cb04c42bab
Use htmlspecialchars to prevent attacks
2014-07-16 13:10:28 +02:00
Alexander Klimov
8086292b1b
Small fixes
2014-07-15 18:00:52 +02:00
Alexander Klimov
4c415aac5c
Make contacts' view look more like contactgroups' view
2014-07-15 16:17:02 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Alexander Klimov
d021ddebee
Make contacts' view work like the downtimes' one
...
fixes #6513
2014-07-15 10:47:12 +02:00
Johannes Meyer
bacea36ad9
Improve piechart limitation and show non-piechart perfdata as well
...
The perfdata helper did an improper limitation as it might have skipped
valid values due to applying the limit before the filter. When not in compact
view the helper now also shows non-piechart values by using their raw
representation.
refs #6515
2014-07-14 13:48:30 +02:00
Johannes Meyer
5908e9fc70
Do not show pie charts for perfdata values when no percentage is available
...
refs #6515
2014-07-11 16:32:05 +02:00
Johannes Meyer
ec2d1daa6b
Perfdata plugin should also have a knowledge about labels
...
Prior to this change the PerfdataSet only knew the labels of a performance
data value which prevented the Perfdata object from being used
individually.
refs #6515
2014-07-11 16:31:00 +02:00
Johannes Meyer
b4dc0f38b3
Fix monitoring backend configuration not showing resource selection fields
...
fixes #6448
2014-07-10 15:50:52 +02:00
Johannes Meyer
53f3d74103
Fix word wrapping in perfdata labels and values
...
fixes #6377
2014-07-10 14:54:53 +02:00
Matthias Jentsch
b85ac3ab45
Translate labels in the ChartController
2014-07-09 18:13:40 +02:00
Matthias Jentsch
8d697a3d8e
Fix coding style
2014-07-09 18:13:40 +02:00
Johannes Meyer
0d92efc1b0
Consider is_active column when fetching host and service statistics
...
fixes #6157
2014-07-09 11:49:22 +02:00
Thomas Gelf
2b05aa9504
monitoring/list: do not apply empty filter
...
Fixes problems with the servicematrix when no filter is applied.
I'm not yet happy with this, calls to where() should automagically
handle existing empty filters.
fixes #6543
2014-07-08 16:36:05 +02:00
Thomas Gelf
9a6821c860
monitoring/list/hosts: restore page behaviour
...
The problem here was that an accidentally removed closing div tag in
15325949
caused the application to missbehave badly. Host details where
rendered below the list in some scenarios and the whole multicolumn
thingy started to feel broken.
2014-07-08 15:17:00 +02:00
Johannes Meyer
1950c09478
Remove encoding suffix from locale identifiers
...
We do not need those as the encoding of a gettext-catalog is already
mentioned in its header.
refs #6602
2014-07-07 09:09:22 +02:00
Thomas Gelf
e3b2f15863
list/hosts: show unhandled services righthand
...
This way we automagically fix the problem with the wrong row links.
I guess we should re-introduce the "row-action" class allowing "precedence"
rules, so also a link not being the first one in a row could act as "row-link".
Changed formatting / text output a little bit, IMO even more cure is needed.
fixes #6645
2014-07-04 18:13:44 +02:00
Matthias Jentsch
d2098be625
Only display header when not in compact mode
...
fixes #6508
2014-07-04 12:45:17 +02:00
Johannes Meyer
7eb0f3c472
Remove @codingStandardsIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:59:58 +02:00
Matthias Jentsch
9a1b7179e1
Fix violations of coding guidelines
2014-06-30 12:33:51 +02:00
Matthias Jentsch
7fe056d03a
Display note when host and service is not found
...
When the show/host and show/service views do not find a host or service,
don't show a non-working view, but display a error message
fixes #6469
2014-06-30 12:33:51 +02:00
Matthias Jentsch
a2fa5c055c
Display a message when a list view is empty
...
fixes #6469
2014-06-30 12:33:51 +02:00
Alexander Klimov
1532594948
Deduplicate code: lists/hosts.phtml VS lists/hosts-compact.phtml
...
fixes #6541
2014-06-27 11:53:08 +02:00
Thomas Gelf
a4fc6dedea
monitoring/list: fix limit=0 check
...
This used to be fixed, but got accidentally re-broken by last commit
this night.
2014-06-26 16:34:37 +02:00
Thomas Gelf
a91bbd3a75
monitoring/list: add stateType parameter
...
This allows one to show only hard states, useful for support dashboards.
2014-06-26 00:42:38 +02:00
Thomas Gelf
c85a0ac11e
list/limits: special treatment for 0 only, not null
2014-06-26 00:39:10 +02:00
Thomas Gelf
d44f89f287
list/hosts: fix downtime icon
...
I re-enabled host list icons, they have been missing for a while. The
downtime icon logic used to be inverted, this fixes it. Also showing
acknowledgements now even if object is in downtime.
2014-06-25 21:46:03 +02:00
Thomas Gelf
ff9c29472e
monitoring/status: re-introduce comments, problems
...
This re-introduces expensive columns been disabled time ago and adds
even more to it. We are now showing last comment, last ack comment and
service problem count on hosts in list views.
It still costs performance, but seems that we can stand it. I'd like
to add more like this to the host view.
2014-06-25 21:42:24 +02:00
Thomas Gelf
d634889acb
DataView: ignore case on sort dir
...
fixes #6573
2014-06-25 21:34:05 +02:00
Thomas Gelf
11ce302be0
Ido\StatusQuery: fine-tune query filters
...
This is still experimental. We normalize a lot of columns, this allows
us to sort in a convenient way while having nice "showable" columns.
When used as filters (same goes for ordering) however, functions and
operations on table columns often hinder the db from using indexes.
The new filter implementation allows us to override query creating per
single column, that's what this first sample is trying to show. We still
need to fix alias handling, so unfortunately I have to deal with "real
columns" in the case construct.
Performance gain in large environments is impressive, more to come.
2014-06-25 21:12:44 +02:00
Thomas Gelf
86f70e0a4f
list/services: don't count with no limit
...
This is a performance evaluation right now, we might delegate such
logic to paginator later on. Cuts load time for lists and/or dashlets
with complicated filters by 50% - only for those with limit=0 of course.
2014-06-25 20:45:08 +02:00
Thomas Gelf
32572ae653
Monitoring\Object\Service: don't load host comment
...
I'd like to reintroduce those columns, showing last object comment
and so one. Those joins are costly, we can fetch host comments way
easier directly from host object once we are here. But I guess we
don't even need it.
2014-06-25 20:21:19 +02:00
Matthias Jentsch
ae99dd39fd
Fix intendation in MultiController
...
Use spaces instead of tabs
2014-06-25 15:25:54 +02:00
Matthias Jentsch
7b19bd1d99
Improve interface of InlinePie
...
Method setLabel can also accept a simple string and title is mandatory in constructor
2014-06-25 15:21:12 +02:00
Matthias Jentsch
ae4aa9c182
Fix violations of coding guidelines
2014-06-25 15:07:39 +02:00
Matthias Jentsch
85aed364b7
Fix typing error in 'threshold'
2014-06-25 15:02:04 +02:00
Matthias Jentsch
35a5431512
Revert "Refractor InlinePie and Perfdata helper"
...
This reverts commit f003c38abd
.
2014-06-25 14:29:17 +02:00
Matthias Jentsch
f003c38abd
Refractor InlinePie and Perfdata helper
...
Refractor InlinePie methods for better usability, fix several coding guideline
issues and fix some typos
2014-06-25 12:41:17 +02:00
Thomas Gelf
4591297e56
SortBox: use POST instead of GET
...
This avoids trouble with complex filter URLs
fixes #6556
2014-06-25 11:00:10 +02:00
Thomas Gelf
b40d0f6a1e
FilterWidget: POST instead of GET
...
Might have been a JS issue, but instead of messing with the URL just
POSTing is easier here - and works. Filters from the search box are
now added flawlessly to the filter tree.
2014-06-25 10:34:09 +02:00
Thomas Gelf
2746b5ff9f
ConfigController: switch over to new config tabs
...
Module configuration now takes place in module detail view and does no
longer pollute our config tabs. Modules are now able to provide a bunch
of own config tabs, we don't really care what they use them for.
2014-06-24 21:31:59 +02:00
Thomas Gelf
ccdf1ca354
monitoring/ConfigController: use notifications
2014-06-24 21:28:01 +02:00
Thomas Gelf
2b2901524c
ConfigController: useless use of render
2014-06-24 21:24:40 +02:00
Thomas Gelf
532ab60b36
monitoring/show/history: fix html on empty list
...
This view script used to render broken HTML on empty result
2014-06-24 21:23:51 +02:00
Thomas Gelf
f75a4430a6
monitoring/config: make use of Config()
...
Thee helper function supports lazy loading, requires less code and is
easier to read.
2014-06-24 21:22:38 +02:00
Thomas Gelf
d5d3f5548f
monitoring/list/hosts: support addcolumns parameter
...
At least it doesn't fail right now, this only works for services so far.
View script still needs to be adjusted, will probably be done with #6541 .
2014-06-24 21:12:55 +02:00
Thomas Gelf
9187cd11bb
monitoring/configuration: provide a config tab
2014-06-24 21:01:44 +02:00
Thomas Gelf
51c57520ad
iconSubmitForm: replace with labelSubmitForm
...
There is no way in ZF to have an input[type=submit] with an unescaped
label ( = value). I temporarily replaced all iconSubmitForms with
inputs labelled with "X" - as all we used them for were delete
operations.
2014-06-23 14:42:26 +02:00
Matthias Jentsch
010466f8f9
Replace sizeof with count
...
Do not use sizeof to get the length of an array, as the function name 'sizeof'
is misleading
2014-06-23 14:19:55 +02:00
Thomas Gelf
d199a8b036
CommandForm: input[type=submit] instead of button
...
No need for a "button" here. As they have been broken in ZF for
a long while we should better stay with input[type=submit]
fixes #5978
2014-06-23 14:10:15 +02:00
Thomas Gelf
4d42b4d2c4
ScheduleDowntimeForm: replace obsolete ::fromRequest
...
A serious fix would involve passing the current backend to our
command forms.
2014-06-23 13:35:58 +02:00
Matthias Jentsch
bde6e29c61
Display a message instead of empty service matrix
...
refs #6535
2014-06-23 12:24:27 +02:00
Thomas Gelf
0efd44e1b0
CommandForm: don't clear class
...
autosubmit class got cleared for no reason after enabling autosubmission.
Please note that the fact that their submission leads to a new form is
another issue.
fixes #6540
2014-06-23 11:27:06 +02:00
Thomas Gelf
23ed744747
params/_render: replace it everywhere
...
Cleaning up controllers and JS, using headers only and respecting
history.
2014-06-22 20:07:44 +02:00
Thomas Gelf
216f0f3f55
isIframe: clean up, load less html and js
...
We use isIframe only when we have no JS, therefore it makes no sense
to load JS files in an iFrame. Also removed sidebar.
2014-06-22 16:30:06 +02:00
Thomas Gelf
3b84078b2f
Params/_render: get rid of it, start with iframe
2014-06-22 16:18:23 +02:00
Thomas Gelf
2a0e72273a
ChartController: use correct ActionController
...
...and some code cleanup
2014-06-22 14:08:04 +02:00
Thomas Gelf
b7fc0b67a8
Web/controllers: use own Request/Response objects
...
* introduces Icinga\Web\Response
* uses ModuleActionController where necessary
* no module translationDomain voodoo in base ActionController
2014-06-22 13:49:21 +02:00
Thomas Gelf
ef5e1b54fd
Web\Window: fix it's usage, add helper function
...
Improved window handling, fixed controllers using it.
2014-06-22 13:21:21 +02:00
Thomas Gelf
b03307196a
monitoring/list/services: hardcode margin once again
2014-06-21 05:27:10 +02:00
Thomas Gelf
57ad88c38c
monitoring/process: was broken, fix it
...
Stumbled across two issues here:
* It's currently not possible to fetch all (*) columns from a DataView
* Backends are not able to tell their names
Worked around the first issue by naming all columns and implemented a
quick & dirty solution for the second one.
2014-06-21 04:25:02 +02:00
Thomas Gelf
7f53ba11cf
Hook\Grapher: use it in monitoring/show
2014-06-21 04:13:14 +02:00
Thomas Gelf
2ab75e1433
SelectionToolbar: temporarily disabled
...
Doesn't work as multiselect doesn't understand all filters
2014-06-21 03:33:16 +02:00
Thomas Gelf
7b5d7bdbcf
monitoring/statehistorysummary: filter fixes
...
Slightly adjusted filter string to fit new filters, fixed an issue
with 'object_type' column in virtual eventhistory table.
2014-06-21 03:18:00 +02:00
Thomas Gelf
b3cdeee35d
monitoring/timeline: should benefit from new filter
...
Different changes have been applied:
* Allow integer unix timestamps as parameters for timestamp columns
* Remove alias-rewriting from Url class
* Remove all traces of raw_timestamp
* Use new filters
2014-06-21 03:09:40 +02:00
Thomas Gelf
e2f7a1054e
CSV/JSON export: work with new query interfaces
...
NB: I do not like the fact that we have to do as follows:
DataView->getQuery()->fetchWhatever();
Guess this is worth a few more proxy functions.
2014-06-21 00:09:11 +02:00
Thomas Gelf
66f68f4990
monitoring/config: tab doesn't get focus
...
Fixes this. Tab handling is rather strange right now and module tabs
will not scale. We need a better solution for the future.
fixes #6320
2014-06-20 23:22:07 +02:00
Thomas Gelf
c0c7a815f8
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-06-20 19:18:38 +02:00
Thomas Gelf
a904ff51aa
monitoring/eventhistory: improve query performance
...
This takes care of timestamp columns, modifies queries in a way not
depending on db functions, filters are passed through to subqueries
for better performance.
2014-06-20 19:14:34 +02:00
Thomas Gelf
6d7a1cfe08
list/services: remove hardcoded margin
2014-06-20 19:12:46 +02:00
Thomas Gelf
127b728a4c
list/notifications: fix query, select columns, style
2014-06-20 19:12:10 +02:00
Thomas Gelf
e170c889d2
monitoring/CommandForm: remove obsolete classes
2014-06-20 14:24:32 +02:00
Thomas Gelf
fb18de1f42
monitoring\CommandController: use new filters
2014-06-20 14:22:48 +02:00
Thomas Gelf
f80b951cec
monitoring/ShowController: remove obsolete function
2014-06-20 14:21:29 +02:00
Thomas Gelf
a8bde7cc14
monitoring/show/services: do not limit result
...
Still a little bit hackish, we will replace this once we have a request
object fully aware of our new UrlParams parser.
fixes #6511
2014-06-20 14:16:36 +02:00
Thomas Gelf
4821c6e3e5
monitoring/show/history: use limiter, nicer output
2014-06-20 14:02:03 +02:00
Thomas Gelf
65db5c4acc
list/services: move filterEditor to content
...
As it may occupy quite some space it is better having it scrollable
2014-06-20 13:50:25 +02:00
Thomas Gelf
1bddcd7282
list/hosts,services: use limiter widget
2014-06-20 13:49:50 +02:00
Thomas Gelf
f4b7075293
monitoring/multi: view script cleanup
...
They now play fine with new filters, tried to improve usability
2014-06-20 13:46:09 +02:00
Thomas Gelf
f2c67ea047
MultiControllers: use new filters
...
This makes things easier, no more nested lists - just filters easy
to read and understand
2014-06-20 13:38:58 +02:00
Thomas Gelf
255accb215
monitoring/MultiController: use correct controller
2014-06-20 13:35:25 +02:00
Thomas Gelf
371b66bd8b
monitoring\ListController: handle filter editing
...
Handle filter modifications in one place. We still should try to
abstract this on step farther.
2014-06-20 13:26:10 +02:00
Thomas Gelf
0642c9d33c
monitoring/list/hosts: filter-related cleanup
2014-06-20 13:24:32 +02:00
Thomas Gelf
5dfd4aedac
monitoring/downtime: add missing ticket hook
...
We used to have this when showing comments, but not for downtimes.
2014-06-20 12:37:09 +02:00
Thomas Gelf
ccb01aa152
Monitoring\Controller: add $url to all views
...
There are too many view scripts fiddling with namespaces. There is
still the url helper, not sure why it's not going to be used. I may
roll this back one far day...
2014-06-20 12:26:00 +02:00
Thomas Gelf
ecf84077e5
Ido\CommentQuery: add host/service shortcut column
2014-06-20 12:23:23 +02:00
Matthias Jentsch
aae49ce0c0
Do not show tooltips for piechart areas that indicate empty or free areas
...
refs #6117
2014-06-18 17:38:25 +02:00
Matthias Jentsch
6555d347a7
Escape InlinePie html and adjust chart size
...
fixes #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
be0c5d4b23
Add more meaningful tooltip labels to InlinePies
...
Show current title, a well-formated value and a label for each area in a
tooltip and add the ability to customize tooltip labels of InlinePies
refs #6117
2014-06-18 14:43:14 +02:00
Thomas Gelf
8185f8b8a9
Ido\EventHistoryQuery: fix it to fit new filters
...
Works for single objects, still some work required for "generic"
history.
2014-06-17 14:02:54 +00:00
Thomas Gelf
21febddad2
Widget\Filter*: rudimentary filter widgets
...
Initial implementation, more to come
2014-06-17 14:00:38 +00:00
Thomas Gelf
a53f589a6b
monitoring/controllers: filter-related cleanup
2014-06-17 13:48:26 +00:00
Thomas Gelf
1a91f0369e
list/servicematrix: adjust URLs to fit new filters
2014-06-17 13:37:29 +00:00
Thomas Gelf
ef4403f204
monitoring/show/history: make it look better
...
Supporting newly implemented history states (comment removal...),
prepare for translation, better styling.
2014-06-17 13:32:12 +00:00
Thomas Gelf
e3e6826d9d
Icinga\Filter: remove
2014-06-17 13:26:57 +00:00
Thomas Gelf
517894d86f
show/header.phtml: try to look like other states
2014-06-17 13:22:52 +00:00
Thomas Gelf
a42b66ab14
monitoring/show/services: QUERY_STRING voodoo
...
Looks less ugly than before, still ugly nonetheless. Will be better
once we care about request routing by ourselves.
2014-06-17 13:17:13 +00:00
Thomas Gelf
304c7d146b
monitoring/show/history: pagination count
...
Fixes it as it didn't work, raised default row count to 50
2014-06-17 13:14:58 +00:00
Thomas Gelf
75a9640563
Monitoring\Object\Service: add check performance
...
Service object was missing latency and check properties
2014-06-17 13:14:00 +00:00
Thomas Gelf
0e09a1c7ba
Monitoring\Object\Host: explicit WHERE
...
Related to the former commit, no more auto-voodoo
2014-06-17 13:12:36 +00:00
Thomas Gelf
3ccfe347f3
Monitoring\Object: replace fromRequest with params
...
This is only a temporary solution, the Monitoring\Object should be
fetched from the backend created in our front controller.
2014-06-17 13:10:54 +00:00
Thomas Gelf
0ecd527e8c
monitoring/list: make use of new params
...
This brings our lists back to life and makes our filters work again.
2014-06-17 13:05:18 +00:00
Thomas Gelf
58d4ddcb4c
monitoring/list: no need to declare $this->backend
...
This happens in the monitoring base controller right now
2014-06-17 13:03:05 +00:00
Thomas Gelf
468b290277
Monitoring\Controller: provide $this->backend
...
Every monitoring controller needs $backend, so why declaring it over
and over again. Created "moduleInit" dummy function in our base action
controller to allow such implementations without polluting init().
2014-06-17 12:55:43 +00:00
Thomas Gelf
25758332ab
CSS/monitoring: get rid of different formatting
...
First attempt to clean up the GUI, "same" elements looked different
in different places.
TODO: move more monitoriny-only CSS to the monitoring module
2014-06-17 12:53:39 +00:00
Thomas Gelf
660f84b22f
DataView\EventHistory: default sort by timestamp
...
It doesn't make much sense to sort history by "hostname" hardcoded to
service-only host columns. Default is now timestamp DESC, internally
this is mapped to raw_timestamp.
2014-06-17 12:51:13 +00:00
Thomas Gelf
dd595a2ad3
Ido/EventHistoryQuery: obsolete raw_timestamp
...
This was never thought to be used in frontends. Frontend code ALWAYS
needs to work with unix timestamps, raw timestamps are used internally
(e.g. between View and Query) to achieve better search and sort
performance.
2014-06-17 12:47:02 +00:00
Thomas Gelf
93e2f36fc8
DataView: remove duplicate case handling
2014-06-17 12:46:41 +00:00
Thomas Gelf
dab90d6c4a
GroupsummaryQuery: distinct columns/desiredColumns
...
I guess this needs some more investigation, desiredColumns are the
ones the user asked for ([alias => ]column), with column being once
again an alias in the "real" query. Alias resolution used to work
better long time ago, we should reflect on this.
2014-06-17 12:42:50 +00:00
Thomas Gelf
027ef6ede3
Ido\Query\*historyQuery: subqueries join objects
...
Each of our history subqueries should be able to join main object
tables on their own for performance reasons.
2014-06-17 12:36:32 +00:00
Thomas Gelf
7cd696b31b
Data/queries: adjust to fit new filters
...
Slight changes to get our queries working with new filter implementation.
2014-06-17 12:34:02 +00:00
Thomas Gelf
d2ccc68214
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
2014-06-17 09:47:14 +00:00
Thomas Gelf
4c76f5ab02
Ido/Query: small fixes
...
Replaced baseQuery in ContactGroupQuery, added short host/service
columns to CustomvarQuery.
2014-06-13 10:44:03 +00:00
Thomas Gelf
97c55d8dad
monitoring/list: clean up and fit new filters
...
refs #6418
2014-06-06 07:37:37 +00:00
Marius Hein
defa02a609
Debug: Remove garbage statement for debug purposes
2014-06-06 09:28:46 +02:00
Thomas Gelf
e1421c0d7e
Ido\StatusQuery: make sure performance killers...
...
...can no longer be reached. Column-ignorant uses still stumbled over
this. Left the code there as we should take a decision on how to approach
this.
2014-06-06 07:10:52 +00:00
Thomas Gelf
4f3596fcaf
Monitoring\Object: fit new Query classes
...
refs #6418
2014-06-06 07:09:15 +00:00
Thomas Gelf
c77e178bc7
Monitoring\DataView: small changes
...
Nothing interesting here
2014-06-06 07:07:07 +00:00
Thomas Gelf
1677193571
Monitoring: adjust Backend and DataView
...
Made them use the new filters and interfaces.
refs #6418
2014-06-06 07:05:21 +00:00
Thomas Gelf
1c3ab74e80
IdoQuery: fit new DbQuery implementation
...
Just a bunch of small changes, more to come. Fixes customvar handling
and is now able to handle the new Filter implementation.
refs #6418
2014-06-06 06:57:28 +00:00
Thomas Gelf
f1e73c5fc5
Data\Db\DbQuery: forgot to rename once
...
refs #6418
2014-06-06 06:52:48 +00:00
Thomas Gelf
3adf7752c4
Data\Db\DbQuery: rename also in monitoring module
...
refs #6418
2014-06-06 06:51:11 +00:00
Thomas Gelf
bfe6a1593a
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-06-06 05:32:54 +00:00
Thomas Gelf
6d321d67cd
JS/CSS: Get IE8 working
...
Just a bunch of JS and CSS improvements / fixes
refs #6417
2014-06-05 15:03:59 +00:00
Thomas Gelf
c592236258
vendorlibs: library/vendor to libary/IcingaVendor
...
This doesn't make it much better but allows to build a package
libicinga-vendor-php placing those files to /usr/share/php/IcingaVendor
or similar.
refs #4075
2014-06-05 00:10:49 +00:00
Carlos Cesario
76a9e67e35
Added initial pt_BR translation
...
fixes #6395
Signed-off-by: Thomas Gelf <thomas@gelf.net>
2014-06-04 22:08:13 +00:00
Thomas Gelf
d66055bce2
CLI/monitoring/list: fix formatting-related error
...
Small fix, this got broken by language-related changes in a66a1a47
.
2014-06-04 21:25:26 +00:00
Marius Hein
29f593a357
Authentication: Add backend to handle external authentication
...
Drop external auth configuration from config.ini and move
implementation into a single backend provider named
'autologin'. This provider can strip realm names from
username with a custom regexp.
fixes #6081
2014-06-03 17:59:22 +02:00
Gunnar Beutner
a66a1a4729
Refactor the timeSincePrefix and timeUntilPrefix functions
...
Instead of having two separate functions to get the prefix
and the formatted time interval the new functions return
both the prefix and the time interval.
refs #5981
2014-05-29 13:03:10 +02:00
Gunnar Beutner
7b0a48bef5
Rename timeUnless to timeUntil
...
refs #5981
2014-05-29 12:38:59 +02:00
Gunnar Beutner
d01a98b7e6
Fix some of the time-related grammar mistakes
...
This updates some of the messages to use "For"
instead of "Since" where appropriate.
fixes #5981
2014-05-29 11:30:08 +02:00
Thomas Gelf
7a0173e2fb
monitoring/IdoQuery:
...
IDO version is cached in a session namespace. This fails where you
are using multiple IDO backends with different versions. We still have
no backend-specific base class where we could handle this, so for now
I continue to do so in the IdoQuery.
This patch creates one namespace per Host/dbname combination.
2014-05-28 09:39:38 +00:00
Thomas Gelf
f790e0c323
Translation: keep translation domain with partial
...
We should try to avoid partial and pass translation domain where forced
to use it.
refs #6338
2014-05-27 22:20:21 +00:00
Thomas Gelf
7b58134378
show/history: sorry, typo
2014-05-27 22:16:45 +00:00
Thomas Gelf
3ae4f762d8
Translation: initial German translation
...
refs #6340
2014-05-27 21:50:16 +00:00
Thomas Gelf
cfa0251dbf
Translation: another bunch of translatable strings
...
refs #6339
2014-05-27 21:47:13 +00:00
Thomas Gelf
b47cec3e02
Translation: use translation for monitoring/views
...
Just a bunch of translation-helper calls
refs #6339
2014-05-27 21:44:02 +00:00
Thomas Gelf
40e45a2a39
monitoring/lists: Don't render unexistant controls
...
Even PHP code in HTML comments will be executed. As the filter object
sometimes failes, this can result in an invisible "breaking" exception.
refs #6031
2014-05-26 14:57:18 +00:00
Thomas Gelf
af41ae875d
monitoring/module.info: provide sample metadata
...
We are currently able to read module metadata, but our modules don't
provide such. Here you go, feel free to extend it's description.
2014-05-26 14:35:59 +00:00
Thomas Gelf
12b57c6d95
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
...
Conflicts:
modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
modules/monitoring/library/Monitoring/Controller.php
2014-05-20 23:15:11 +00:00
Thomas Gelf
79f3b32474
monitoring/viewscripts: avoid errors in comments
...
PHP code may cause errors even if sitting in HTML comments. Also fixed a
HTML nesting error in list/servicematrix and reduced indentation.
2014-05-20 22:26:21 +00:00
Thomas Gelf
8b28bdc82a
Monitoring\Object: small fix for strange private's
2014-05-20 22:22:48 +00:00
Thomas Gelf
a7b8e0023d
Monitoring\Object: explictely define columns
...
Define the colums we use instead of fetching "everything" status view
provides. Without this performance degrades with every new feature.
2014-05-20 22:19:26 +00:00
Thomas Gelf
76c1aa73c8
Monitoring\Controller: remove obsolete namespaces
2014-05-20 22:13:39 +00:00
Michael Friedrich
d155c7a3fc
Fix checks for empty check source attribute
...
refs ##5814
2014-05-20 23:46:33 +02:00
Michael Friedrich
ef2ac077c8
Fix typo in flapping note
2014-05-20 23:45:48 +02:00
Thomas Gelf
941ff2a980
monitoring/show: remove CheckSource helper
...
It isn't doing anything but escape, so we can safely skip it.
2014-05-20 20:39:02 +00:00
Thomas Gelf
31fa794440
monitoring/ido: implement IDO version support
...
We want to make use of new IDO features without breaking compatibility.
This is a quickfix as otherwise we would currently break everything
below 1.10. Code contains a few TODOs as this needs improvement.
2014-05-20 20:36:39 +00:00
Michael Friedrich
9fbdb65a4b
Add check source to host/service details
...
refs #5814
2014-05-20 20:07:09 +02:00
Thomas Gelf
cff577fb83
ShowController: don't show a random service
...
When you chose a host and clicked on "Services" the GUI used to show
a random (the first) service. Made no sense, should work as expected
right now.
2014-05-20 13:57:28 +00:00
Thomas Gelf
8f77ce607e
show/services: don't navigate to the right
...
When using list/services for show/services (services for a single host)
we us an ugly PREG-based hack fixing the base link target. This got
broken by the multiselect feature, now it's working again. We need a
better solution for this.
2014-05-20 13:53:36 +00:00
Thomas Gelf
33e326a232
list/services: ignore broken service image hacks
...
People used to configure something like "dot.png'> <img ..." as their
service image icon. Those hacks will no longer work as we correctly
escape everything. This fix hinders Icingaweb from even trying to load
them.
2014-05-20 13:31:13 +00:00
Thomas Gelf
e6d80ae1f6
IDO Queries: performance quickfixes
...
Will be obsoleted by the new filter implementation, but for now it
helps a little bit
2014-05-20 13:27:58 +00:00
Thomas Gelf
339460fee4
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-05-09 16:29:54 +00:00
Thomas Gelf
6523af711c
Monitoring_ListController: autorefresh matrix...
...
...and notification views
fixes #6152
2014-05-09 16:01:47 +00:00
Thomas Gelf
d93c060e6a
Upgrade htmlpurifier to 4.6.0
...
refs #6165
2014-05-09 10:41:20 +00:00
Thomas Gelf
e04ca8c29a
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-05-07 15:53:48 +00:00
Matthias Jentsch
d0c56126b8
Fix inline pie reload.
...
refs #6124
2014-05-07 17:03:27 +02:00
Thomas Gelf
820b6b7a8d
Data\BaseQuery: rename to Data\SimpleQuery
...
BaseQuery should no longer be abstract but be usable as is as soon as
we stripped ResultSet-specific tasks. As "Base" suggests something that
must be extended, the name no longer fits. So this is SimpleQuery right
now.
2014-05-07 11:55:35 +00:00
Eric Lippmann
bc4783099a
Monitoring/ListController: Sort `hostStatus' view from request params
...
The `hostAction()' lacked ordering because the action no longer uses `HostStatusView::fromRequest()'.
2014-05-07 10:25:48 +02:00
Eric Lippmann
5b895ab038
Data views: Implement `Sortable' interface
...
Because the `ListController' should only operate on data views,
data views should be a proxy to their underlying queries.
The methods `DataView::fromRequest()' and `DataView::sort()' are from now on deprecated
because they are relaced by `$backend->select()->from($viewName)' and `DataView::order()' respectively.
2014-05-07 10:19:00 +02:00
Eric Lippmann
068e07109b
Monitoring/ListController: Operate on the `hostStatus' view instead of the query
...
The monitoring module's ListController should only operate on data views instead of queries.
Thus the applyRestrictions() method now expects a data view instead of a query. Further since
filters are subject to change the applyRestrictions() method now does nothing.
The `hostsAction()' no longer uses `DataView::fromRequest()' but selects the data view from
a monitoring backend. `DataView::fromRequest()' orders the underlying query which must be reworked
in the current scenario.
2014-05-07 09:40:23 +02:00
Eric Lippmann
cfdb695c94
Monitoring/ListController: Remove variable activeRowHref from view
...
The variable grapher activeRowHref is not being used anywhere.
2014-05-07 09:29:58 +02:00
Eric Lippmann
3afcf277bd
Monitoring/ListController: Remove variable grapher from view
...
The variable grapher retrieved as first available grapher hook is not being
used anywhere.
2014-05-07 09:27:42 +02:00
Eric Lippmann
d87788b9c1
Merge branch 'master' into feature/query-interfaces-6018
...
Conflicts:
modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
2014-05-06 18:45:12 +02:00
Eric Lippmann
97d6feccb8
Data views: Expect a query instance instead of a backend
2014-05-06 18:34:01 +02:00
Eric Lippmann
c23e0c3782
Remove createBackend() method from the base controller
...
Refering to d389d8e
we'll use Backend::createBackend() for accessing monitoring backends.
2014-05-06 18:24:42 +02:00
Thomas Gelf
d389d8e0f0
Re-establish Backend::createBackend
...
This partially reverts fcf7f7d6
. The original intention was to have
no library code reading config. Moving code snippets to another lib
doesn't solve this. We need quick & easy access to a monitoring
backend, on CLI, in other modules and so forth. Duplicating so much
code again and again is not an option.
I prefer the former way of doing things unless we find a better
solution.
2014-05-06 18:23:22 +02:00
Johannes Meyer
0627d954ac
Fix usages of Icinga\Module\Monitoring\Plugin\*
...
refs #5973
2014-05-05 16:16:45 +02:00
Johannes Meyer
3d88e720c4
Rewrite perfdata plugin classes
...
refs #5973
2014-05-05 16:15:49 +02:00
Johannes Meyer
d4502575d3
Fix filter test location
2014-05-05 16:15:26 +02:00
Gunnar Beutner
b7f4fa4a29
Fix deprecation warning in Perfdata.php
...
fixes #6076
2014-04-29 12:00:34 +02:00
Johannes Meyer
e2ba172a8e
Make dashboard components using the ini writer class
...
fixes #5524
2014-04-29 11:30:53 +02:00
Johannes Meyer
290fe9eeb5
Rewrite test for Icinga\Web\Hook
...
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
1db9b1ede4
Move non-factory functions from DateTimeFactory to Icinga\Util\Format
2014-04-28 14:06:39 +02:00
Matthias Jentsch
c641988233
Preserve multiselection during refresh
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b791883fa8
Fix configuration checkboxes and colors in piecharts
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b16c6efa05
Add PieChart to display hosts and services, improve layout and fix flag
...
checkboxes
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6
Fix layout of MultiController views
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
cb630d45ad
Fix issues issues with javascript multiselection
...
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
3b2bb3c4fc
Move functions to perform single, multi and range-selection into the ui module
...
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
6d303f1c42
Add abillity for multi and range-selection to events.js
...
Add the abillity to select multiple rows, with a multi-selection using the
CTRL-key or a range-selection using the shift-key. Also fix several issues in
the Multi-Controller of the Backend.
refs #5765
2014-04-28 09:48:05 +02:00
Thomas Gelf
f741bc01f3
We need stricter control over Monitoring Object queries
...
* fromRequest-generated ones are sometimes buggy and sometimes slow
* this is just a temporary quickfix for the worst problems
2014-04-17 16:41:10 +00:00
Thomas Gelf
cf7aaaed8e
Better sort default for service status
2014-04-17 16:25:32 +00:00
Thomas Gelf
54175f98bf
Fix wrong contactgroup service column and make better use of MySQL indexes
2014-04-17 16:14:57 +00:00
Eric Lippmann
fcf7f7d6dc
Replace Backend::createBackend() with Monitoring/Controller::createBackend()
...
Library code should not read configuration files. The new createBackend() method
from Monitoring/Controller takes care of reading backend configuration and error
handling. The Backend constructor now requires a resource instance.
2014-04-17 15:53:23 +02:00
Eric Lippmann
e804f56d5f
Data views: Rename getTableName() to getQueryName()
...
getQueryName is more obvious because the function returns
the name of the query the view should use for querying.
2014-04-17 13:59:11 +02:00
Eric Lippmann
62e044d888
IdoQuery: Move resolveColumns() to the columns() function
...
Since the BaseQuery no longer allows passing the columns to select via
its the constructor, the columns are resolved when set by the
columns() function.
2014-04-16 10:06:44 +02:00
Eric Lippmann
eeadc17a6e
StatusQuery: Rename baseQuery to select
2014-04-15 18:12:56 +02:00
Eric Lippmann
734c329caa
StatusSummaryQuery: Rename baseQuery to select
2014-04-15 18:12:00 +02:00
Eric Lippmann
2ba1ef4793
StateHistorySummaryQuery: Rename baseQuery to select
2014-04-15 18:11:09 +02:00
Eric Lippmann
a30d1cdb2f
ServicegroupQuery: Rename baseQuery to select
2014-04-15 18:10:30 +02:00
Eric Lippmann
ac5edc153a
RuntimesummaryQuery: Rename baseQuery to select
2014-04-15 18:09:54 +02:00
Eric Lippmann
0adbb6a44e
NotificationQuery: Rename baseQuery to select
2014-04-15 18:09:08 +02:00
Eric Lippmann
687fa09f7c
NotificationhistoryQuery: Rename baseQuery to select
2014-04-15 18:07:34 +02:00
Eric Lippmann
cb812b59a8
HoststatusQuery: Rename baseQuery to select
2014-04-15 18:06:37 +02:00
Eric Lippmann
8b471e29e5
HostgroupQuery: Rename baseQuery to select
2014-04-15 18:02:03 +02:00
Eric Lippmann
32fa7b314c
GroupsummaryQuery: Rename baseQuery to select
2014-04-15 18:01:10 +02:00
Eric Lippmann
30e649eeb4
EventHistoryQuery: Rename baseQuery to select
2014-04-15 17:59:55 +02:00
Eric Lippmann
67ce376ef0
DowntimeQuery: Rename baseQuery to select
2014-04-15 17:58:06 +02:00
Eric Lippmann
64bee6a414
CustomvarQuery: Rename baseQuery to select
2014-04-15 17:57:12 +02:00
Eric Lippmann
22fa833836
ContactQuery: Rename baseQuery to select
2014-04-15 17:56:31 +02:00
Eric Lippmann
c2d633ac49
ContactgroupQuery: Rename baseQuery to select
2014-04-15 17:55:13 +02:00
Eric Lippmann
5caffa78e2
CommentQuery: Rename baseQuery to select
2014-04-15 17:53:07 +02:00
Johannes Meyer
4c8428423e
Convert existing mocks to Mockery-mocks (Part 1)
...
refs #4639
2014-04-11 17:03:45 +02:00
Johannes Meyer
927772578d
We do not want to use "@backupStaticAttributes enabled"
...
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer
f3c87782cb
Remove uneccesary date_default_timezone_set calls
...
refs #4639
2014-04-11 10:32:47 +02:00
Johannes Meyer
7903d44af9
Fix testing documentation
...
refs #4639
2014-04-10 15:54:50 +02:00
Johannes Meyer
1db9247d0d
Fix module tests
...
refs #4639
2014-04-10 14:52:08 +02:00
Marius Hein
746cc4b5d9
Drop obsolete test cases
...
refs #4639
2014-04-09 09:26:11 +02:00
Marius Hein
34822d9a02
Clean up tests [WIP]
...
refs #4639
2014-04-09 09:23:59 +02:00
Johannes Meyer
139023571f
Fix exception on 404 in monitoring/show/
2014-04-09 08:44:51 +02:00
Michael Friedrich
e6bb32be64
Fix division by zero in Perfdata.php
...
Fixes #5708
Signed-off-by: Michael Friedrich <Michael.Friedrich@netways.de>
2014-04-06 19:35:08 +02:00
Johannes Meyer
8be3ccc527
Make it possible to save the session by its associated session namespaces
2014-04-04 11:13:07 +02:00
Johannes Meyer
ae2d61682f
Fix how the timeline processes dates
...
refs #4190
2014-04-02 10:53:39 +02:00
Johannes Meyer
21b9c1f4af
Fix that filters are not preserved on timeline element urls
...
refs #4190
2014-04-01 14:26:10 +02:00
Johannes Meyer
19b2a94777
Fix that the timeline does not regenerate the logarithmical base
...
refs #4190
2014-04-01 11:46:45 +02:00
Johannes Meyer
2049e42988
Show a horizontal line when the timeline switches its context
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
80b4e3bf33
Add infinite scrolling to the timeline
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
14ed3b6fe2
Fix that the timeline does not accept timestamps as start and end
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
c94cd40b92
Center timeframe elements vertically
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
e3be5dd255
Restructure timeline layout and styles
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
8e7d1dd8f6
Improve timeline style
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
3d658a664c
Do not use logarithm base from session if the timeline is not being extended
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
f7c6cd3c2a
Make it possible to set a minimum circle width
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
f5e4331d71
Add timeline view script and styles
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
66c3dd26e5
Be window aware when calculating circle widths
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
5d86eab8c4
Do not register context switch on first load
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
2e19baf503
Make GET param of interval selection widget more generic
2014-04-01 11:44:25 +02:00
Johannes Meyer
18b5f715c5
Refactor timeline components
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
e21d288f5b
Fix that the TimeRange cannot handle events occured at full hours
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
b22f3f6b47
The timeline object is NOT a form
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
5e945e3194
Make interval selection being a widget
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
aade2ab7f6
Move timeline classes into the monitoring module
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
0a146b4bb4
Clientside scrolling implementation [WIP]
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
25f4b50ce7
Implement timeline rendering
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
8e65fc7281
Fix some bugs in the TimelineController
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
40f70eb572
Fix license header
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
a589460de3
Make TimeEntry creation more flexible
...
TimeEntry objects are now created with the fromArray
constructor instead of the default one.
refs #4190
2014-04-01 11:44:23 +02:00
Johannes Meyer
b168cf878d
Fix type specification in DowntimestarthistoryQuery
...
refs #4190
2014-04-01 11:44:23 +02:00
Johannes Meyer
f93d67dfa3
Add timeline controller
...
refs #4190
2014-04-01 11:44:23 +02:00
Thomas Gelf
41617e8119
Change forgotten title
2014-03-27 11:16:43 +00:00
Thomas Gelf
8d29620350
Rename state history links
2014-03-27 09:47:52 +00:00
Matthias Jentsch
15723f088b
Include SVG piecharts in perfData helpers
...
When no JavaScript is available, SVG piecharts will be shown instead of the
jQuery sparklines.
fixes #5865
2014-03-26 14:56:35 +01:00
Thomas Gelf
04cab7e0f8
Fix action target for downtime removal
2014-03-25 08:45:51 +00:00
Thomas Gelf
842c29e0d0
Fix form area widths
2014-03-25 08:05:53 +00:00
Thomas Gelf
851bea0725
One more _self-targetting form
2014-03-25 08:03:12 +00:00
Thomas Gelf
d4ccc68eab
Remove sample graphite preview, should not have been pushed to master
2014-03-25 07:21:46 +00:00
Thomas Gelf
b5b4d276d1
Add more structure to host and service details
2014-03-21 18:56:55 +00:00
Thomas Gelf
b37c902e2d
Prepare AbstractObject for farther performance tuning
2014-03-21 10:34:42 +00:00
Thomas Gelf
3b2272f825
Customvars are in customvariablestatus, "bugfix" in 1.10 has been reverted
2014-03-21 10:32:27 +00:00
Thomas Gelf
f24e5eaa8a
Stay on the same column when switching between services of the same host
2014-03-21 10:30:12 +00:00
Thomas Gelf
8a7ac587d9
Get rid of hardcoded target for action-tables
2014-03-21 10:27:46 +00:00
Thomas Gelf
4378282e9f
Show additional custom columns in services list
2014-03-21 10:25:48 +00:00
Thomas Gelf
99041d0f15
Prepare support for custom additional columns
2014-03-21 10:24:17 +00:00
Thomas Gelf
122f39eed9
Improve command submission notification messages
2014-03-20 16:34:35 +00:00
Thomas Gelf
9517824b41
Better form target settings for more comfort
2014-03-20 16:33:06 +00:00
Thomas Gelf
3be2834af7
"Check now" should stay in the same container
2014-03-20 15:42:24 +00:00
Johannes Meyer
bf717654f0
Add more consistency to the servicematrix when switching pages
2014-03-20 11:30:55 +01:00
Johannes Meyer
aa6d6b1d41
Make servicematrix x-axis header titles linking to filtered servicelist
2014-03-20 09:41:41 +01:00
Johannes Meyer
44950ea570
Fix servicematrix styling issues in firefox and ie
2014-03-20 09:22:29 +01:00
Michael Friedrich
4ce7ea503f
Rename help and documentation to icingacli.
...
Refs #5802
2014-03-19 17:25:53 +01:00
Johannes Meyer
e9ec87b0e3
Refine styling of the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
0227c6a49d
Fix hosts without services being displayed in the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
c73928d7a8
Add pagination control to the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
617b6822d7
Add pagination support to the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
13b509bf4b
Do not display hosts without any services in the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
0a5c2c5bd7
Make filtering/sorting of the servicematrix work
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
71f4b6960b
Add servicematrix view
...
refs #4180
2014-03-19 09:11:24 +01:00
Thomas Gelf
5dd06d8132
Host detail view should also point to _next
2014-03-17 16:36:38 +00:00
Thomas Gelf
e0c93d6ca7
JS cleanup
...
* Precedence rules: skip autorefresh if click is pending
* Clean up the attr VS data mess
* More steps towards a column-count-ignorant GUI
2014-03-17 17:10:03 +01:00
Thomas Gelf
47eff0e365
Removing luckily unused output-buffering trim helper
2014-03-17 16:26:52 +01:00
Alexander Klimov
5c3df3db15
Handle not readable monitoring config files more intelligent
2014-03-13 15:54:27 +01:00
Alexander Klimov
fbd354fa55
Small view changes
2014-03-12 11:22:20 +01:00
Alexander Klimov
5c0441bc06
Re-design configuration interface
2014-03-11 17:13:42 +01:00
Alexander Klimov
f1dcc4c15e
Merge branch 'master' of git.icinga.org:icingaweb2
2014-03-11 15:44:08 +01:00
Alexander Klimov
7d08636af4
Handle missing config files more intelligent
2014-03-11 15:43:41 +01:00
Johannes Meyer
e291974e55
Refine tactical overview style
2014-03-10 15:09:53 +01:00
Thomas Gelf
448d7c1a8d
Fix PDF output wherever it works, disable dead filter control
2014-03-10 01:24:45 +01:00
Thomas Gelf
e3fbacfc4a
Add missing command notifications
2014-03-10 00:56:55 +01:00
Thomas Gelf
e54c91c2f7
Restyle process info and shorten performance info
2014-03-10 00:49:21 +01:00
Thomas Gelf
5962fd71d0
Fix erranous table row title
2014-03-10 00:48:23 +01:00
Thomas Gelf
62ff31d4ee
Downtimes could look better, HTML still missing
2014-03-09 22:59:49 +01:00
Thomas Gelf
6466c768be
Just whitespace
2014-03-09 22:48:38 +01:00
Thomas Gelf
ad432217b2
Fix downtime scheduled start/end sort error
2014-03-09 22:35:33 +01:00
Thomas Gelf
bf66271e49
Still downtimes
2014-03-09 22:32:40 +01:00
Thomas Gelf
88859cb838
The next fat package: downtimes, everywhere
2014-03-09 21:58:01 +01:00
Thomas Gelf
2f8c6a37d3
Spacing, quick and dirty
2014-03-09 20:09:26 +01:00
Thomas Gelf
2f61075260
More comment query cleanup and fix a typo
2014-03-09 20:05:59 +01:00
Thomas Gelf
1659df216d
Just a new TODO note
2014-03-09 19:43:04 +01:00
Thomas Gelf
2c3da5969a
Great, sortControl is not alias-aware. Fix comment sort options
2014-03-09 19:39:32 +01:00
Thomas Gelf
a270eb2270
Autorefresh commments list
2014-03-09 19:31:59 +01:00
Thomas Gelf
63fd074a4f
Comments are still messy, clean up and fix adding / removing them
2014-03-09 19:29:23 +01:00
Thomas Gelf
c7d3b38739
Comment list style
2014-03-09 18:02:12 +01:00
Michael Friedrich
e947b4363b
System->Performance: Add RuntimeVariables view helper for 'average_{,scheduled_}services_per_host' calculation.
2014-03-09 16:38:55 +01:00
Thomas Gelf
54162d9538
Fine-tune commment list
2014-03-09 13:41:31 +01:00
Thomas Gelf
f906df881c
Introduce module.less for the monitoring module, comment styling
2014-03-09 13:40:56 +01:00
Thomas Gelf
767599d144
Remove obsolete CSS file
2014-03-09 13:40:18 +01:00
Thomas Gelf
6bea9e8b43
Style comment list
2014-03-09 12:10:05 +01:00
Thomas Gelf
7202e13837
Link to filtered contact group list unless we have show/contactgroup
2014-03-09 11:26:57 +01:00
Thomas Gelf
4d48f4fb0e
Filter form restyle dirty preview
2014-03-09 02:03:06 +01:00
Thomas Gelf
e6fc6375b5
Refactor acknowledgements, finally get rid of status component
2014-03-08 21:28:32 +01:00
Thomas Gelf
a87925bbf6
Refactored notifications for object detail view
2014-03-08 21:02:22 +01:00
Thomas Gelf
c41160405d
Dedicated view script for object actions
2014-03-08 19:49:57 +01:00
Thomas Gelf
b4aff8f39b
Small HTML fix
2014-03-08 19:48:47 +01:00
Thomas Gelf
07f76a631a
AVP table should not influence perfdata table sitting there
2014-03-08 19:48:07 +01:00
Thomas Gelf
20c89bddf2
Perfdata experiments
2014-03-08 19:42:03 +01:00
Thomas Gelf
6ebd3e7b0f
Perfdata is not always a table
2014-03-08 19:39:28 +01:00
Thomas Gelf
e2955c5af2
Remove obsolete files
2014-03-08 18:55:09 +01:00
Thomas Gelf
d13b89d611
ListController code cleanup
2014-03-08 18:49:31 +01:00
Thomas Gelf
740df4ccac
Cleaning up object downtimes. What a mess... :(
2014-03-08 18:28:19 +01:00
Thomas Gelf
8e44c66850
Style comment removal. Did it ever work? It doesn't...
2014-03-08 17:16:42 +01:00
Thomas Gelf
ba59d938a1
Show reschedule notice
2014-03-08 17:04:12 +01:00
Thomas Gelf
dc865df3c4
Restyle "Check now"
2014-03-08 17:02:14 +01:00
Thomas Gelf
eb517f0a40
Make command forms "inline", remove missing icon
2014-03-08 17:01:27 +01:00
Thomas Gelf
235d655808
One more #col2
2014-03-08 15:01:00 +01:00
Thomas Gelf
73a8e13fc8
Remove #col2 traces in the application code
2014-03-08 15:00:23 +01:00
Thomas Gelf
e8118f9116
Host grid links should point to host view
2014-03-08 12:58:32 +01:00
Thomas Gelf
3f6e5e65d1
Fix HTML on no host found
2014-03-08 12:55:17 +01:00
Thomas Gelf
79fe20a95c
No (row) links back in object history, as we are already there
2014-03-08 12:38:31 +01:00
Thomas Gelf
ca0fbedf0e
Notifications for enable/disable active checks
2014-03-08 12:33:04 +01:00
Thomas Gelf
2b19ba51a6
No output support for command forms. Doesn't fit all forms, more to come
2014-03-08 12:08:25 +01:00
Thomas Gelf
8c30fe0a53
ZF-like XHR check
2014-03-08 11:31:12 +01:00
Thomas Gelf
b8f4ae17de
Ooops, helper vs form
2014-03-08 10:01:38 +00:00
Thomas Gelf
b9a563cc03
Add a few notifications
2014-03-08 08:34:59 +00:00
Thomas Gelf
63caf15494
Improve output styling, still inline
2014-03-08 08:29:39 +00:00
Thomas Gelf
69b91adedb
Ouch
2014-03-08 08:24:58 +00:00
Thomas Gelf
3e09931f2c
Restyle object flags
2014-03-08 08:23:48 +00:00
Thomas Gelf
c9af498d81
Apply temporary fix for the "thing" breaking Web\Request and dispatching
2014-03-08 00:47:35 +00:00
Thomas Gelf
d234a87e84
Introduce new detail section headers fitting the rest of the layout
2014-03-08 00:17:42 +00:00
Thomas Gelf
d53573ede2
Host services view
2014-03-08 00:00:21 +00:00
Thomas Gelf
b1c77ea509
Chart colors should fix layout / monitoring state colors
2014-03-07 23:24:41 +00:00
Thomas Gelf
30c03b5f23
Host base target should fit service base target
2014-03-07 23:19:27 +00:00
Thomas Gelf
e2ecd35314
First sample notifications
2014-03-07 23:18:23 +00:00
Marius Hein
2b1c967364
Reorganized comment list columns
2014-03-07 18:13:54 +01:00
Alexander Klimov
9963a21236
Raise error if a configuration file is missing
2014-03-07 17:28:36 +01:00
Johannes Meyer
e8a626e896
Change the way how boxed status information is presented to the user
2014-03-07 16:43:41 +01:00
Alexander Klimov
be43014e0c
Don't raise error if 'modules/monitoring/instances.ini' is missing
2014-03-07 16:08:54 +01:00
Alexander Klimov
a0e3720abb
Monitoring backends configuration icon hotfix
2014-03-07 15:16:32 +01:00
Alexander Klimov
45520fe2d6
Remove hardcoded filter in state history summary query
2014-03-07 15:04:43 +01:00
Johannes Meyer
25979f44e3
Refine box styles
2014-03-07 13:15:26 +01:00
Thomas Gelf
6be6cabb9f
Notification view cleanup, first steps
2014-03-07 11:26:26 +00:00
Thomas Gelf
04d968b4bf
There IS a reason why I WANT this space to be there. REALLY!
2014-03-07 10:50:06 +00:00
Alexander Klimov
75096dd65b
PHTML hotfix
2014-03-07 11:30:23 +01:00
Alexander Klimov
a64168a42d
Service groups at tactical overview
2014-03-07 11:14:19 +01:00
Alexander Klimov
a4ed32d357
Using new PHP icon helper
2014-03-07 10:54:39 +01:00
Johannes Meyer
49127e3ac8
Fix contactgroups overview style
2014-03-07 10:35:21 +01:00
Thomas Gelf
fc85dface1
Allow access to generated object history SQL query
2014-03-07 09:07:54 +00:00
Johannes Meyer
067fa02263
Split and merge status summary in tactical overview
2014-03-07 08:59:20 +01:00
Michael Friedrich
5853614d55
Fix CSV Export in monitoring module.
...
Fixes #5722
2014-03-06 23:54:03 +01:00
Michael Friedrich
91c15747cf
Notification History: Fix contactnotificationmethods left join.
2014-03-06 22:18:32 +01:00
Thomas Gelf
717d80807e
Remove flapping icons, that's already handled
2014-03-06 19:51:03 +00:00
Thomas Gelf
f929b15651
Object comment snippet now fits the other components
2014-03-06 19:06:14 +00:00
Thomas Gelf
ef71f22b7f
Reorder detail view components, use new snippets - still unfinished
2014-03-06 19:03:21 +00:00
Thomas Gelf
edafcc5f68
Start fading out components/status.phtml in favour of dedicated snippets
2014-03-06 19:02:36 +00:00
Thomas Gelf
ddf834d922
Single host services tabs now fit the layout
2014-03-06 19:01:40 +00:00
Thomas Gelf
8b40413406
Object history cleanup, fix timestamp and others glitches
2014-03-06 19:00:53 +00:00
Thomas Gelf
da5f3c191c
statusIcons cleanup, this file will probably fade out
2014-03-06 19:00:10 +00:00
Thomas Gelf
3da5c3f064
Temporarily add icon overview to detail header
2014-03-06 18:59:37 +00:00
Thomas Gelf
4961bbd8d1
Object detail component cleanup, less HTML
2014-03-06 18:57:21 +00:00
Thomas Gelf
2dcc029e91
Two more title tabs for our command forms
2014-03-06 18:55:08 +00:00
Thomas Gelf
3a2b2339e8
Services tab header in detail view (still no services)
2014-03-06 18:54:38 +00:00
Thomas Gelf
84a62b7bbf
Raw timestamp is for sort only
2014-03-06 18:42:26 +00:00
Thomas Gelf
25f1034c15
New object detail snippets
2014-03-06 18:36:26 +00:00
Thomas Gelf
1ffea41bed
Fix instance config error handling in CommandController
2014-03-06 18:35:44 +00:00
Thomas Gelf
c36b1d7d84
Icon helper for our services list
2014-03-06 16:33:27 +00:00
Thomas Gelf
c295a14d0d
Just a space
2014-03-06 16:16:29 +00:00
Thomas Gelf
5d20fb38e2
A few more command title tabs
2014-03-06 16:03:48 +00:00
Thomas Gelf
980ddbc8a9
Start with command form cleanup
2014-03-06 13:47:26 +00:00
Johannes Meyer
1b503fd187
Clean up StatusSummary query
2014-03-06 14:29:50 +01:00
Thomas Gelf
d1026c240b
Unify detail header, fit new layout
2014-03-06 13:20:34 +00:00
Thomas Gelf
eaa3de4549
Remove obsolete services-compact.phtml
2014-03-06 13:12:30 +00:00
Thomas Gelf
13c5ebffd8
Don't right-align service list icons
2014-03-06 13:12:30 +00:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +01:00
Alexander Klimov
2f8160d020
Re-design configuration interface
...
refs #5705
2014-03-06 12:32:55 +01:00
Thomas Gelf
864dc15514
Icinga Core 2 doesn't fill notification commands
2014-03-06 11:05:53 +00:00
Johannes Meyer
3692993d20
Refactor tactical overview style
2014-03-06 10:54:10 +00:00
Johannes Meyer
bd7ce10efc
Refactor hostgroup overview style
2014-03-06 10:53:57 +00:00
Thomas Gelf
b61a732eaa
Clean up service list view script, obsolete compact variant
2014-03-06 10:35:11 +00:00
Thomas Gelf
7cb26a0d34
History grid CSS
2014-03-06 10:30:52 +00:00
Thomas Gelf
18baf35020
Title and container for state history summary
2014-03-06 10:09:16 +00:00
Thomas Gelf
5dbf1e48a7
Allow format=sql to everybody right now
...
* we have no "devel" environment any more
* we might allow this based on permissions
2014-03-06 09:17:55 +00:00
Matthias Jentsch
819e7e9806
Implement Widget to display problems as matrix over time
...
refs #5703
2014-03-05 20:19:09 +01:00
Johannes Meyer
57942c8dbf
Fix style information for tactical overview
...
refs #3782
2014-03-04 16:25:11 +01:00
Thomas Gelf
573bd1bde1
Fix comment query. Service comments only right now
2014-03-04 14:14:42 +00:00
Thomas Gelf
e99bb57c63
Merge branch 'feature/master-1' of git.icinga.org:icingaweb2 into feature/master-1
2014-03-04 14:10:31 +00:00
Thomas Gelf
7d22994d80
Dudes need better error messages
2014-03-04 14:08:44 +00:00
Johannes Meyer
8abefaee3c
Add style information for tactical overview
...
refs #3782
2014-03-04 14:48:53 +01:00
Thomas Gelf
bb9bc39522
Remove obsolete th
2014-03-04 13:48:14 +00:00
Thomas Gelf
85c0325ee2
Statehistory summary example should fit current controller
2014-03-04 13:44:53 +00:00
Thomas Gelf
d0b54ea46e
One less colon
2014-03-04 13:31:08 +00:00
Thomas Gelf
1db2a7a8a0
No title for compact hosts and services, add piecharts
2014-03-04 13:30:29 +00:00
Thomas Gelf
522e9de2e3
No header for compact hostgroups
2014-03-04 13:29:46 +00:00
Thomas Gelf
5c5268651c
Reorganised eventhistory view script, still far from being perfect
2014-03-04 13:29:02 +00:00
Thomas Gelf
23daa39205
Ugly temporary fix for Monitoring\Object problems
2014-03-04 12:59:26 +00:00
Thomas Gelf
8ccd748310
Allow "better" join for comments
2014-03-04 12:57:40 +00:00
Thomas Gelf
0e50547a01
Perfdata and PluginOutput helpers, output slightly changed
2014-03-04 12:54:23 +00:00
Thomas Gelf
b09ea7c690
Sample ticket hook
2014-03-04 12:50:49 +00:00
Thomas Gelf
edb7ea076e
Prevent CommentQuery from doing nonsense Joins, may break some views
2014-03-04 12:43:44 +00:00
Thomas Gelf
9cc3bb75ca
Improved severity column, still subject to changes
2014-03-04 12:33:54 +00:00
Thomas Gelf
0f0e4883d1
autorefreshIntervals and titles
2014-03-04 12:33:02 +00:00
Thomas Gelf
f5d796255c
Allow Ido Queries to define conflicts
2014-03-04 12:31:20 +00:00
Thomas Gelf
c2213e7b71
Merge branch 'feature/tactical-overview-3782' into feature/master-1
2014-03-04 10:26:51 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Johannes Meyer
3e495b6eaf
Refactor view so that it applies to the new design
...
refs #3782
2014-03-04 09:39:00 +01:00
Eric Lippmann
07d04628cf
Merge branch 'feature/installation-and-configuration-cleanup-5638'
...
Conflicts:
config/config.ini.in
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Application/Cli.php
library/Icinga/Application/EmbeddedWeb.php
library/Icinga/Application/Logger.php
library/Icinga/Application/Modules/Manager.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/DbUserBackend.php
library/Icinga/Authentication/Manager.php
library/Icinga/User/Preferences/IniStore.php
test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Johannes Meyer
ba45d64891
Extend StatusSummaryQuery and its view
...
refs #3782
2014-03-03 09:03:07 +01:00
Alexander Klimov
b8efe1a93c
Collect some garbage in the source code
2014-02-28 08:48:34 +01:00
Alexander Klimov
0e0672e0c1
Add tactical overview (WIP)
...
refs #3782
2014-02-28 08:48:34 +01:00
Johannes Meyer
3555e66018
Make IcingaWeb using the new log wrapper
...
refs #5683
2014-02-26 11:19:52 +01:00
Thomas Gelf
24a32905f7
Pie spacing
2014-02-21 14:05:28 +00:00
Thomas Gelf
b74e4cb3fd
One less partial
2014-02-21 14:05:28 +00:00
Thomas Gelf
20b7b4bbf7
List view script adjustments
2014-02-21 14:05:28 +00:00
Thomas Gelf
1634fcd662
New contactgroups overview layout prototype
2014-02-21 14:05:28 +00:00
Thomas Gelf
23cbb8c9b8
New route for event history summary prototype
2014-02-21 14:05:28 +00:00
Thomas Gelf
d1dc4f10f7
Reasonable sort default for downtimes, should be placed into DataView
2014-02-21 14:05:28 +00:00
Thomas Gelf
ad6498900b
Using title tabs for some more actions
2014-02-21 14:05:28 +00:00
Thomas Gelf
154b4722f5
Helper function for "title tabs", still unhappy with this solution
2014-02-21 14:05:28 +00:00
Thomas Gelf
7ff4f55737
Quick & dirty proposal for new grouped history overviews
2014-02-21 14:05:28 +00:00
Thomas Gelf
02f16a90f7
Don't prefetch downtimes and don't fetch hostgroups for service objects
2014-02-21 14:05:27 +00:00
Thomas Gelf
3fa5ef0ea2
We want to sort by raw timestamps, we don't want to fetch them
2014-02-21 14:05:27 +00:00
Thomas Gelf
859d964d6b
Don't show empty pies
2014-02-21 14:04:40 +00:00