Commit Graph

3700 Commits

Author SHA1 Message Date
Eric Lippmann f6e4b0aed0 Respect filter in state links in group overviews
refs #10778
2016-02-27 16:22:44 +01:00
Eric Lippmann 5f8b994d5f Use isIcinga2() in command forms where needed 2016-02-25 17:51:37 +01:00
Eric Lippmann 02eea2ad11 Disable persistent comment checkbox if backend is Icinga 2
refs #11100
2016-02-25 17:51:02 +01:00
Eric Lippmann 863bf08864 Use isIcinga2() in the ToggleInstanceFeaturesCommandForm 2016-02-25 17:48:32 +01:00
Eric Lippmann 47b3019940 Add MonitoringBackend::isIcinga2()
This function is for the many places where we have to distinguish between Icinga 1.x and Icinga 2.x.

refs #11100
2016-02-25 17:45:51 +01:00
Alexander A. Klimov 4751df692d Allow style classes in plugin output
resolves #11062
2016-02-25 17:09:39 +01:00
Eric Lippmann 5a76895105 CSS: Disable :hover transition on tr (WIP)
If any tr is hovered and auto-refresh kicks in, the tr will be hovered again which leads to "flickering".

We should find good a way to use transitions w/o flickering.

refs #11073
2016-02-25 14:52:54 +01:00
Eric Lippmann 43a7ed357a Fix whitespaces in event-history
overview-plugin-output now has white-space: pre-wrap
2016-02-25 11:34:23 +01:00
Eric Lippmann a34f48c990 Fix wrong "Sent out to any contact" notification information 2016-02-25 11:33:43 +01:00
Eric Lippmann f032a670f0 Merge branch 'feature/render-links-in-acknowledgements-comments-and-downtimes-10654'
resolves #10654
2016-02-25 11:31:13 +01:00
Eric Lippmann c834e66b9a Show useful error message if a command transport failed
fixes #10173
2016-02-25 10:36:10 +01:00
Eric Lippmann 102ed40378 Show "Remove problem acknowledgement" in multi-select views
fixes #10469
2016-02-25 10:21:10 +01:00
Eric Lippmann e407f6d116 Merge branch 'bugfix/users-with-no-permissions-can-check-multiple-services-10397'
fixes #10397
2016-02-24 12:42:46 +01:00
Alexander A. Klimov d257c71c54 Respect permission for check now on multiple services
refs #10397
2016-02-24 12:40:00 +01:00
Alexander A. Klimov 23841b635e Respect permission for check now on multiple hosts
refs #10397
2016-02-24 12:39:54 +01:00
Eric Lippmann 35754fbe8e monitoring: Respect whitespace characters in the plugin output in list views
fixes #10786
2016-02-23 16:06:43 +01:00
Eric Lippmann 18e3884b8b monitoring: Fix order of information and actions in the check execution part in the detail area
fixes #10310
2016-02-23 15:41:01 +01:00
Eric Lippmann ff3aa43070 CSS: Set tr background transition only for hover
fixes #11073
2016-02-23 15:40:47 +01:00
Eric Lippmann 7f358ed88d Don't sort a data view on dump when the data view is already sorted 2016-02-23 15:40:40 +01:00
Eric Lippmann bb8478a219 Merge branch 'bugfix/passwords-not-hidden-by-icinga-web-2-10640'
fixes #10640
2016-02-23 15:40:27 +01:00
Eric Lippmann acd2ef709e monitoring: Fix PHPDoc of MonitoredObject::obfuscateCustomVars()
refs #10640
2016-02-23 10:54:47 +01:00
Eric Lippmann 38a752b0ac monitoring: Avoid full stops at the end of comment tooltips
refs #10113
2016-02-22 14:15:35 +01:00
Alexander A. Klimov ce1ed7413d Escape service grid tooltips only once
refs #10277
2016-02-18 11:32:43 +01:00
Alexander A. Klimov c4610ab05d Comments list: display the absolute expire date and time in tooltips
refs #10277
2016-02-18 10:39:52 +01:00
Eric Lippmann 90cd481e84 doc: Use only three backticks for code blocks
refs #10965
2016-02-17 15:26:24 +01:00
Eric Lippmann d183919ca3 doc: Add syntax draft for restricting custom variables
refs #10965
2016-02-17 13:35:48 +01:00
Alexander A. Klimov bd02e5468c PluginOutput helper: use a regex to detect HTML in plugin output
fixes #10366
2016-02-17 11:49:23 +01:00
Alexander A. Klimov af3abb76c8 Render simple HTML links (a[href]) in acknowledgements, comments and downtimes
refs #10654
2016-02-16 14:55:27 +01:00
Alexander A. Klimov b0932d2413 Implement escapeComment helper
refs #10654
2016-02-15 16:26:52 +01:00
Thomas Gelf 601592dbf8 Revert "Fix style issues with long plugin output"
This reverts commit c73ddcff42.

