Commit Graph

5093 Commits

Author SHA1 Message Date
Johannes Meyer 298f2a3061 monitoring/list/comments: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer 8779f9f175 IdoQuery: Join customvars with only live references 2022-02-28 13:08:05 +01:00
Johannes Meyer 1092421782 Ido\Query\: Add objecttype_id checks where missing 2022-02-28 13:07:17 +01:00
Johannes Meyer 00353a1f25
Merge pull request #4660 from Icinga/fix/unhandled-service-counter-not-always-visible-3921
Drop the unhandled services counter in host lists
2022-02-28 13:05:29 +01:00
Johannes Meyer e7bc0a136b Perfdata: Render unknown UOMs as-is 2022-02-28 11:53:59 +01:00
Johannes Meyer 796742f03d monitoring/list/hosts: Don't show unhandled service counts
It has too much problems. It wasn't even visible since the
initial release, at least not if there were many results.
It being visible was more a case of chance than guarantee.
We now also identified a major issue with restrictions and
the way we can assemble queries here. In short, there are
too much technical difficulties that we deemed it not
worthwhile to keep.
2022-02-25 17:09:13 +01:00
Johannes Meyer 2e9a94144f HostserviceproblemsummaryQuery: Don't clear order of the host status query 2022-02-25 17:08:39 +01:00
Johannes Meyer a4d34e265f IdoQuery: Don't try to add a `HAVING` without group by rules 2022-02-11 12:11:40 +01:00
Johannes Meyer 7a938f6b02 css: Don't use `.var()` or `var()` calls explicitly 2022-02-10 10:59:01 +01:00
Johannes Meyer 3166d112f1 monitoring/list/hosts: Apply restrictions to host service problem summary 2022-02-07 17:20:41 +01:00
Johannes Meyer 28a8771a37 components/comments.phtml: Use base target `_next` only for comment links 2022-02-07 14:47:03 +01:00
Johannes Meyer 4f501a89f5 monitoring: Avoid duplicate ids for check now and remove ack forms 2022-02-04 17:21:41 +01:00
Johannes Meyer 2bd58aea83 translation: Mention translate.icinga.com in the documentation 2022-02-04 15:58:06 +01:00
Johannes Meyer 56cde52351 Drop locales of builtin modules 2022-02-04 15:58:06 +01:00
Johannes Meyer 6b4f4d388a monitoring: Really show custom variable names as-is 2022-02-04 15:56:44 +01:00
Johannes Meyer 316885b271
Merge pull request #4498 from Icinga/bugfix/tactical-4494
/monitoring/tactical: fall back to unknown services if none critical
2021-12-14 10:24:57 +01:00
Yonas Habteab 354099b4e2 Fix migrating navigation items only for the given user doesn't work 2021-12-08 16:10:38 +01:00
Eric Lippmann 3df684bcdf
Merge pull request #4606 from Icinga/release/2.9.5
Release 2.9.5
2021-11-17 16:57:40 +01:00
Sukhwinder Dhillon c30df56de4 Release version 2.9.5 2021-11-17 16:51:55 +01:00
Sukhwinder Dhillon a3091b3617 `LdapDiscoveryPage::getValues()`: Do not return null 2021-11-16 19:13:40 +01:00
Johannes Meyer 81f6116f3f Release version 2.9.4 2021-11-10 10:17:35 +01:00
Yonas Habteab 1c9986be72 NavigationCommand: Add license header 2021-11-04 08:56:03 +01:00
Yonas Habteab bb196d4a4f Migrate: Add possibility to migrate monitoring navigation items 2021-11-03 16:22:31 +01:00
Johannes Meyer 47922673fc PluginOutput: Don't "optimize" two subsequent newlines to one
fixes #4522
2021-11-02 09:00:21 +01:00
Ravi Kumar Kempapura Srinivasa be3a722a28 Compress comment detail in Hosts detail and Comments list. 2021-10-07 10:44:10 +02:00
Alexander A. Klimov 6e1ab2c0ea /monitoring/tactical: fall back to unknown services if none critical
refs #4494
2021-09-23 15:17:33 +02:00
Johannes Meyer 83557afd35 IdoQuery: Qualify and resolve subquery filters ASAP
fixes #4508
2021-08-24 09:32:36 +02:00
Johannes Meyer b2274a5589 Release version 2.9.3 2021-08-10 10:11:44 +02:00
Eric Lippmann 1e1b4b74ad If appropriate, set the API parameter all_services for schedule-downtime
Since Icinga 2.11.0 the schedule-downtime API supports the
all_services parameter. So far we've always sent a separate
request for scheduling service downtimes. As of Icinga 2.13.0,
these service downtimes are automatically removed when the host
downtimes are removed. Of course, this doesn't work if we don't
use the all_services parameter but send a separate request.
With this commit we set this parameter if the transport is API
and Icinga is equal to or greater than 2.11.0.

