Commit Graph

1613 Commits

Author SHA1 Message Date
Eric Lippmann b7d6ee75f2 monitoring: Remove the MultiController
The controller is no longer used.
2014-12-30 10:38:43 +01:00
Eric Lippmann 8594ff6843 monitoring: Remove multi/* view scripts
They are no longer used.
2014-12-30 10:38:02 +01:00
Eric Lippmann 56102a1e39 monitoring: Count hosts having comments once in hosts/show.phtml 2014-12-30 10:35:18 +01:00
Eric Lippmann b82f4e5356 monitoring: Count hosts in downtime once in hosts/show.phtml 2014-12-30 10:33:32 +01:00
Eric Lippmann 3745d3ebef monitoring: Count acknowledged hosts once in hosts/show.phtml 2014-12-30 10:31:23 +01:00
Eric Lippmann 507aefa9dd monitoring: Count unhandled hosts once in hosts/show.phtml 2014-12-30 10:30:31 +01:00
Eric Lippmann c87733debc monitoring: Count hosts once in hosts/show.phtml 2014-12-30 10:26:19 +01:00
Eric Lippmann 973a56c984 Merge branch 'master' into feature/translation-plural-8092 2014-12-30 10:22:44 +01:00
Eric Lippmann 59c39e94db Merge branch 'bugfix/hostgroup-link-7259'
fixes #7259
2014-12-30 10:20:44 +01:00
Eric Lippmann d6e331018b monitoring: Use Form::translate() in the backend configuration form
refs #7551
2014-12-30 10:02:31 +01:00
Eric Lippmann e05e04bb74 monitoring: Uppercasse the first word of comments in the backend configuration form 2014-12-30 09:47:45 +01:00
Eric Lippmann e72361c2cb monitoring: Fix missing return argument in the backend configuration form 2014-12-30 09:47:19 +01:00
Eric Lippmann 24b2369adb monitoring: Fix PHPDoc of BackendConfigForm::setResourceConfig() 2014-12-30 09:45:24 +01:00
Eric Lippmann 27110ce594 monitoring: use @type instead of @var in the backend configuration form 2014-12-30 09:44:33 +01:00
Eric Lippmann 6a67b7fee3 monitoring: add description to @see tags in the backend configuration form 2014-12-30 09:43:35 +01:00
Eric Lippmann 2a1f12354e monitoring: Use '@return $this' when documenting fluent interfaces in the backend configuration form 2014-12-30 09:41:22 +01:00
Eric Lippmann d595541d42 monitoring: optimize imports in the backend configuration form 2014-12-30 09:40:09 +01:00
Eric Lippmann c1aff80f7b monitoring: Fix "Show resource configuration" link 2014-12-30 09:39:11 +01:00
Eric Lippmann 3bd24c48ff monitoring: Do not provide export when viewing a monitored object
This is simply not possible at the moment.
2014-12-29 17:54:39 +01:00
Eric Lippmann e376bd6285 monitoring: Fix that exporting a object's history throws an exception
fixes #6586
2014-12-29 17:54:09 +01:00
Eric Lippmann 4ea52161a9 Merge branch 'master' into feature/packages-4075 2014-12-29 12:31:38 +01:00
Eric Lippmann bf92f9fa85 monitoring: Fix the link to services in downtime when multiple services are selected 2014-12-29 12:25:41 +01:00
Eric Lippmann 26bc56e9df monitoring: Fix the link to hosts in downtime when multiple hosts are selected 2014-12-29 12:19:37 +01:00
Eric Lippmann f1f808b7a3 Do not use array_map for generating the unhandled objects filter in HostsController.php 2014-12-29 12:17:17 +01:00
Eric Lippmann 2db2865433 Do not use an extra loop for generating the unhandled objects filter in ServicesController.php 2014-12-29 12:11:49 +01:00
Matthias Jentsch 41c101d99f Use neutral default color in perfdata piecharts
If nothing is known about the state of the monitoring object, the piecharts should neither indicate OK nor Critical.
2014-12-23 16:12:25 +01:00
Matthias Jentsch c93b13b138 Rework behavior of perfdata visualization
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.

fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +01:00
Matthias Jentsch cda5a6a903 Streamline chart implementation
Define sparkline layout through CSS class and remove label/tooltip formatting.

fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch 64a2acd12e Do not display labels for single data sets in perfdata piecharts
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.

refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +01:00
Johannes Meyer f513e7959e Consider also the host's state when counting its service problems
refs #8013
2014-12-22 16:20:12 +01:00
Johannes Meyer 5b0c876362 Use the service_handled column instead of acknowledged and in_downtime
Only service_handled takes the host's state into consideration.

refs #8013
2014-12-22 16:18:39 +01:00
Johannes Meyer c5915f24cc Make it easier to distinguish host and service downtimes
Added an icon to the left of a host's or service's label and an additional
textual indicator.

refs #8008
2014-12-22 14:44:09 +01:00
Johannes Meyer 086334c861 Properly build the unhandled action links when showing multiple objects
The links designated to acknowledge unhandled problems or to schedule
a downtime for them were generated based on the full list of objects and
limited by non-supported filter parameters. As we are already aware of the
exact "unhandled" objects this list is now used to generate proper links.
(Btw applying filters to URLs is a mess...)

fixes #8017
2014-12-22 13:59:03 +01:00
Eric Lippmann fa226f261e monitoring: Remove css class 'control-group' from date and time elements in the schedule downtime command form
This CSS class does no longer exist.
2014-12-19 10:45:23 +01:00
Eric Lippmann b0ab6c3a76 monitoring: Remove css class 'control-group' from the expire time element
This CSS class does no longer exist.
2014-12-19 10:43:14 +01:00
Johannes Meyer 5b1e9be316 Make command parameters with multiple lines work, again
fixes #6088
2014-12-18 15:41:35 +01:00
Eric Lippmann 8ec0740005 Merge branch 'master' into feature/packages-4075 2014-12-18 14:02:17 +01:00
Carlos Cesario 2f3667aa3d Use hosts link instead services link
Use hosts link instead services link to show hosts group.

refs #7259
2014-12-17 10:00:15 -02:00
Carlos Cesario d4bbd3a323 Add more support to plural strings translation
Add more support to plural strings translation

refs #8092
2014-12-16 09:31:20 -02:00
Johannes Meyer 3fde78f2b3 Enable the dompdf float support and fix our list's layout 2014-12-15 13:56:19 +01:00
Johannes Meyer b307fe2791 Reorder use statements to be in alphabetical order 2014-12-12 12:44:31 +01:00
Johannes Meyer 7987fb3f5a Use the Host and Service object class helpers instead of the Util view helper
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 12:22:20 +01:00
Johannes Meyer 87664ffef9 Use the Host and Service object class helpers instead of MonitoringState
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 10:38:21 +01:00
Johannes Meyer e63252cb04 Fix that the RuntimeVariables helper cant handle missing information
fixes #7905
2014-12-11 18:00:36 +01:00
Johannes Meyer cee68877a9 ProcessCheckResultCommand: Indicate a incompatibility with icinga2
Should be solved by checking the backend's version on runtime
2014-12-11 15:56:23 +01:00
Johannes Meyer abfef2cc11 Fix wrong command being rendered for passive service check results
refs #6854
2014-12-11 15:53:12 +01:00
Johannes Meyer ddc121d1cc Add ProcessCheckResultCommandForm
refs #6854
2014-12-11 15:52:23 +01:00
Johannes Meyer 8779e80291 Add a link to a service's event when showing the host's history 2014-12-11 10:56:47 +01:00
ayoubabid e0bec56d23 Update RemoteInstanceForm.php
Wrong path to icinga2 command.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:42:01 +01:00
ayoubabid 429b16b74e Update LocalInstanceForm.php
Wrong path to icinga2 command

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:41:51 +01:00
Carlos Cesario eca176f191 Fix wrong change
Fix wrong change host->host_display_name to host->host_name.

refs #7988
2014-12-10 11:30:59 -02:00
Carlos Cesario 311ebfbcba Add support to untranslated strings
Add support to untranslated strings

refs #7988
2014-12-10 10:45:57 -02:00
Johannes Meyer 196b6a4875 Ensure that Zend is loaded when showing status information in the CLI
fixes #7869
2014-12-09 15:38:13 +01:00
Eric Lippmann 19d89f0a67 monitoring/configuration.php: Prefer @type over @var 2014-12-09 12:55:12 +01:00
Eric Lippmann de0653eaa6 monitoring/tactical: Fix case of the features' links
Use title capitalization for the features' links to be consitent.
2014-12-08 10:33:40 +01:00
Eric Lippmann 550bb7d7d1 monitoring/tactical: Fix case of features' titles 2014-12-08 10:29:41 +01:00
Eric Lippmann f94646eb41 monitoring/tactical: Fix "Host and Service Checks" header 2014-12-08 10:27:36 +01:00
Carlos Cesario 571df0a5ab Improve plural string translation
Improve plural translation for some statements

refs #8000
2014-12-05 10:45:10 -02:00
Johannes Meyer f0b470870a Fix how we check whether any comments were found
fixes #7898
2014-12-04 09:59:28 +01:00
Carlos Cesario b099c28861 Update pt_BR translation
Update pt_BR language translations

refs #6794
2014-12-03 09:40:52 -02:00
Thomas Gelf cddb68bffb ActionController: shift global parameters globally 2014-12-03 10:40:48 +01:00
Carlos Cesario 8d8b65473a Add translation to some strings
Thank you Carlos.

resolves #7787

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Johannes Meyer ebf908b1b5 Make db requirement checks more sensitive
fixes #7837
2014-12-01 15:38:10 +01:00
Johannes Meyer 2b14dbaff3 Fix the groupsummarie's grouping in case of PostgreSQL
fixes #7859
2014-12-01 14:36:46 +01:00
Eric Lippmann 7a243a0655 Fix the event overview throwing an exception when trying to modify a filter 2014-12-01 13:45:55 +01:00
Alexander Klimov 0b3e306b8a Event history: display filter editor
refs #6638
2014-11-26 16:13:02 +01:00
Alexander Klimov badad1df44 Event history: move sort control to the right
refs #6638
2014-11-26 16:13:02 +01:00
Eric Lippmann 1502b489cd Auto-refresh display of a host's services 2014-11-25 16:35:09 +01:00
Eric Lippmann 2843490250 monitoring: Translate "Plugin Output" 2014-11-21 16:45:39 +01:00
Eric Lippmann c626762b5d commands: Fix wrong flag for sticky acks
It's 2 not 1. But who knows why :)

fixes #7783
2014-11-21 16:33:46 +01:00
Gunnar Beutner 59c2d27e4e Fix spelling for "Plugin Output" 2014-11-21 15:14:47 +01:00
Eric Lippmann 9f109f9b93 Fix redirect after submitting commands to multiple objects
fixes #7711
2014-11-20 17:47:08 +01:00
Thomas Gelf d5450598f0 list/eventhistory: add flapping stopped support 2014-11-20 17:24:01 +01:00
Eric Lippmann eddb00cbc1 monitoring: Remove filter widgets in the event overview / history view
They did not work.
2014-11-20 17:19:26 +01:00
Eric Lippmann f470e66884 monitoring: Fix view monitoring health when Icinga is not running
If Icinga is not running, the view Monitoring Health simply shows a message about the backend not being up and running.
This is of course not so useful as it lacks performance and last runtime information but is does not error.
2014-11-20 15:23:08 +01:00
Johannes Meyer 5f37739227 Fix that selecting a x-axis link in the service grid produces an invalid filter
I've just fixed this quick and dirty as implementing the complete x IN y
syntax requires too much effort as currently available.

refs #7169
2014-11-20 14:26:35 +01:00
Eric Lippmann dfd74480c3 Event overview: Fix unclosed element div 2014-11-20 12:54:00 +01:00
Johannes Meyer e23a794844 There is no "highest" severity, just "some" severity 2014-11-20 12:49:10 +01:00
Johannes Meyer 86485cb8ef Re-design host- and servicegroupsummary 2014-11-20 12:44:46 +01:00
Johannes Meyer 4e87d21726 Add sort control to the hostgroup- and servicegroupsummary view 2014-11-20 10:07:46 +01:00
Johannes Meyer 2fdc1f4322 Sort the hostgroup- and servicegroupsummary by service severity 2014-11-20 09:48:47 +01:00
Eric Lippmann 2830b13082 Merge branch 'master' into feature/security-gui-5647 2014-11-19 16:31:26 +01:00
Thomas Gelf 7e44f993b1 list/eventhistory: icon param 2014-11-19 16:22:09 +01:00
Thomas Gelf 9bfdb159f0 packaging/debian: postponed 2014-11-19 16:13:30 +01:00
Eric Lippmann 1db85a745a Monitoring: Provide command permissions
refs #5647
2014-11-19 15:25:43 +01:00
Bernd Erk 066ea782aa Fixes Check now button 2014-11-19 13:49:30 +01:00
Thomas Gelf 42a8352a8f list/eventgrid: use filter, not filterEditor 2014-11-19 12:08:49 +01:00
Johannes Meyer c74f7531dc Do not display host- and servicegroups as boxes but as table instead 2014-11-19 11:53:45 +01:00
Matthias Jentsch a2592f8d7b Fix alert summary chart colors 2014-11-19 11:23:28 +01:00
Matthias Jentsch 2c143ff348 Fix alert summary page layout 2014-11-19 11:03:06 +01:00
Thomas Gelf b5aa08ca36 selectioninfo: make it look lighter 2014-11-19 10:17:09 +01:00
Thomas Gelf 8d67437685 show/services: render service in _next container 2014-11-19 09:10:13 +01:00
Thomas Gelf 2bac63e6d8 monitoring/css: badges 2014-11-19 08:34:56 +01:00
Thomas Gelf 108f854848 monitoring/list: let filter know special params 2014-11-19 08:11:53 +01:00
Thomas Gelf 1f5d4a28c0 monitoring/css:align selection info to header 2014-11-19 08:09:39 +01:00
Thomas Gelf 63cd5854d4 Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-19 07:56:48 +01:00
Thomas Gelf a20fa3201d tinystatesummary: use h1, styling 2014-11-19 07:53:16 +01:00
Thomas Gelf 6e62b2f0f4 monitoring/css: reduce basic header sizes 2014-11-19 07:16:32 +01:00
Alexander Fuhr 4d4d19a7ef Add `translate()' to untranslated stringw in monitoring health overview 2014-11-18 19:45:58 +01:00
Alexander Fuhr e97f08663e Move process info and performance info overview into monitoring health
The process info and the performance info overviews are now moved to
monitoring health and are available both under the 'Monitoring Health'
section. But this is not the final look, we should redesign it and add
more relative information data and drop unused
2014-11-18 19:40:22 +01:00
Matthias Jentsch a4f4c8d27f Support filter editing in event history
Add a FilterEditor to the eventhistory view, fix CSS layout

resolves #6979
2014-11-18 19:12:53 +01:00
Alexander Fuhr 268dc7e4b1 Fix the add link to the resource configuration
refs #7493
2014-11-18 18:06:36 +01:00
Matthias Jentsch 6269f6695b Add quick filter for event types to event overview
Add a new filter form for event types to the eventhistoryAction and add selected to filter on post

refs #7695
2014-11-18 17:18:12 +01:00
Bernd Erk 07c0180b1c Merge branch 'master' into feature/redesign-7144 2014-11-18 16:36:19 +01:00
Eric Lippmann 3df3018735 monitoring: Fix PHPDoc in command-form.phtml 2014-11-18 16:18:09 +01:00
Alexander Fuhr 7a7157ebef Move command note to the `getHelp()' and add the help as an icon 2014-11-18 16:10:17 +01:00
Johannes Meyer c288a68ed5 Merge branch 'master' into bugfix/drop-zend-config-7147
Conflicts:
	application/forms/LdapDiscoveryForm.php
2014-11-18 13:21:18 +01:00
Johannes Meyer 4ab5b2abf3 Fix anonymous onSuccess callbacks 2014-11-18 13:12:30 +01:00
Johannes Meyer 7621f6642d Adjust usages of Icinga\Application\Config
refs #7147
2014-11-18 13:11:52 +01:00
Alexander Fuhr 5ad1c0c928 Adjust vars to the coding guidelines 2014-11-18 10:29:47 +01:00
Alexander Fuhr cbcea2a3c3 Add check attempts information to object detail view
fixes #7686
2014-11-17 18:54:40 +01:00
Bernd Erk 66ecb2dc9f Fixes Pluginoutput 2014-11-17 18:02:16 +01:00
Bernd Erk 245c247ff3 Changes remove icon in monitoring module to cancel icon 2014-11-17 17:08:08 +01:00
Bernd Erk f83bcbfd2b updates current font set and changes service and reporting icons 2014-11-17 17:08:08 +01:00
Bernd Erk e44086cb9f Fixes service and config icons 2014-11-17 17:08:08 +01:00
Alexander Fuhr e95e5f35d8 Add significant title if there are no services configured
refs #7687
fixes #7687
2014-11-17 16:27:22 +01:00
Thomas Gelf a8a7da4ade Object\Host: not-so-nice workaround, LS contancts 2014-11-16 19:28:08 +01:00
Thomas Gelf 5bb3165da3 MonitoredObjectController: history only if available 2014-11-16 19:26:45 +01:00
Thomas Gelf 7f22afbc21 MonitoredObject: temporary livestatus workaround 2014-11-16 19:24:37 +01:00
Thomas Gelf 10ec0446e0 Livestatus\DowntimeQuery: first basic version 2014-11-16 18:55:48 +01:00
Thomas Gelf 8bd9a966e1 Livestatus\ServicegroupQuery: initial commit 2014-11-16 18:54:08 +01:00
Thomas Gelf 92c059a0d7 Livestatus\HostgroupQuery: initial commit 2014-11-16 18:53:41 +01:00
Thomas Gelf 822a64cc99 monitoring/show: no history tab for livestatus
Right now we show the tab based on the backend capability. No eventhistory,
no history tab.
2014-11-16 18:43:36 +01:00
Thomas Gelf 42efbf0892 Livestatus\StatusSummaryQuery: initial implementation 2014-11-16 17:12:25 +01:00
Thomas Gelf 7eb960ea0b Livestatus\StatusQuery: a couple of munge methods 2014-11-16 16:40:15 +01:00
Thomas Gelf b494476ebc Livestatus\StatusQuery: make use of new filter flags
NIIIIICEEEE!!
2014-11-16 16:39:41 +01:00
Thomas Gelf b6b78e4fcd Livestatus\StatusQuery: add LOTS of columns...
...still a little bit ugly, I'm in a hurry right now
2014-11-16 16:39:01 +01:00
Thomas Gelf 1a4bf609a2 Livestatus\StatusQuery: remove obsolete method 2014-11-16 16:37:33 +01:00
Thomas Gelf 6d362b0606 Livestatus\StatusQuery: should know about it's table 2014-11-16 16:36:47 +01:00
Thomas Gelf 7b73215868 Livestatus\StatusQuery: add terribly setMode method 2014-11-16 15:18:10 +01:00
Thomas Gelf fa20ced0c2 LiveStatus\StatusQuery: should be a Livestatus\Query 2014-11-16 15:05:36 +01:00
Thomas Gelf e89d4642e3 Merge remote-tracking branch 'origin/master' into feature/livestatus-playground-4787 2014-11-16 10:12:34 +01:00
Thomas Gelf 387928de02 Filter: support 'q' searches
This makes the overall search play nice with the FilterEditor and
reduces code in the action controller. Still some work to do, but
seems to be pretty fine right now.
2014-11-16 02:40:28 +01:00
Thomas Gelf 87c8e58dab list/eventgrid: workaround for custom filtering 2014-11-16 00:37:58 +01:00
Thomas Gelf 8e9da72918 monitoring/list: remove old applyFilter function 2014-11-16 00:24:17 +01:00
Thomas Gelf 5950047ffe monitoring/list: switch to new filter editor 2014-11-16 00:20:12 +01:00
Thomas Gelf 42e0818fdb list/hosts: no more separate filter preview 2014-11-16 00:13:17 +01:00
Thomas Gelf 569851f45b list/services: no more separate filter preview 2014-11-15 23:59:49 +01:00
Thomas Gelf 58a9e1b345 list/services: try to move sort controls righthand 2014-11-15 23:58:53 +01:00
Thomas Gelf 4b50de372f list/services: temporarily disable selection info 2014-11-15 23:57:15 +01:00
Thomas Gelf c09d836023 monitoring/list/services: delegate filter handling 2014-11-15 23:53:57 +01:00
Thomas Gelf e3f6b4f27e monitoring/list: add new filterQuery method 2014-11-15 23:53:06 +01:00
Thomas Gelf 84458eff26 servicesummary: show ok count only when available 2014-11-15 22:45:30 +01:00
Thomas Gelf e345c88487 components/selectioninfo: use help icon for help 2014-11-15 22:43:30 +01:00
Thomas Gelf 197dc1587b show/contact: sort notifications 2014-11-15 22:42:04 +01:00
Thomas Gelf 210aae27fd Merge remote-tracking branch 'origin/feature/redesign-7144' 2014-11-15 12:19:46 +01:00
Eric Lippmann 3dc9b5bde8 Remove the filter box from the event grid because it has no value
refs #6979
2014-11-15 12:16:10 +01:00
Eric Lippmann 9c077a5eef Fix "Undefined variable: form in eventhistory.phtml"
Please test a changed view at least once :(

fixes #7682
2014-11-15 12:11:45 +01:00
Thomas Gelf 5c9b63f35a monitoring/module.less: no pluginoutput overflow
Was showing tiny scroll bars on Firefox
2014-11-14 21:49:11 +01:00
Thomas Gelf da47c7fc7e Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-14 21:32:57 +01:00
Alexander Fuhr 038964a325 Add tinystatesummary for hosts overview 2014-11-14 16:50:34 +01:00
Johannes Meyer ddf2ef5cc9 Remove $request parameter from Form::onSuccess and Form::onRequest
fixes #7552
2014-11-14 14:59:29 +01:00
Johannes Meyer 3166c518e1 Rename Icinga\Module\Monitoring\Form to Icinga\Module\Moni...\Forms
refs #7553
2014-11-14 11:17:22 +01:00
Johannes Meyer d64ec0aa3c Rename Icinga\Module\Setup\Form to Icinga\Module\Setup\Forms
refs #7553
2014-11-14 11:01:16 +01:00
Johannes Meyer 775c20d9ad Rename namespace Icinga\Form to Icinga\Forms
refs #7553
2014-11-14 10:57:14 +01:00
Johannes Meyer ea56e4f108 Fix addElements call in CheckNowCommandForm 2014-11-14 10:41:30 +01:00
Johannes Meyer 1c4a5ce86f Leave it up to Icinga\Web\Form to instantiate our own form elements 2014-11-14 10:15:27 +01:00
Eric Lippmann 1f77ef069d Use HTMLPurifier from the include path
refs #6165
refs #6166
2014-11-13 23:49:32 +01:00
Bernd Erk 903219b302 Merge branch 'master' into feature/redesign-7144
Conflicts:
	library/Icinga/Web/Menu.php
	public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Bernd Erk 20be45e8da Enable icon font 2014-11-13 20:08:58 +01:00
Matthias Jentsch 0db5167a35 Fix event grid layout and forms
Make event grid horizontal, user build in form apply button, add linebreak between filter and grid
2014-11-13 18:40:13 +01:00
Matthias Jentsch 022d89254f Fix tab, navigation and menu names 2014-11-13 18:38:42 +01:00
Bernd Erk 6201858a68 Merge branch 'master' into feature/redesign-7144 2014-11-13 17:47:26 +01:00
Alexander Fuhr dedb348af9 Add clickable icon for command check now 2 2014-11-13 15:55:25 +01:00
Bernd Erk ef2ec0442c Merge branch 'master' into feature/redesign-7144 2014-11-13 14:40:26 +01:00
Alexander Fuhr dc1960184d Add hint in the grid if there are no active downtimes 2014-11-13 14:18:19 +01:00
Alexander Fuhr d0651e9e7f Rename 'service current state' to 'service detail information' header 2014-11-13 14:04:23 +01:00
Alexander Fuhr 46df428e28 Add selection count hint in grids with help for hosts and services
refs #7654
2014-11-13 12:50:39 +01:00
Bernd Erk ac8cc0613c Merge branch 'master' into feature/redesign-7144
Conflicts:
	application/views/scripts/authentication/login.phtml
	public/css/icinga/login.less
2014-11-12 17:21:54 +01:00
Bernd Erk 68b598320b Fix module top padding 2014-11-12 17:14:30 +01:00
Johannes Meyer db7954c350 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 17:05:13 +01:00
Bernd Erk 31f4fc6c63 Fix Plugin Output 2014-11-12 16:40:34 +01:00
Bernd Erk f2c4c3bb1b Fix color codes and badges 2014-11-12 16:19:00 +01:00
Johannes Meyer 933172f250 Replace navigation of the service matrix and rename it to service grid
fixes #6180
2014-11-12 15:07:01 +01:00
Johannes Meyer 7aae291f69 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 10:08:28 +01:00
Johannes Meyer 4992140326 Hardcode the access mode to use when creating files
refs #7163
2014-11-12 09:39:18 +01:00
Johannes Meyer ca66480ba7 Hardcode the access mode to use when creating directories
refs #7163
2014-11-12 09:18:19 +01:00
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 e96ecc5271 LivestatusBackend: just an empty backend 2014-11-11 18:06:50 +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
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
Johannes Meyer 4974f582d3 Add page titles
refs #7163
2014-11-11 15:27:14 +01:00
Eric Lippmann 8e3394fd55 Merge branch 'master' into feature/redesign-7144 2014-11-11 13:54:13 +01:00
Johannes Meyer 7b804e4747 Provide some default values in the wizard
refs #7163
2014-11-11 12:41:02 +01:00
Johannes Meyer af99f62843 Prefer Icinga\Application\Config over Zend_Config
refs #7163
2014-11-11 12:11:14 +01:00
Eric Lippmann 548b54253e Remove display: flex;
fixes #7549
2014-11-11 10:27:42 +01:00
Johannes Meyer 9d292269b1 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/Resource/LdapResourceForm.php
	test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer 6b2f434f32 Do not use Installer anywhere. ²
"It's setup."

refs #7163
2014-11-10 16:53:28 +01:00
Johannes Meyer 21ed823da7 Adjust namespace declarations
refs #7163
2014-11-10 16:31:40 +01:00
Johannes Meyer 79493592bb Do not use Installer anywhere.
"It's setup."

refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer f1b6a82387 Make it optional to define protected custom variables
fixes #7590
2014-11-07 15:05:08 +01:00
Johannes Meyer bb96316a7c Make sure that IDO is the default backend type if available
refs #7163
fixes #7604
2014-11-07 14:47:37 +01:00
Johannes Meyer 9a5d01b3fd Check the mysql or pgsql extension instead of just pdo, really 2014-11-07 14:31:20 +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 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
Bernd Erk 7aef0581f3 Changed to color codes using less 2014-11-06 22:55:17 +01:00
Bernd Erk f300c121cd Redesign tactical overview 2014-11-06 22:38:06 +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
Bernd Erk 548058650a Fixed Plugin output and box-border 2014-11-06 15:49:26 +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
Bernd Erk c49bcebcb3 Fixed headlines and badges in monitoring module 2014-11-06 01:47:22 +01:00
Johannes Meyer 5a169ee656 Fix "PreservingIniWriter not found"
The class was renamed a few commits ago to "IniWriter"
2014-11-04 14:35:57 +01:00
Johannes Meyer 170ded6510 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	library/Icinga/Authentication/Backend/LdapUserBackend.php
	library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +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
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 16352fc10c Move Logger to the Application namespace
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer c1bff9a26e Merge branch 'master' into feature/setup-wizard-7163 2014-10-30 10:38:21 +01:00
Eric Lippmann 0bf6dc24a8 monitoring: Use command transports constants in the command transport factory 2014-10-30 09:53:55 +01:00
Johannes Meyer 3fc07496bc Remove RequirementPage from the monitoring module wizard
refs #7163
2014-10-29 16:26:09 +01:00
Johannes Meyer 2f05ed3d49 Add monitoring module wizard
refs #7163
2014-10-29 15:40:34 +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
Eric Lippmann 8ee52f8737 monitoring: throw meaningful logic exceptions in the command file classes 2014-10-29 11:36:00 +01:00
Eric Lippmann 319c5e7833 monitoring: indent php blocks in config/index.phtml properly 2014-10-29 11:33:31 +01:00
Eric Lippmann e7ef1826b7 monitoring: Don't translate exception messages in the remote command file 2014-10-29 10:00:59 +01:00
Eric Lippmann 1cc1521607 monitoring: Don't translate exception messages in the local command file 2014-10-29 10:00:29 +01:00
Eric Lippmann 6973492b0d monitoring: Translate headings in the config overview 2014-10-28 14:01:00 +01:00
Eric Lippmann 71e25f268a monitoring: Rename label of the path to the local Icinga command file
Rename 'Local filepath' to 'Command file' because the remote instance form is using 'Command file' too.
2014-10-28 13:52:10 +01:00
Eric Lippmann d04eceaeb2 monitoring: Remove 'Remote' prefix from the remote instance form elements' labels
The 'Remote' prefix of the remote instance form elements' labels is superfluous because the
instance's type already tells that it's remote.
2014-10-28 13:50:42 +01:00
Johannes Meyer 2f83976f50 Add ModulePage
refs #7163
2014-10-24 17:10:17 +02:00
Eric Lippmann 12cadb52ca Command transport: Show helpful exception messages
refs #7437
2014-10-24 11:45:58 +02:00
Alexander Klimov 38220afd11 PHP: avoid short tags <? 2014-10-23 10:44:54 +02:00
Alexander Klimov ba12d7b46c Use mt() in the monitoring module instead of just t()
fixes #7330
2014-10-21 17:22:16 +02:00
Johannes Meyer 9f127be1dc Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Eric Lippmann d475ccd569 IcingaCommand: Fix strict standards violation: Only variables should be passed by reference 2014-10-16 15:37:07 +02:00
Marius Hein 92b4f4fbec AlertSummary: Avoid division by zero 2014-10-16 09:50:15 +02:00
Johannes Meyer 64940198be Fix AlertSummary report cannot find EventHistory dataview
We should start to think about how to prevent such issues ;)
2014-10-15 11:18:16 +02:00