Sorry, break-all is not a solution and looks terrible. Might be used
as a fallback for browsers with buggy hyphens, but not as a default for
every plugin output. No human being wants to read text formatted that
way.

refs #10820
2016-02-15 12:16:29 +01:00
Florian Strohmaier c73ddcff42 Fix style issues with long plugin output
fixes #10820
2016-02-15 11:59:34 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 9bc9b78643 monitoring: Fix Icinga 2 version detection in the toggle object features command form 2016-01-28 14:45:39 +01:00
Eric Lippmann 4df7fdea88 monitoring: Add obsessing to ObjectList::getFeatureStatus() 2016-01-28 14:45:22 +01:00
Eric Lippmann 0a3580cd98 monitoring: Add missing obsessing column in multi-select views 2016-01-28 14:23:27 +01:00
Eric Lippmann 164a61cb84 monitoring: Fix permissions used in the toggle object features command form 2016-01-28 14:23:07 +01:00
Eric Lippmann 32f87284ad PHP7: Fix MySQL and PostgreSQL PDO extension checks
refs #10251
2016-01-28 13:52:31 +01:00
Eric Lippmann 480e357266 monitoring: Fix configuration.php 2016-01-28 12:37:18 +01:00
Eric Lippmann ba9aeada60 monitoring: Introduce granular permissions for toggling object features
No backwards compatibility yet. Will be added if necessary.
2016-01-28 12:29:24 +01:00
Eric Lippmann dee6f4d797 monitoring: Control features for multiple selected hosts
refs #8963
2016-01-27 17:42:51 +01:00
Eric Lippmann e45723c4db monitoring: Control features for multiple selected services
refs #8963
2016-01-27 17:38:31 +01:00
Eric Lippmann 6ad40b5123 monitoring: Introduce ObjectList::getFeatureStatus()
refs #8963
2016-01-27 17:37:34 +01:00
Eric Lippmann 027aaacff8 monitoring: Prepare feature command form for multi-select
refs #8963
2016-01-27 17:37:15 +01:00
Eric Lippmann 16bd78ac30 monitoring: Reduce auto-refresh interval after a command has been submitted 2016-01-27 16:55:34 +01:00
Eric Lippmann 7fd575080e PHP7: Rename String to StringHelper
refs #10251
2016-01-27 16:46:55 +01:00
Eric Lippmann 2e1e0bb89f Setup/Monitoring: Remove obsolete sockets requirement
fixes #10805
2016-01-25 07:32:18 +01:00
Alexander A. Klimov 7bc489ba4d MonitoredObject: obfuscate custom variables recursively
refs #10640
2016-01-22 18:37:27 +01:00
Eric Lippmann bc187d91c5 monitoring: Make inline pie charts accessible 2016-01-22 13:33:22 +01:00
Eric Lippmann bb5017d54d monitoring: Support tab navigation in monitoring health 2016-01-18 12:57:56 +01:00
Eric Lippmann e2ff6b1b5a CSS: Set .action navigation styles in the monitoring module 2016-01-18 12:50:27 +01:00
Eric Lippmann ddae844c2a monitoring: Fix error when listing acks ...
... if the user has no permission to remove acks.
2016-01-18 12:50:27 +01:00
Thomas Gelf e0bec8644f monitoring/actions: adjust action link styling 2016-01-12 12:28:12 +01:00
Thomas Gelf 9f035dd61a Monitoring\Hook: fix service actions 2016-01-12 12:27:21 +01:00
Eric Lippmann 9885d74d24 monitoring: Fix ServiceController::getServiceActions() after changing hook usage 2016-01-12 08:58:32 +01:00
Eric Lippmann fda7ff902a monitoring: Fix error when listing comments ...
... if the user has no permission to delete comments.
2016-01-12 08:52:30 +01:00
Johannes Meyer 1fe1f23031 monitoring: Use class Navigation for hook actions 2016-01-11 17:03:46 +01:00
Eric Lippmann 8b03a647ba Revert "Eventgrid: Fetch the user's filter directly from the URL"
This reverts commit ad20d35e78.

I'm not sure what was intended to achieve w/ this commit.

fixes #10917
2016-01-05 10:59:32 +01:00
Eric Lippmann 353b9da8a5 Bump version to 2.1.2 2015-12-23 14:21:56 +01:00
Eric Lippmann fd609b7098 monitoring: Fix exception when scheduling a downtime for multiple hosts
Introduced w/ the Icinga 2 related change for disabling child options.

