Commit Graph

1613 Commits

Author SHA1 Message Date
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 30eed015ba monitoring: Support selecting host group and service group alias in the GroupsummaryQuery
refs #8266
2015-01-23 11:21:29 +01:00
Eric Lippmann 74a0c1e274 monitoring: Support selecting host group and service group alias in the HoststatusQuery
refs #8266
2015-01-23 11:21:10 +01:00
Eric Lippmann e15c085f19 monitoring: Support selecting host group and service group alias in the StatusQuery
refs #8266
2015-01-23 11:20:35 +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 5ac1eaa513 monitoring: Fix indents in the GroupsummaryQuery 2015-01-23 11:11:34 +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 4226f06d5d monitoring: Remove unused variable in the MonitoredObjectController 2015-01-22 17:28:33 +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 ba7818db5f monitoring: Restrict delete downtime and delete comment to HTTP POST 2015-01-22 15:49:40 +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 fecdab9463 monitoring: Provide permission for processing host and service check results 2015-01-22 13:50:55 +01:00
Eric Lippmann 9c47b2d949 monitoring: Fix permission description for 'monitoring/command/schedule' 2015-01-22 13:46:32 +01:00
Johannes Meyer afd58d52bf Merge branch 'master' into feature/more-intuitive-module-installation-8191 2015-01-22 13:33:45 +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 1aa91f0228 monitoring: Select host and service display_name for an object's history
refs #7843
2015-01-22 10:57:15 +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 4539462bc7 monitoring: Select host_display_name in the host and service object
refs #7843
2015-01-22 10:34:35 +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 3055531e2d monitoring: Support sorting by host and service display name in the Comment data view
refs #7843
2015-01-21 16:15:09 +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 94be58e121 monitoring: Support host and service display_name columns in the Comment data view
refs #7843
2015-01-21 16:09:36 +01:00
Eric Lippmann a91a2eba68 monitoring: Support host and service display_name columns in the CommentQuery
refs #7843
2015-01-21 16:09:13 +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 ad879b1ee6 monitoring: Select the host and service display_name columns in the Notification data view
refs #7843
2015-01-21 15:47:36 +01:00
Eric Lippmann d8b1e63231 monitoring: Support host and service display_name in the NotificationQuery
refs #7843
2015-01-21 15:47:10 +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
Johannes Meyer 96390d34bf Enable modules as part of the main installation routine
refs #8191
2015-01-21 15:03:34 +01:00
Eric Lippmann 0bcca651b2 monitoring: Remove useless PHPDoc in the NotificationQuery 2015-01-21 13:12:26 +01:00
Johannes Meyer 1f6a81aefb Add Wizard::skipPage()
Required to not to duplicate code in custom wizards and to avoid errors
when detecting the direction.

refs #8191
2015-01-21 13:07:08 +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 91b7c31cda monitoring: Support sorting downtimes by host and service display_name
refs #7843
2015-01-21 13:06:03 +01:00
Eric Lippmann 5862fc98a5 monitoring: Sort by 'downtime_scheduled_start' too when sorting by 'Is In Effect' 2015-01-21 12:58:46 +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 5f0b809619 monitoring: Support host and service display_name columns in the Downtime data view
refs #7843
2015-01-21 12:52:58 +01:00
Eric Lippmann 85aa447516 monitoring: Support host and service display_name in the DowntimeQuery
refs #7843
2015-01-21 12:52:29 +01:00
Eric Lippmann d528ddc641 monitoring: Fix that host_display_name is NULL when the object is a service in the evenhistory overview
refs #7843
2015-01-21 12:51:47 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +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 e881a0de33 monitoring: Remove useless PHPDoc in the DowntimeQuery 2015-01-21 10:35:10 +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 3e702ac255 monitoring: Support host and service display_name in the EventHistory data view
refs #7843
2015-01-21 10:28:21 +01:00
Eric Lippmann 25c2e99122 monitoring: Fix duplicate array key 'service_description' in the EventHistoryQuery 2015-01-21 10:26:12 +01:00
Eric Lippmann aa976c4198 monitoring: Support host and service display_name in the EventHistoryQuery
This adds two left joins to the query when selecting host_display_name and service_display_name.
If performance suffers badly, we have to evaluate whether to support the display_name column for displaying
the host and service name in the eventhistory overview.

refs #7843
2015-01-21 10:24:24 +01:00
Eric Lippmann 1bba0b3d0f monitoring: Fix coding style in the EventHistoryQuery 2015-01-21 10:15:58 +01:00
Eric Lippmann 7d967d25b3 monitoring: Fix code style in the StatehistoryQuery 2015-01-21 10:12:14 +01:00
Eric Lippmann 10571c3178 monitoring: Fix duplicate array key 'service_description' in the StatehistoryQuery 2015-01-21 10:10:07 +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 c77996d5b9 monitoring: Sort the services overview by service severity by default 2015-01-21 09:37:45 +01:00
Eric Lippmann eb6591c176 Merge branch 'master' into bugfix/prefer-display_name-over-name1-name2-7843 2015-01-21 09:36:41 +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 5df6828889 monitoring: Remove ununsed sort rule in the ServiceStatus 2015-01-21 09:31:38 +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