Commit graph

104 commits

Author SHA1 Message Date
Johannes Meyer
6e11b725a3 IcingadbGraphs: Use ipl\Web\Widget\EmptyState instead 2023-09-21 13:35:36 +02:00
Johannes Meyer
4a7dc5af90 Utilize ipl\Web\Url::setFilter() where applicable 2023-09-01 17:23:51 +02:00
Yonas Habteab
828171cf03 Preserve format reqeust param 2023-09-01 13:20:12 +02:00
raviks789
bfb6e75e51 Remove IcingadbGraphiteController::createSortControl, createLimitControl and createPaginationControl methods 2023-09-01 13:02:25 +02:00
Yonas Habteab
7de29c7597 Cast args explicitly to int 2023-08-30 13:33:36 +02:00
Yonas Habteab
d3553d557d Cast args explicitly to string 2023-08-30 13:33:36 +02:00
Eric Lippmann
3377399b40 Handle explicit width via JS and not via inline CSS
If the width of a graph has been explicitly defined in a template, it
must be handled specially: In detail areas, the image must not be scaled
to 100% and in the other views, it must not exceed the width of the
parent container. So far, this has been achieved using inline styles,
which must be avoided to support strict CSP.
2023-07-03 11:49:52 +02:00
raviks789
c7abdfa0f3 Fix PHP 8.2 support issues 2023-06-28 11:30:02 +02:00
Johannes Meyer
aaff1c3f58 Don't parse new filters with the legacy implementation 2023-06-15 14:24:25 +02:00
Eric Lippmann
173e740dee Fix code style 2022-09-19 09:51:37 +02:00
raviks789
eb959fda73 Use Icinga\Web\Controller as the base class for MonitoringAwareController instead of Icinga\Module\Monitoring\Controller
Graphite module should work also when monitoring module is not installed. Hence the `MonitoringAwareController` which is the
base class for `ListController` and `MonitoringGraphController`should not use `Icinga\Module\Monitoring\Controller` as its
base class (use class `Icinga\Web\Controller` instead).

Add the required methods in `Icinga\Module\Monitoring\Controller` directly to `MonitoringGraphController`.
2022-08-24 14:21:35 +02:00
Daniel Heule
9e1438779e fix for graph height and width declared in template 2022-08-24 13:52:27 +02:00
Yonas Habteab
a0919886a1 Adjust usage of object->checkcommand everywhere 2022-06-10 10:54:32 +02:00
Sukhwinder Dhillon
10c7378b06
Make graphite path wildcards work (#267) 2022-03-22 11:41:49 +01:00
Sukhwinder Dhillon
4607ec762f IcingadbGraphite|MonitoringAwareController: Add $useIcingadbAsBackend property 2022-03-17 11:31:43 +01:00
Sukhwinder Dhillon
db1ddccb78 IcingadbGraphs.php: Use BaseFilter and remove unused properties 2022-03-17 11:31:18 +01:00
Sukhwinder Dhillon
000c97d7f4 Use BaseFilter for url and remove redudant methods 2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
95b02a0166 Hosts|ServicesController: Extend IcingadbGraphiteController 2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
dc6c3718a8 Add class IcingadbGraphiteController 2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
aa0f33df1f IcingadbHost|Service: Add missing property $objectType 2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
1d13b16592 MonitoringAwareController: Don't initialize the monitoring backend if not required
If icingadb is set as backend, monitoring backend is not needed.
2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
1dc0ad9e1a Add class IcingadbHost.php and IcingadbService.php 2022-03-11 15:23:29 +01:00
Sukhwinder Dhillon
9599bb9f15 Add class IcingadbGraphs.php 2022-03-11 15:23:29 +01:00
Sukhwinder Dhillon
428ec4aa87 Make existing classes icingadb compatible 2022-03-11 15:18:23 +01:00
Johannes Meyer
3855d2b29f Make graphs themeable 2022-03-08 10:51:38 +01:00
Johannes Meyer
53030137b3 GraphImage: Pass a chart's colors to graphite 2022-03-07 18:08:44 +01:00
Johannes Meyer
ba57144550 TimeRangePickerTrait: Disable autorefreshes while open
fixes #232
2022-03-07 13:44:01 +01:00
Johannes Meyer
aff4079986 Don't perform static calls on traits 2022-01-14 11:32:00 +01:00
Johannes Meyer
53743669ec Fix style issues 2021-04-08 15:31:09 +02:00
Virsacer
7a89e9797a Skip missing template metrics 2020-09-30 18:44:04 +02:00
Alexander A. Klimov
ba1ed24287 Make all macros used in a template's metrics filters available in its functions, too
refs #187
2020-09-22 17:26:53 +02:00
Florian Strohmaier
8f1715a1ea TimePickerTrait: Change Custom Form flyout icon
refs #215
2019-08-22 14:50:34 +02:00
Florian Strohmaier
7649aab400 TimeRangePickerTrait: Add container class
refs #215
2019-08-22 14:46:28 +02:00
Florian Strohmaier
553ade1d0a TimeRangePickerTrait: Wrap form in .flyover-content div 2019-07-09 16:03:53 +02:00
Alexander A. Klimov
015044d283 Detail view extension: actually load at most two graphs
refs #202
2019-03-04 14:49:17 +01:00
Alexander A. Klimov
33963cf3b2 Serve dummy images inline
refs #185
2019-01-18 15:58:14 +01:00
Alexander A. Klimov
25c11d2e9f PDF export: fix elephant oversight 2018-08-27 10:08:57 +02:00
Alexander A. Klimov
9d0f582dbb Fix wrong method of request to Graphite Web
refs #173
2018-08-07 09:20:38 +02:00
Alexander A. Klimov
15a7ae49f0 Render graphs inline while exporting PDF 2018-08-03 17:14:15 +02:00
Alexander A. Klimov
ac3bae242e Chart: outsource image rendering 2018-08-03 13:30:49 +02:00
Alexander A. Klimov
3b8d36a807 Metric paths: support all monitored object core attributes provided by the monitoring module
refs #145
2018-07-18 15:37:58 +02:00
Alexander A. Klimov
369a9db684 Generalize graphs widget
refs #145
2018-06-04 16:03:30 +02:00
Alexander A. Klimov
0b08157418 Limit graphs loaded by default per monitored object
refs #160
2018-04-06 16:35:02 +02:00
Alexander A. Klimov
5cd758eca5 Fix wrong debug message 2018-04-04 09:31:20 +02:00
Alexander A. Klimov
a9db19adab Implement optional graphs assembling debugging
refs #150
2018-03-28 18:01:48 +02:00
Alexander A. Klimov
5438bab99b Link to the config form in case of a config error 2018-03-21 10:23:12 +01:00
Alexander A. Klimov
759851adc5 Merge branch 'bugfix/layout-collapse' 2018-03-21 09:17:34 +01:00
Alexander A. Klimov
bfc6994479 Handle detail view component render error 2018-03-20 17:29:24 +01:00
Alexander A. Klimov
cec7a1df43 Keep the images layout fixed even if some fail to load 2018-03-20 16:47:01 +01:00
Alexander A. Klimov
57150d2405 Display charts based on the default template(s) assembled from metrics not covered by concrete templates' filters
refs #135
2018-02-12 14:32:00 +01:00