fixes #10902
2015-12-22 14:59:48 +01:00
Eric Lippmann 405b768dc2 Bump version to 2.1.1 2015-12-22 14:50:13 +01:00
Alexander A. Klimov 0c107af1f8 Link only to services' downtimes from multi-service detail view
fixes #10170

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-12-22 14:44:04 +01:00
Eric Lippmann 44dd4653ec monitoring: Remove applying restrictions in the detail area when not necessary 2015-12-22 13:00:25 +01:00
Eric Lippmann 7bafab2c68 Merge branch 'bugfix/disable-downtimes-for-child-hosts-w-icinga2-10774'
refs #10744
2015-12-21 13:06:52 +01:00
Eric Lippmann 627680d500 monitoring: Disable triggering downtimes for a host's children when using Icinga 2
The commands are missing in Icinga 2. Once implemented, we have to re-evaluate this.

refs #10744
2015-12-21 13:01:11 +01:00
Eric Lippmann b49cefa45d monitoring: Highlight state in plugin output in the detail area
refs #10670
2015-12-21 12:25:24 +01:00
Eric Lippmann c5804eebb7 Merge branch 'bugfix/sort-hosts-and-services-by-last-state-change-9957'
fixes #9957
2015-12-21 10:34:20 +01:00
Eric Lippmann d7eaa41ab4 Move sort services by last state change up in the sort by list
refs #9957
2015-12-21 10:33:21 +01:00
Eric Lippmann 11e7d1050f Merge branch 'bugfix/line-breaks-in-comments-10603'
fixes #10603
2015-12-21 09:39:12 +01:00
Eric Lippmann 2766b1ba0c monitoring: Fix table class in downtimes-header.phtml 2015-12-21 09:29:52 +01:00
Alexander A. Klimov 2624c7f328 Sort hosts and services descending by last state change
refs #9957
2015-12-18 15:50:57 +01:00
Alexander A. Klimov 3e36563a81 Make hosts and services sortable by last state change
refs #9957
2015-12-18 15:48:55 +01:00
Alexander A. Klimov 7d5c15469e Revert "Servicegroup listing: preserve URL params in links to services lists"
This reverts commit 0f7707e8a1.
2015-12-16 13:57:44 +01:00
Alexander A. Klimov 9e6ec12a10 Revert "Hostgroup listing: preserve URL params in links to hosts and services lists"
This reverts commit a63bc649f7.
2015-12-16 13:57:41 +01:00
Alexander A. Klimov a63bc649f7 Hostgroup listing: preserve URL params in links to hosts and services lists 2015-12-16 13:31:50 +01:00
Alexander A. Klimov 0f7707e8a1 Servicegroup listing: preserve URL params in links to services lists
fixes #10778
2015-12-16 13:23:09 +01:00
Eric Lippmann d6431119e9 monitoring: Use View::nl2br() for the downtime detail view
refs #10603
2015-12-16 13:05:32 +01:00
Eric Lippmann 8006090108 Merge branch 'feature/theming-10705'
resolves #10705
2015-12-16 12:49:11 +01:00
Alexander A. Klimov aad7baa5c4 Perfdata::getPercentage(): prevent division by integer 0
fixes #10331
2015-12-15 17:32:45 +01:00
Eric Lippmann 8800decc69 Use icinga-blue like background colors for active and hovered table rows 2015-12-15 13:32:56 +01:00
Eric Lippmann 707b954534 CSS: Add smooth transition on tr hover 2015-12-15 13:31:14 +01:00
Eric Lippmann b193ea5d32 Fix print styles 2015-12-10 13:34:53 +01:00
Eric Lippmann ee7576f320 monitoring: Fix thead missing tr in hostgroups 2015-12-10 13:34:53 +01:00
Eric Lippmann a1bb4bb695 Merge branch 'master' into feature/theming-10705 2015-12-07 14:17:57 +01:00
Eric Lippmann 6065e21e3a Remove ConfigForm::getValues() overrides where subform values are extracted manually 2015-11-26 15:40:10 +01:00
Pieter Lexis d2e802ed19 Correct spelling of acknowledgment
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-26 12:29:17 +01:00
Eric Lippmann c88d034877 monitoring: Fix HTMLPurifier includes
fixes #10338
2015-11-26 11:16:21 +01:00
Johannes Meyer 7c6471da86 Action: Return the new url if it has been resolved
This was already part of the 2.0 release, but was working however. Got
revealed by a restructuring commit a few weeks ago.

