Eric Lippmann
4fc8850e25
Use transplatePlural for hosts in downtime and hosts having comments tooltips
...
refs #8110
2015-02-02 16:48:13 +01:00
Eric Lippmann
942d55c0d4
Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
2015-02-02 16:37:03 +01:00
Johannes Meyer
a5fe9a1fe1
Revert "Introduce link target "_right" to keep a column with tabs rightmost"
...
This reverts commit 618ab4f4b9
.
2015-02-02 16:34:29 +01:00
Johannes Meyer
9df2430cbe
Remove redundant help message when scheduling host/service checks
2015-02-02 16:31:57 +01:00
Johannes Meyer
5382f73c53
Drop all old object- and command-view scripts
2015-02-02 16:31:25 +01:00
Johannes Meyer
8b377cd651
Use the new command-view scripts
2015-02-02 16:30:52 +01:00
Johannes Meyer
2e99e476fe
Use the new object-view scripts
2015-02-02 16:28:35 +01:00
Johannes Meyer
afa3431aed
Introduce new object- and command-view scripts
...
Represents how we plan to handle view scripts that are re-usable. Should
supersede all <action>/component/* view scripts in the upcoming future.
2015-02-02 16:26:55 +01:00
Eric Lippmann
bfb2f710a1
monitoring: Fix exception in the alert summary report when using the "One month" interval
...
fixes #8220
2015-02-02 14:28:47 +01:00
Eric Lippmann
cf944a7daf
monitoring: Show close button when removing a backend
2015-02-02 11:07:01 +01:00
Eric Lippmann
a62acb4a82
monitoring: Show close button when updating a backend
2015-02-02 11:06:40 +01:00
Eric Lippmann
42fe7079ee
monitoring: Show close button when creating an instance
2015-02-02 11:06:20 +01:00
Eric Lippmann
cbc1a0313a
monitoring: Show close button when creating a backend
2015-02-02 11:05:50 +01:00
Eric Lippmann
d7cbfebbd0
monitoring: Show close button when removing an instance
2015-02-02 11:05:32 +01:00
Eric Lippmann
734c7b3546
monitoring: Show close button when updating an instance
2015-02-02 11:04:41 +01:00
Eric Lippmann
ad4ebf8fa5
monitoring: Fix that selecting a hostgroup displays its services instead of its hosts
...
fixes #8273
2015-02-01 23:30:48 +01:00
Eric Lippmann
127ce7abfe
monitoring/security: Fix that toggling instance features is always disabled
...
In HTML5 the presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.
In Zend we have to set null for the absence of the attribute and the empty string for the
presence of the attribute.
2015-01-30 10:47:02 +01:00
Eric Lippmann
1681f746c1
monitoring/security: Disable toggling object features if user lacks the permission monitoring/command/feature/object
2015-01-30 10:46:24 +01:00
Eric Lippmann
bdc637ff67
monitoring/security: Guard toggling object features
...
Toggling object features will only be possible if the user has the permission monitoring/command/feature/object.
2015-01-30 10:31:49 +01:00
Alexander Klimov
868295110a
Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
...
Conflicts:
modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Eric Lippmann
35b33647cf
monitoring/security: Guard the link for disabling notifications on an instance-wide basis
...
The link in the monitoring health view will only be shown if the user has the permission monitoring/command/feature/instance.
2015-01-30 10:26:43 +01:00
Eric Lippmann
3716be4a48
monitoring/security: Disable toggling instance features if user lacks the permission monitoring/command/feature/instance
2015-01-30 10:01:03 +01:00
Eric Lippmann
7dbb8c6841
monitoring/security: Require monitoring/command/feature/instance permission for toggling instance features
2015-01-30 09:58:10 +01:00
Eric Lippmann
d19e36d937
monitoring/security: Require monitoring/command/feature/instance permission for disabling notifications
2015-01-30 09:57:31 +01:00
Johannes Meyer
618ab4f4b9
Introduce link target "_right" to keep a column with tabs rightmost
...
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..
refs #6436
2015-01-28 14:21:06 +01:00
Johannes Meyer
c19ff289bf
Open command forms in the same column where their link is located
...
refs #8279
2015-01-28 13:02:37 +01:00
Johannes Meyer
6fde4eec30
Show all tabs except "Add to Dashboard" when issuing a command
...
refs #8279
2015-01-28 12:50:29 +01:00
Eric Lippmann
49b82af704
monitoring/security: Apply services/filter restriction in the service detail view
2015-01-27 14:57:54 +01:00
Eric Lippmann
49d4d74dbb
monitoring/security: Apply hosts/filter restriction in the host detail view
2015-01-27 14:57:22 +01:00
Eric Lippmann
3cbafe16f6
monitoring/security: Move applyRestriction() to the module's base controller
2015-01-27 14:22:37 +01:00
Eric Lippmann
f37cd0cb95
monitoring/security: Apply hosts restriction in the hosts overview
2015-01-27 13:51:15 +01:00
Eric Lippmann
c8084dde92
monitoring/security: Apply services restriction in the services overview
2015-01-27 13:49:51 +01:00
Eric Lippmann
08795e7cf4
monitoring/security: Expect restriction name in ListController::applyRestriction()
...
Before, the restriction was hard coded to 'monitoring/filter'.
This restriction will be removed because we can not use the very same filter for all views.
2015-01-27 13:33:52 +01:00
Alexander Klimov
fccc2ffbcf
Hosts list: use $this->translatePlural()
2015-01-26 14:17:48 +01:00
Alexander Klimov
f0784caaad
Hosts view: show object amounts in titles
2015-01-26 14:09:39 +01:00
Eric Lippmann
555ab77c3d
Fix "Undefined property: stdClass::$service_display_name" in the alert summary
...
fixes #8284
2015-01-26 13:42:05 +01:00
Eric Lippmann
53a4f10253
monitoring: Sort host groups and service groups by their alias
...
refs #7843
2015-01-23 15:47:18 +01:00
Eric Lippmann
86ac09d7b1
monitoring: Use the service group alias for displaying service group names in the servicegroups overview
...
refs #8266
2015-01-23 11:24:39 +01:00
Eric Lippmann
7e05de1255
monitoring: Select the service group alias in the servicegroups ovweview
...
refs #8266
2015-01-23 11:23:59 +01:00
Eric Lippmann
9fe720e715
monitoring: Escape the service group name in the servicegroups overview
2015-01-23 11:23:42 +01:00
Eric Lippmann
257186fb92
monitoring: Use hostgroup alias for displaying the host group's name in the hostgroups overview
...
refs #8266
2015-01-23 11:22:35 +01:00
Eric Lippmann
42071118af
monitoring: Select hostgroup_alias in the hostgroups overview
...
refs #8266
2015-01-23 11:22:20 +01:00
Eric Lippmann
b54564eb5c
monitoring: Escape the host group's name in the hostgroups overview
2015-01-23 11:20:00 +01:00
Eric Lippmann
3cb2dd0e8b
monitoring/security: Hide 'Acknowledge' link if user lacks the respective permission
2015-01-23 11:01:47 +01:00
Eric Lippmann
08e8d5d742
monitoring/security: Hide 'Process check result' link if user lacks the respective permission
2015-01-23 10:48:21 +01:00
Eric Lippmann
2535d802b1
monitoring: Add missing td closing tag
2015-01-23 10:45:10 +01:00
Eric Lippmann
27c1500295
monitoring: Do not translate brackets
2015-01-23 10:41:42 +01:00
Eric Lippmann
a166234e6d
monitoring/security: Hide 'Reschedule check' link if user lacks the respective permission
2015-01-23 10:40:48 +01:00
Eric Lippmann
af2698b075
monitoring: Do not generate 'Schedule downtime' and 'Add comment' links if user lacks the respective permissions
2015-01-23 10:15:55 +01:00
Eric Lippmann
d07e1329e8
monitoring: Use nl2br instead of str_replace for downtime comment and comment text
2015-01-23 09:45:43 +01:00
Eric Lippmann
f47dae1092
monitoring/security: Hide 'Schedule downtime' link if user lacks the respective permission
2015-01-23 09:43:16 +01:00
Eric Lippmann
67be1b329b
monitoring/security: Hide 'Add comment' link if user lacks the respective permission
2015-01-23 09:41:06 +01:00
Eric Lippmann
bd65f4d50a
monitoring/security: Hide delete comment action in the comments overview if user lacks the respective permission
2015-01-23 09:18:29 +01:00
Eric Lippmann
ac5ac10feb
monitoring/security: Hide delete downtime action in the downtimes overview if user lacks the respective permission
2015-01-23 09:16:30 +01:00
Eric Lippmann
5967d5fe04
monitoring/security: Hide delete downtime action if user lacks the respective permission
2015-01-22 17:35:34 +01:00
Eric Lippmann
a19c155d9f
monitoring/security: Hide delete comment action if user lacks the respective permission
2015-01-22 17:33:20 +01:00
Eric Lippmann
f46a587266
monitoring/security: Hide 'Remove Problem Acknowledgement' action if user lacks the respective permission
2015-01-22 17:25:30 +01:00
Eric Lippmann
a09ba15859
monitoring/security: Hide 'Check Now' action if user lacks the respective permission
2015-01-22 17:13:35 +01:00
Eric Lippmann
9a59f3529c
monitoring: Group permissions by topic where it makes sense, i.e. downtime and comment
2015-01-22 16:56:00 +01:00
Eric Lippmann
251030e1d8
monitoring: Rename remove-downtime to delete-downtime
2015-01-22 16:03:22 +01:00
Eric Lippmann
3d7b375ab4
Security: Require permissions for executing common service commands
2015-01-22 15:23:02 +01:00
Eric Lippmann
44718e5012
Security: Require permissions for executing common host commands
2015-01-22 15:22:20 +01:00
Johannes Meyer
6845480b5f
Fix that strtoupper can't handle non ascii chars
...
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.
fixes #8163
2015-01-22 14:37:07 +01:00
Johannes Meyer
78a6937c22
Drop Zend_View_Helper_MonitoringState
...
It's not required anymore... finally.
2015-01-22 14:37:07 +01:00
Eric Lippmann
f4f50fde3c
monitoring: Remove _RenderServicePerfdata view helper
...
This helper is not used anywhere.
2015-01-22 14:12:02 +01:00
Eric Lippmann
8bd56f4387
monitoring: Use the Link helper in the eventhistory overview
2015-01-22 10:58:16 +01:00
Eric Lippmann
4589621f58
monitoring: Use host and service display_name for displaying host and service names for an object's history
...
refs #7843
2015-01-22 10:57:44 +01:00
Eric Lippmann
d1715c8ec6
monitoring: Escape event message in an object's event history
2015-01-22 10:45:14 +01:00
Eric Lippmann
a1f4d124b4
monitoring: Prefer <br> over <br /> in components/header.phtml
2015-01-22 10:36:44 +01:00
Eric Lippmann
9e5d7f43ff
monitoring: Show host_name in the detail area too if it's different from the display_name
...
refs #7843
2015-01-22 10:36:02 +01:00
Eric Lippmann
3d306c0a06
monitoring: Use display_name for displaying the host name in the detail area
...
refs #7843
2015-01-22 10:35:06 +01:00
Eric Lippmann
e61edaaffb
monitoring: Show service_description in the detail area too if it's different from the display_name
...
refs #7843
2015-01-22 10:30:55 +01:00
Eric Lippmann
ed7dc1beb6
monitoring: Use display_name when displaying the service name in the detail area
...
refs #7843
2015-01-22 10:29:57 +01:00
Eric Lippmann
98acc9166a
monitoring: Fix coding style in components/header.phtml
2015-01-22 10:24:44 +01:00
Eric Lippmann
d064b0ac79
monitoring: Rename $showService to $isService in the header view script
...
Most views use $isService to set whether we are about to show a service.
2015-01-21 17:29:31 +01:00
Eric Lippmann
6be0224d9d
monitoring: Add sort by 'Host' and 'Service' in the comments overview
...
refs #7843
2015-01-21 16:15:38 +01:00
Eric Lippmann
cf391b056c
monitoring: Use display_name for displaying the host and service names in the comments overview
...
refs #7843
2015-01-21 16:12:37 +01:00
Eric Lippmann
e933b9174c
monitoring: Select the host and service display_name columns in the comments overview
...
refs #7843
2015-01-21 16:10:02 +01:00
Eric Lippmann
9b7e67919f
monitoring: Use host and service icons in the notifications overview
2015-01-21 15:59:20 +01:00
Eric Lippmann
439052ad97
monitoring: Use the link helper in the downtimes overview
2015-01-21 15:56:58 +01:00
Eric Lippmann
423e4c55a8
monitoring: Use the ellipsis view helper in the notifications overview
2015-01-21 15:52:24 +01:00
Eric Lippmann
cbbd811adb
monitoring: Do not strip_tags in the notifications overview
2015-01-21 15:51:14 +01:00
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