Commit Graph

1157 Commits

Author SHA1 Message Date
Eric Lippmann b6f87df90e monitoring: Select the host and service display_name column when viewing notifications for a contact
refs #7843
2015-01-21 15:50:32 +01:00
Eric Lippmann 0ceec816c6 monitoring: Use notifications default ordering when showing a contact 2015-01-21 15:49:36 +01:00
Eric Lippmann ece6bfe6bb monitoring: Use display_name for displaying the host and service name in the notifications overview
refs #7843
2015-01-21 15:48:45 +01:00
Eric Lippmann 846f391080 monitoring: Select the host and service display_name columns in the notifications overview
refs #7843
2015-01-21 15:48:04 +01:00
Eric Lippmann b05316340c monitoring: Add Link view helper
Most of the monitoring overviews link to detail information, e.g. the full information of the involved monitored
object. Instead of reintroducing link generation and translation in those views, this helper contains most
frequently used jump links.
2015-01-21 15:46:41 +01:00
Eric Lippmann 7621de8ec0 monitoring: Add sort by 'Host' and 'Service' to the downtimes overview
refs #7843
2015-01-21 13:06:32 +01:00
Eric Lippmann d340b0d49d monitoring: Let the data view handle the default ordering in the downtime overview
refs #7843
2015-01-21 12:55:41 +01:00
Eric Lippmann 86cc56afe6 monitoring: Display host and service names using the display_name column in the downtimes overview
refs #7843
2015-01-21 12:53:47 +01:00
Eric Lippmann ab6eed03e5 monitoring: Select the host and service display_name in the downtimes overview
refs #7843
2015-01-21 12:53:26 +01:00
Eric Lippmann 2fdeabd398 monitoring: Escape host and service name, author and comment in the downtimes overview 2015-01-21 10:47:20 +01:00
Eric Lippmann cd03c2164a monitoring: Fix sorting by 'End Time' in the downtimes overview 2015-01-21 10:33:05 +01:00
Eric Lippmann 7ff1948c1a monitoring: Use host and service display_name for displaying host and service names in the eventhistory overview
refs #7843
2015-01-21 10:29:22 +01:00
Eric Lippmann d49c950aac monitoring: Escape host_display_name in the hosts overview 2015-01-21 10:04:59 +01:00
Eric Lippmann bfd1332891 monitoring: Escape host and service display_name in the services overview 2015-01-21 10:04:14 +01:00
Eric Lippmann 9018b36d7a monitoring: Escape hostname, service name and event message in the eventhistory overview 2015-01-21 10:03:14 +01:00
Eric Lippmann e55cf73f34 monitoring: Select the host and service display_name columns in the eventhistory overview
refs #7843
2015-01-21 09:55:41 +01:00
Eric Lippmann 23243d40e3 monitoring: Use host_display_name for displaying the host name in the services overview
refs #7843
2015-01-21 09:42:10 +01:00
Eric Lippmann 3bb5a9c702 monitoring: Select the host_display_name column in the services overview
refs #7843
2015-01-21 09:41:52 +01:00
Eric Lippmann f661713bbb monitoring: Reorder the sort by combobox in the services overview 2015-01-21 09:35:33 +01:00
Eric Lippmann a6ad5ad865 monitoring: Reorder sort column combo box in the hosts overview 2015-01-21 09:30:33 +01:00
Eric Lippmann 9d5dccc484 monitoring: Sort by display_name when sorting by 'Hostname' or 'Service Name' in the services overview
refs #7843
2015-01-21 09:22:44 +01:00
Eric Lippmann fe3bbb712d monitoring: Use host_display_name for displaying the host name in the hosts overview
refs #7843
2015-01-20 16:25:35 +01:00
Eric Lippmann f1ada110f8 monitoring: Select the host_display_name in the hosts overview
refs #7843
2015-01-20 16:23:12 +01:00
Eric Lippmann 9fd90c90cc monitoring: Sort by host_display_name when sorting by 'Hostname' in the hosts overview
refs #7843
2015-01-20 16:22:36 +01:00
Eric Lippmann 0b557b7b29 monitoring: Fix unused local variable 'stateType' in the ListController 2015-01-20 16:14:56 +01:00
Eric Lippmann f5acd0c7b5 monitoring: Remove unused use ... in the ListController 2015-01-20 16:13:05 +01:00
Eric Lippmann ab0910e09b monitoring: Prefer 'Hostname' over 'Host name' 2015-01-20 16:12:10 +01:00
Eric Lippmann 0300a90d14 monitoring: Remove duplicate array key 'host_state' in the ListController 2015-01-20 16:08:47 +01:00
Matthias Jentsch 4dfad963e9 Merge branch 'master' into feature/improve-chart-implementation-7841 2015-01-19 15:15:24 +01:00
Matthias Jentsch 80fc2a32db Improve layout in AlertSummary
Use brighter color for notifications, render hours more readable.
2015-01-19 15:14:09 +01:00
Eric Lippmann 7580d57c1d monitoring: Use the ellipsis string helper when viewing plugin output in host and service list 2015-01-19 14:21:55 +01:00
Matthias Jentsch ab4cbc855f Fix order of setAxisMin calls 2015-01-19 14:20:46 +01:00
Eric Lippmann f56ffd3426 monitoring: Do not strip_tags when viewing service output in the service list
refs #8248
2015-01-19 14:18:46 +01:00
Eric Lippmann 10ebc3432c monitoring: Do not strip_tags when viewing host output in the host list
refs #8248
2015-01-19 14:17:59 +01:00
Matthias Jentsch a456c0434c Add better axis labels to the alert summary chart 2015-01-19 13:58:04 +01:00
Johannes Meyer 7082ebaf7b Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 13:47:01 +01:00
Johannes Meyer 23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838c.
2015-01-19 13:44:16 +01:00
Johannes Meyer 970006838c Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 10:49:02 +01:00
Eric Lippmann 35e090c17e monitoring: Support format query parameters for process/info 2015-01-16 13:12:10 +01:00
Thomas Gelf b5cddc0a4f components/actions: show links if available
Now we show links regardless of whether we have host actions, there
might be hook-provided links only. Renamed "Foreign URLs" to "Actions"
and made it translatable.
2015-01-14 11:50:03 +01:00
Thomas Gelf 0fa31acf5f components/actions: show host action urls if given 2015-01-14 11:02:43 +01:00
Thomas Gelf 0d3131fbd0 host/show: show action urls above perfdata 2015-01-14 11:02:06 +01:00
Thomas Gelf 5e94d65a6c HostController: use host actions hook
refs #8208
2015-01-14 11:01:39 +01:00
Matthias Jentsch be7e3f98e9 Improve testAction
Add charts to test logarithmic scale, use less annoying colors
2015-01-13 18:26:39 +01:00
Matthias Jentsch 1732fa90e8 Fix axisMin in alert summary 2015-01-13 18:24:04 +01:00
Matthias Jentsch debc305789 Add logarithmic AxisUnit
resolves #7845
2015-01-13 17:56:50 +01:00
Matthias Jentsch 5e2594d250 Parse perfdata thresholds provisionary
Use a heuristic to determine whether thresholds should be inverted, to support plugins with non-standard perfdata output while still being able to parse standard-compliant perfdata input.
2015-01-13 10:59:33 +01:00
Matthias Jentsch ec38c0c817 Fix pies in multi views 2015-01-05 11:33:19 +01:00
Matthias Jentsch b5747797b7 Fix perfdata output
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Eric Lippmann ac56cc02ac monitoring: Fix the notifications view script 2014-12-30 11:14:30 +01:00
Eric Lippmann 358efe06de Merge branch 'master' into feature/untranslated-strings-7988 2014-12-30 10:55:42 +01:00
Eric Lippmann c59c0e6cdb monitoring: Remove top bar hook layout
No longer in use.
2014-12-30 10:52:12 +01:00
Eric Lippmann 9c989306d9 monitoring: Count services having comments once in services/show.phtml 2014-12-30 10:48:30 +01:00
Eric Lippmann 2e4e04551d monitoring: Count services in downtime once in services/show.phtml 2014-12-30 10:47:10 +01:00
Eric Lippmann 128f6822f1 monitoring: Count acknowledged services once in services/show.phtml 2014-12-30 10:46:08 +01:00
Eric Lippmann df3d7d2034 monitoring: Count unhandled services once in services/show.phtml 2014-12-30 10:45:24 +01:00
Eric Lippmann a7a99b5856 monitoring: Count hosts once in services/show.phtml 2014-12-30 10:44:22 +01:00
Eric Lippmann 3d95e37b7f monitoring: Count services once in services/show.phtml 2014-12-30 10:43:39 +01:00
Eric Lippmann c28f4284e4 monitoring: Remove the command/* view scripts
They are no longer used.
2014-12-30 10:40:56 +01:00
Eric Lippmann 41ef926fd6 monitoring: Remove the CommandController
The controller is no longer used.
2014-12-30 10:39:33 +01:00
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 e376bd6285 monitoring: Fix that exporting a object's history throws an exception
fixes #6586
2014-12-29 17:54:09 +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 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
Alexander Klimov bdbca6a774 Servicegroups list: improve tooltips
refs #8110
2014-12-19 15:22:21 +01:00
Alexander Klimov 8e6c8c3e0e Hostgroups list: improve tooltips
refs #8110
2014-12-19 15:18:59 +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
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 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 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
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
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
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
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 108f854848 monitoring/list: let filter know special params 2014-11-19 08:11:53 +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
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