In addition, if child_options and all_services were previously set,
a request was sent per host and service. This is now also only a
single request if an API command transport is requested or only
API command transports are configured.
2021-08-09 16:55:05 +02:00
Johannes Meyer 907f7826b2 Release version 2.9.2 2021-07-28 09:33:41 +02:00
Johannes Meyer 0b6f71c446 If enforcing a charset, DO IT ONLY IF THE DB TYPE IS CORRECT 2021-07-28 09:04:28 +02:00
Johannes Meyer 1b2cd8fdf3 Release version 2.9.1 2021-07-27 15:22:32 +02:00
Johannes Meyer b298b53fda PreferencesCommand: Automatically set the resource as config backend 2021-07-27 08:35:46 +02:00
Johannes Meyer 94c6e4a100 PreferencesCommand: Correct help for `--resource`
fixes #4485
2021-07-27 08:34:21 +02:00
Johannes Meyer 571f59be46 UserDomainMigration: Always use `utf8` as connection charset 2021-07-26 16:54:45 +02:00
Johannes Meyer e8ae6c912d PreferencesCommand: Always use `utf8` as connection charset 2021-07-26 16:54:22 +02:00
Johannes Meyer af89bc8019 Introduce class `Icinga\Module\Migrate\Clicommands\PreferencesCommand` 2021-07-26 12:49:03 +02:00
Johannes Meyer 253fee0054 WebWizard: Ensure to properly setup table `icingaweb_rememberme`
fixes #4434
2021-07-21 17:42:59 +02:00
Johannes Meyer b94617c575 ServicestatusQuery: Define correct grouping rules for contacts and -groups
fixes #4464
2021-07-21 17:41:55 +02:00
Johannes Meyer 1ed1bfe4b9 WebWizard: Update php module requirements 2021-07-21 17:38:59 +02:00
Johannes Meyer d123b390b1 MonitoredObject: Keep structure of nested cvs during protection
fixes #4439
2021-07-21 08:01:08 +02:00
Johannes Meyer f73614be4d Raise version to 2.9.0 2021-07-12 10:35:56 +02:00
Johannes Meyer 90e23ebaf3 doc: Make sure to correctly access images 2021-07-12 09:49:17 +02:00
Johannes Meyer 9c1e4fa491 monitoring: Ensure cvs are also protected in exported results 2021-07-12 09:42:03 +02:00
Johannes Meyer b48fc20edf monitoring/list/(hosts|services): Respect cv blacklist with `?addColumns` 2021-07-12 09:42:03 +02:00
Johannes Meyer e035f5b9f2 monitoring/list/services: Protect custom variables added with `?addColumns` 2021-07-12 09:42:03 +02:00
Johannes Meyer c953e4f92d monitoring/list/hosts: Protect custom variables added with `?addColumns` 2021-07-12 09:42:03 +02:00
Johannes Meyer 1dc6f35916 MonitoredObject: Make customvar protection available to the outside 2021-07-12 09:42:03 +02:00
Johannes Meyer 76dafc8c1e monitoring/list/*: Don't apply restrictions in case of `?format=sql` 2021-07-08 08:14:13 +02:00
Johannes Meyer 963fdbd3e2 ServicegroupQuery: Join hostgroups with a LEFT JOIN
refs #4404
2021-07-05 14:59:24 +02:00
Johannes Meyer 13125e8059 HostgroupQuery: Join services and servicegroups with a LEFT JOIN
refs #4404
2021-07-05 14:58:49 +02:00
Johannes Meyer da950c8559 WebWizard: Remove line break from a requirement message 2021-07-01 13:01:38 +02:00
Johannes Meyer 0ac92a44ce setup: Make sure CSS and JS is being reloaded prior first login 2021-06-30 18:55:21 +02:00
Johannes Meyer 37c982a044 MonitoringWizard: Remove redundant requirements and steps 2021-06-30 18:54:47 +02:00
Johannes Meyer 53c0d6de86 Wizard: Transform emtpy page data values to null
Previously the wizard wrote empty strings to config files.
2021-06-30 18:53:41 +02:00
Johannes Meyer b88dad9525 css: Respect `--icinga-*` 2021-06-28 16:22:19 +02:00
Johannes Meyer 6c235c64b5 css: Respect `--tr-*-color` 2021-06-28 14:12:58 +02:00
Johannes Meyer 804fe75d55 css: Respect `--color-*` 2021-06-28 12:37:30 +02:00
Johannes Meyer e3dbd01e86 css: Respect `--text-color-light` 2021-06-23 17:40:06 +02:00
Johannes Meyer fbb137a227 css: Respect `--text-color-on-icinga-blue` 2021-06-23 17:40:06 +02:00
Johannes Meyer ac45a51ffb css: Respect `--text-color-inverted` 2021-06-23 17:40:06 +02:00
Johannes Meyer 608499c4cd Integrate light theme's `gray-lightest` using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer 49f905af06 Integrate light theme's `gray-lighter` using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer b7f42e52dc Integrate light theme's `gray-light` using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer d82577c0e0 Integrate light theme's `gray` using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer 039fdfc8af Integrate light theme's `@text-color` using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer 96687e37c6 Integrate light theme's `@body-bg-color` using a media query 2021-06-23 17:40:06 +02:00
Florian Strohmaier e5cf4cdd17 CSS: Match `.object-features` label color with `th`s 2021-06-23 07:39:55 +02:00
Florian Strohmaier ac1a364682 Contact: Fix th styles 2021-06-23 07:39:55 +02:00
Florian Strohmaier 034697abf9 module.less: Remove monitorung-statusbar gradient 2021-06-23 07:39:55 +02:00
Johannes Meyer c5cb9dc34e Raise minimum required PHP version to 7.3 2021-06-22 12:57:08 +02:00
Johannes Meyer fa602c3525 WebWizard: Require our new libraries 2021-06-22 12:35:22 +02:00
Johannes Meyer 3b3eca934f WebWizard: Remove Zend_Db_* class requirements
All of our packages (even debian) roll out our own
bundled fork, which containes these classes.
2021-06-22 12:33:15 +02:00
Johannes Meyer f72a5fbe89 WebWizard: Require storage directory 2021-06-22 12:11:10 +02:00
Ravi Kumar Kempapura Srinivasa f8b122b894 Add end time and comment options to settings section for host/service downtime dialog
[hostdowntime_end_fixed], [hostdowntime_end_flexible], [hostdowntime_flexible_duration], [servicedowntime_end_fixed], [servicedwontime_end_flexible],
[servicedowntime_flexible_duration] and [comment_text] options added to [settings] section in config.ini file used in  host/service downtime dialog.
2021-06-18 13:57:58 +02:00
Johannes Meyer 5af833bb6d translation: Add support for ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer 8fe282b9aa translation: Only allow to generate module locales 2021-05-28 14:03:36 +02:00
Johannes Meyer d83b06618a DashboardCommand: Utilize ipl-i18n in `sections` command 2021-05-28 14:03:36 +02:00
Johannes Meyer 84949f214e monitoring: Provide health hook 2021-05-14 15:45:35 +02:00
Damiano Chini 89fdccb858 Pass event instead of object to the getHtmlForEvent method of EventDetailsExtensionHook 2021-05-11 12:36:07 +02:00
Johannes Meyer 4e48f9d2a1 ProcessCheckResultForm: Skip objects with passive checks disabled
Icinga won't accept check results for such.
2021-04-14 10:56:04 +02:00
Johannes Meyer 1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
Johannes Meyer a4d495e17c PerfData: Don't render missing values as `0.00` 2021-04-13 14:50:18 +02:00
Johannes Meyer e671324ddb tests: Don't use deprecated assertion `assertRegExp()` 2021-04-09 12:38:43 +02:00
Johannes Meyer f27e872d90 tests: Don't make use of deprecated phpunit features 2021-04-09 12:38:43 +02:00
Johannes Meyer cb87190138 tests: Add `:void` return type declarations 2021-04-09 12:38:43 +02:00
Alexander A. Klimov 6d5024c671 *downtimestarthistoryQuery#joinBaseTables(): don't call func_get_arg() with an invalid index
... as PHP 8 doesn't tolerate that.

refs #4287
2021-04-09 12:37:03 +02:00
Alexander A. Klimov 2c5f141cc1 /setup/: ensure not to pass an empty array to max()
... as PHP 8 doesn't tolerate such.

refs #4287
2021-04-09 12:37:03 +02:00
Johannes Meyer fe51f8c968 IdoQuery: Accept any character in custom var names
fixes #4342
2021-04-06 10:47:03 +02:00
Johannes Meyer 0fc06d7795 Transform `*` equal/unequal comparisons to NULL checks
This comes from https://github.com/Icinga/ipl-sql/pull/31
2021-03-12 09:50:59 +01:00
sukhwinder33445 ab97b6fdf0
Enforce database as configuration backend (#4135) 2021-02-18 12:31:21 +01:00
Johannes Meyer 91d4669dcb
Merge pull request #4285 from Icinga/bugfix/curl-monitoring-service-show-4281
CheckNowCommandForm#init(): set submit label
2021-02-18 12:21:50 +01:00
Johannes Meyer cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer e01f51ffc7 PluginOutput: Fix that subsequent escaped newlines are not transformed
fixes #4297
2021-02-15 11:23:36 +01:00
Johannes Meyer 77ca3e0c31 DeleteDowntimeCommandForm: Show error notification if not successful
resolves #4303
2021-02-03 15:42:13 +01:00
Alexander A. Klimov 6af1e5d43b Monitoring: add expire option for comments
refs #3447
2020-11-30 17:24:57 +01:00
Alexander A. Klimov 7aacbd4db8 CheckNowCommandForm#init(): set submit label
... otherwise Form#handleRequest() bypasses Form#isSubmitted()
on API requests and considers the CheckNowCommandForm submitted.

refs #4281
2020-11-26 18:38:55 +01:00
Rick Henry 92ef10c22b Add notification badges for disabled active checks
We mistakenly disabled active checks in our Icinga environment and did
not notice for some time. This commit hooks into the badge mechanic used
when notifications are turned off, and also provides badges when active
host checks and active service checks are disabled.
2020-11-22 21:18:08 +00:00
Johannes Meyer 01a08d60e1 setup: Don't fail if only a module couldn't be enabled 2020-11-18 13:21:34 +01:00
Johannes Meyer d918d6c86f
Merge pull request #4235 from Icinga/fix/sparkline-js-performance
Drop sparkline.js and render inline-pies as SVG
2020-11-18 09:37:31 +01:00