fixes #10702
2015-11-23 10:34:46 +01:00
Eric Lippmann 216d1e71e8 CSS: Add smooth transition on tr hover 2015-11-20 15:49:15 +01:00
Eric Lippmann 9c467ebfa3 monitoring: Use View::nl2br() for downtimes in the detail area
refs #10603
2015-11-20 15:48:23 +01:00
Eric Lippmann 8d9c0ca69e monitoring: Update comment-list styles in components/downtime.phtml 2015-11-20 15:48:00 +01:00
Eric Lippmann 7858343605 monitoring: Select comment_is_persistent for comments in the detail area 2015-11-20 15:47:04 +01:00
Eric Lippmann 74b715e3d2 monitoring: Use View::nl2br() for comments in the detail view
refs #10603
2015-11-20 15:46:34 +01:00
Eric Lippmann 2c5defed5b monitoring: Update comment-list styles in components/comments.phtml 2015-11-20 15:46:08 +01:00
Eric Lippmann a874a2cb2e monitoring: Use View::nl2br() for acknowledgements in the detail area
refs #10603
2015-11-20 15:44:33 +01:00
Eric Lippmann e1433505b3 monitoring: Update comment-list styles in acknowledgement.phtml 2015-11-20 15:43:29 +01:00
Eric Lippmann d5affb1e24 monitoring: Use common-table for the downtime overview too 2015-11-20 15:35:35 +01:00
Eric Lippmann ea03f4033b monitoring: Use View::nl2br() in the downtime overview
refs #10603
2015-11-20 15:34:48 +01:00
Eric Lippmann a6338fc744 monitoring: Update comment-list styles in the downtimer overview 2015-11-20 15:34:18 +01:00
Eric Lippmann 24d43899a7 monitoring: Use View::nl2br() and new comment-list style in the comment overview
refs #10603
2015-11-20 15:18:29 +01:00
Eric Lippmann b3587b7439 monitoring: Don't use pull-right in the comment overview for the show more link
Further, indent the view script w/ 4 spaces, remove class separated and don't render the table if there are no comments.
2015-11-20 15:16:03 +01:00
Eric Lippmann 8d5da9bb86 CSS: Simplify comment-list style 2015-11-20 15:13:01 +01:00
Eric Lippmann fad52e0929 Update version 2015-11-16 15:34:47 +01:00
Eric Lippmann 96674cd895 Don't translate service and services to german 2015-11-16 15:16:13 +01:00
Eric Lippmann a9628a55cf Update german monitoring translation 2015-11-16 15:11:42 +01:00
Cornelius Wachinger c764a0a319 Update german monitoring translation 2015-11-16 14:50:36 +01:00
Yuri Konotopov e606d8eaca Update Russian translation
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-16 14:40:18 +01:00
Eric Lippmann ba62753285 monitoring: Fix exception if the comment of an acknowledgement is missing
refs #10505
2015-11-16 14:35:48 +01:00
Cornelius Wachinger 0e1d33710a Update german monitoring translation (WIP) 2015-11-16 13:10:43 +01:00
Eric Lippmann 8f73437699 monitoring: Fix English
refs #5543
2015-11-16 12:20:39 +01:00
Davide Demuru 1b6f1d812e Update Italian translation
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-16 12:11:04 +01:00
Eric Lippmann d293506c1b monitoring: Fix controls positioning 2015-11-16 10:24:52 +01:00
Eric Lippmann 61930a4b1b monitoring: Fix custom variables alignment 2015-11-16 10:22:30 +01:00
Eric Lippmann 27f2d485f5 monitoring: Change hover color for links w/ border-bottom 2015-11-16 10:21:48 +01:00
Thomas Gelf b643c97fb0 IdoQuery: pass ourselves to hook, not back to us 2015-11-13 18:01:39 +01:00
Thomas Gelf fd7165329a IdoQuery: provide ourselves to the hook 2015-11-13 17:37:03 +01:00
Thomas Gelf cd16206c7e IdoQuery: fix typo 2015-11-13 17:37:03 +01:00
Thomas Gelf 2589fbcf04 IdoQuery::joinHookedVirtualTable: missing method 2015-11-13 17:37:03 +01:00
Thomas Gelf b7352105d2 IdoQueryExtensionHook: "just a new hook" 2015-11-13 17:37:03 +01:00
Thomas Gelf 6394cec933 DataviewExtensionHook: return fetched columns 2015-11-13 17:37:03 +01:00
Thomas Gelf 0e709d5469 DataViewHost/Servicestatus: use hooked columns 2015-11-13 17:37:02 +01:00
Thomas Gelf ff2c96e553 DataviewExtensionHook: we always want an array
This way implementors do not need to care
2015-11-13 17:37:02 +01:00
Thomas Gelf 35d3342b05 DataviewExtensionHook: just a new hook 2015-11-13 17:37:02 +01:00
Thomas Gelf f3cb1f915d Monitoring/DataView: allow to hook in columns 2015-11-13 17:37:02 +01:00
Thomas Gelf dc3c787446 Compat Hooks: fix c&p error 2015-11-13 17:37:02 +01:00
Thomas Gelf e6903b3834 Monitoring\Hook: moved from Monitoring\Web\Hook
refs #10613
2015-11-13 17:37:02 +01:00
Johannes Meyer d321b2de79 Merge branch 'master' into bugfix/hot-all-hostgroups-are-shown-10316 2015-11-13 15:37:53 +01:00
Eric Lippmann d5fe0c9610 Merge branch 'feature/dope-layout-5543#2' 2015-11-13 15:21:07 +01:00
Eric Lippmann 30c769f267 monitoring: Fix service grid style
refs #5543
2015-11-13 14:50:58 +01:00
Johannes Meyer 26e6acf9af ListController: Fix servicegrid grouping when applying group restrictions #2
PostgreSQL had still issues with it. Quickfix only, again.

