Commit graph

151 commits

Author SHA1 Message Date
Markus Opolka
cc8690fdda Shift graph_debug URL parameter in graphs overview
- This also adds the InternalProcessTracker to all the graphs in the overview
2025-07-01 14:47:21 +02:00
Adam James
5e0d57cce0 Add Graphite Web HTTP request timeout option
If the Graphite Web server is unreachable, all requests for frontend
pages containing graphs hang until the backend HTTP request times out,
resulting in a very poor UX.

The Guzzle documentation states that the default behaviour is to wait
indefinitely, however in our testing the cURL handler has an internal
default of 30 seconds:

https://docs.guzzlephp.org/en/stable/request-options.html#timeout

This commit makes the HTTP request timeout configurable and sets a
reasonable default of 10 seconds.
2024-02-20 15:43:34 +01:00
Yonas Habteab
828171cf03 Preserve format reqeust param 2023-09-01 13:20:12 +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
Yonas Habteab
8de35ac903 Fix can't perform numeric operation with non-numeric type 2023-08-30 13:33:36 +02:00
Yonas Habteab
29a9f3523c Remove unnecessary error message formats 2023-08-30 13:33:36 +02:00
raviks789
c7abdfa0f3 Fix PHP 8.2 support issues 2023-06-28 11:30:02 +02:00
Eric Lippmann
173e740dee Fix code style 2022-09-19 09:51:37 +02:00
Johannes Meyer
7a616caf65 Split icingadb and monitoring graph controllers 2022-08-24 14:21:35 +02:00
Yonas Habteab
a0919886a1 Adjust usage of object->checkcommand everywhere 2022-06-10 10:54:32 +02:00
Johannes Meyer
0d123dd8a2 Use ipl\Stdlib\Filter::like() for not null checks 2022-05-23 15:57:25 +02:00
Johannes Meyer
c214ce8abb Use separate calls to ipl\Orm\Query::with()
Array support will be dropped soon.
2022-05-23 14:55:58 +02:00
Sukhwinder Dhillon
0b08e68d67 Remove superfluous call to $this->applyRestrictions() 2022-03-22 11:34:27 +01:00
Sukhwinder Dhillon
f257c5a48f Add setAutoRefresh(30) to Hosts|ServicesController 2022-03-22 11:30:26 +01:00
Sukhwinder Dhillon
bfe8bf482b Use class IcingadbUtils instead of using traits directly 2022-03-21 11:21:33 +01:00
Sukhwinder Dhillon
fec5967413 Replace setTitle() with addTitleTab() 2022-03-18 12:28:02 +01:00
Sukhwinder Dhillon
568f0b50c1 ListController.php: Use UrlMigrator to migrate params 2022-03-17 11:31:43 +01:00
Sukhwinder Dhillon
094c026bf9 Hosts|ServiceController: Use BaseFilter and add legacy params to params 2022-03-17 11:31:30 +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
f1ba446030 ListController: Add redirect to icingadb graphs
If icingadb is set as backend, redirect to icingadb graphs instead of
monitoring.
2022-03-11 15:27:34 +01:00
Sukhwinder Dhillon
5e10ca1335 Add class HostsController and ServicesController 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
7b5263f7c9 list/services|hosts: Show preload dummy on first load
Allows JS to dynmacially adjust the graph colors later on.
2022-03-07 18:08:44 +01:00
Johannes Meyer
8173b394c8 list/services|hosts: Autorefresh graphs after 30s 2022-03-07 18:07:04 +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
4852c7aec5 Filter Services with no perfdata 2020-09-27 22:01:22 +02:00
Johannes Meyer
bb843479f6 list/services: Properly close .grit-item containers
fixes #235
2020-04-03 12:52:34 +02:00
Florian Strohmaier
4594ff248d Hosts: Add .grid container to grid-items
refs 215
2019-08-27 12:05:25 +02:00
Florian Strohmaier
9ec72da1da Services: Add .grid container to grid-items
refs #215
2019-08-27 12:05:25 +02:00
Florian Strohmaier
71c6ad259c CommonForm: Add class .inline to form
refs #215
2019-08-26 15:44:56 +02:00
Alexander A. Klimov
43fa1caba8 Merge branch 'feature/docker' 2019-03-05 16:14:35 +01:00
Alexander A. Klimov
400d5f7b2e icingacli graphite icinga2 config: simplify output 2019-03-04 14:08:02 +01:00
Alexander A. Klimov
33963cf3b2 Serve dummy images inline
refs #185
2019-01-18 15:58:14 +01: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
6caea7a236 Merge branch 'feature/always-use-default-template-135'
resolves #135
2018-03-19 12:31:00 +01:00
Alexander A. Klimov
7997be46ae Respect a user's timezone preferences
refs #138
2018-02-26 15:33:12 +01:00
Alexander A. Klimov
fee240e830 Separate default templates more strictly from the other ones
refs #135
2018-02-09 18:23:23 +01:00
Alexander A. Klimov
bd5b5a5d0d Implement Icinga 2 dummy config generator
refs #132
2018-02-09 13:27:52 +01:00
Alexander A. Klimov
bc6adceb13 Fix broken graphs for monitored objects with obscured check commands 2018-01-25 18:30:22 +01:00
Alexander A. Klimov
6108553aeb Merge branch 'bugfix/cannot-save-advanced-settings-115'
fixes #115
2018-01-19 13:25:03 +01:00
Alexander A. Klimov
7a49024701 Merge branch 'feature/pdf-export-13' 2018-01-19 13:24:06 +01:00
Alexander A. Klimov
dd68f8f051 Make templates overridable by (check command, name) 2018-01-12 11:40:17 +01:00
Alexander A. Klimov
8f7be9ee5d Fix form element validation
refs #115
2018-01-10 18:37:30 +01:00
lippserd
d012b74fb2
Merge pull request #97 from Icinga/feature/insecure-tls
Add switch for insecure TLS
2017-12-19 11:41:11 +01:00