refs #10316
2015-11-13 14:42:28 +01:00
Bernd Erk 39aa888131 Adds new about page and dotted bottom lines in detail 2015-11-13 13:57:09 +01:00
Johannes Meyer 5e37f7758b ServicecommenthistoryQuery: Add missing group origin "servicegroups"
refs #10316
2015-11-13 12:55:06 +01:00
Johannes Meyer 005ec27cea IdoQuery: Fix method isTimestamp() not handling customvars properly
refs #10316
2015-11-13 12:13:02 +01:00
Johannes Meyer cc37ca37d9 ListController: Fix servicegrid grouping when applying group restrictions
Quickfix only.

refs #10316
2015-11-13 11:40:51 +01:00
Bernd Erk 3e93d62795 Redesign of tactical overview to get ready for full screen 2015-11-13 00:24:15 +01:00
Johannes Meyer 140e288c0b IdoQuery: Fix incorrect GROUP BY for MySQL SELECTs with joined columns
refs #10316
2015-11-12 16:02:41 +01:00
Eric Lippmann eb8cc21cae monitoring: Fix button links in the config overview
refs #5543
2015-11-12 15:50:10 +01:00
Eric Lippmann f54441a0b4 monitoring: Fix alignment in the backend config form
refs #5543
2015-11-12 15:49:05 +01:00
Eric Lippmann 37928df897 monitoring/CSS: Move custom-variables styles to tables.less
refs #5543
2015-11-12 11:41:14 +01:00
Eric Lippmann 77e797db88 monitoring/CSS: Fix spacing of state summaries
refs #5543
2015-11-12 11:40:32 +01:00
Eric Lippmann 840ecf681e monitoring: Fix missing columns when selecting multiple services
refs #5543
2015-11-12 11:36:49 +01:00
Eric Lippmann a12cc9ab30 monitoring/CSS: Don't set class sparkline-perfdata
Class not in use.

refs #5543
2015-11-12 09:45:35 +01:00
Eric Lippmann 42a3ecea6f CSS: Move sparkline styles to monitoring module
refs #5543
2015-11-12 09:44:22 +01:00
Eric Lippmann 2829516735 monitoring/CSS: Fix performance-data-table th padding
refs #5543
2015-11-12 09:43:55 +01:00
Johannes Meyer 89d8126226 Revert "Fix grouping of host- and servicegroup queries"
This reverts commit 35c7ed81a7.
2015-11-12 09:26:11 +01:00
Johannes Meyer 689cae8701 Merge branch 'master' into bugfix/hot-all-hostgroups-are-shown-10316 2015-11-12 09:23:49 +01:00
Johannes Meyer 651ce0bd04 Merge branch 'master' into bugfix/pgsql-queries-apply-lower-on-select-columns-10364 2015-11-12 09:18:06 +01:00
Thomas Gelf cbd1629176 DataView/Host|ServiceStatus: allow hard_state cols 2015-11-11 17:13:41 +01:00
Johannes Meyer 39f4d869b7 IdoQuery: Fix that PostgreSQL queries do not apply LOWER() on order cols
refs #10364
refs #9955
2015-11-11 15:25:40 +01:00
Eric Lippmann 6a5efd560d monitoring/CSS: Style pie charts in the service overview
refs #5543
2015-11-11 15:23:10 +01:00
Eric Lippmann 040425d9e2 monitoring/CSS: Style performance-data-table
refs #5543
2015-11-11 15:22:35 +01:00