Sukhwinder Dhillon
762630c027
event-history.phtml: Don't sort events by time
...
Sort only by day and date
2022-10-10 09:59:26 +02:00
Johannes Meyer
dae7bf4657
Macro: Log the object where a macro is not found
...
fixes #3759
2022-10-10 09:58:39 +02:00
Alexander Aleksandrovič Klimov
ad827395af
Unveil hidden downtime in checkable detail view
...
Case: there are no comments, one downtime and you may not schedule additional ones.
Before: downtime is not shown in checkable detail view.
After: downtime is shown in checkable detail view.
2022-10-04 16:04:55 +02:00
Johannes Meyer
225d43b45f
Release version 2.11.1
2022-07-06 14:48:48 +02:00
moreamazingnick
f84057fd83
Fix wrong return value breaks doc-module search
...
refs #4856
2022-07-05 15:42:46 +02:00
Johannes Meyer
4b60f87021
IdoQuery: Correct doc of method `requireColumn()`
2022-07-05 09:55:32 +02:00
Johannes Meyer
e5ec9a36f7
monitoring: Fix conversion rules for timestamps in various queries
2022-07-05 09:55:32 +02:00
Johannes Meyer
dcf194bc4c
Raise version to 2.11.0
2022-06-30 13:47:07 +02:00
Johannes Meyer
3d159fe434
TimeRange: Accept strings in method `validateTime()`
2022-06-30 08:41:47 +02:00
Johannes Meyer
e3a9b56423
eventgrid: Avoid passing null to string type functions
2022-06-30 08:40:28 +02:00
Dirk Goetz
d5d714b1ee
Fix gravatar: set content-type header and size
...
Fixes #2254
2022-06-15 09:03:12 +02:00
mrdsam
0c325eb027
Update 03-Configuration.md ( #4806 )
2022-06-15 08:57:45 +02:00
Johannes Meyer
ec27f77861
DataView: Relax filter validation again
...
There are way too much missing columns in data views all
over the place. I dont' see a justification to fix them
as it's only now this "issue" occurs. It's easier to
revert this change here.
fixes #4797
2022-06-14 15:32:21 +02:00
Sukhwinder Dhillon
4ab79a6758
DataView: Remove not in use method `applyUrlFilter()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
3b04a0489e
Replace class `Backend` use with `MonitoringBackend` and remove class `Backend`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
0db42b32e6
Remove not in use class `Icinga\Module\Monitoring\Environment.php`
2022-06-14 14:24:30 +02:00
Johannes Meyer
46a21d9709
Drop method `DbQuery::whereToSql()`
...
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Johannes Meyer
8301cae1a9
migrate: Remove `dashboard sections` command
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
be1ff03dd3
MonitoredObject: Remove deprecated methods `matches()` and `fromParams()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
60756afa34
Replace `MonitoringBackend::createBackend()` with `MonitoringBackend::instance()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
49bea36345
MonitoringBackend: Remove deprecated method `createBackedn()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
577d97a450
DataView: Move `sort()` body to `order()` and remove `sort()` and `fromRequest()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
d8ddc6600a
overrides `customvarsWithOriginalNames` only if the given object is of type `host`
...
A call to `__get()` reset the array if the given `$name` is a customvar
If `service` has a `host` customvar filter, the `fetchHostVariables()`
method was executed and overwrote the `customvarsWithOriginalNames` array.
fixes #4757
2022-06-13 11:56:57 +02:00
Johannes Meyer
777d146ba1
Perfdata: Avoid passing null to `number_format()`
2022-05-27 14:41:42 +02:00
Sukhwinder Dhillon
bbbe9eef22
PreferencesCommand: Introduce method `loadIniFile()` and remove not required code
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon
b3998856af
Revert "Remove class `PreferencesCommand`"
...
This reverts commit ea03ecd779ffd8b38cbddefadf8c29712e4171dd.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon
aad2419545
Remove obsolete `config_backend` option and not required code
...
The user preferences backend is now always a `db`.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon
18ecd444c4
Remove class `PreferencesCommand`
2022-05-27 13:55:48 +02:00
Johannes Meyer
74022ae4e0
Merge pull request #4697 from Icinga/feature/redesigned-user-menu-new
...
Feature/redesigned user menu
2022-05-16 09:04:26 +02:00
Johannes Meyer
0f64e24f99
MonitoredObject: Register filters with `whereEx()`
2022-05-12 16:33:30 +02:00
raviks789
8898ed85ab
Change FilterMatch to FilterEqual class for single object filter on object name.
...
Correspondingly the DbConnection::renderFilter() (as DbQuery::renderFilter() is deprecated and will be removed, hence no modifications here)
is also modified to render accordingly.
This correctly selects the host, service or contact in case the object name contains wild card characters like "\*".
2022-05-12 16:28:35 +02:00
Johannes Meyer
3edb5c3c94
IdoQuery: Introduce method `whereEx()`
2022-05-12 16:28:35 +02:00
Florian Strohmaier
04199915fe
monitoring/configuration: Do not add ‘Monitoring Health’ item
2022-05-12 15:13:16 +02:00
Sukhwinder Dhillon
48e96ba301
RequirementSet: Fix null returned instead int exception
...
fixes #4767
2022-05-03 14:08:16 +02:00
Sukhwinder Dhillon
cee12fd6a5
Setup Wizard: Fix bool to int cast exception on first page
...
fixes https://github.com/Icinga/icingaweb2/issues/4770
2022-05-03 14:07:19 +02:00
Sukhwinder Dhillon
1b1eb3436f
sql: Change charset to `utf8mb4`
...
fixes https://github.com/Icinga/icingaweb2/issues/4680
2022-05-02 15:36:31 +02:00
Johannes Meyer
c5cf7abf0d
IdoQuery: Avoid passing `null` to preg_replace()
...
refs #4640
2022-04-19 15:01:52 +02:00
Alexander A. Klimov
e6eb1540c0
Monitoring: permit disabling IDO backends no Icinga writes to
2022-04-11 16:40:22 +02:00
Patrick Dolinic
f9ec105537
Monitoring: Delete unnecessary cli-command
2022-04-11 13:31:59 +02:00
Johannes Meyer
95d0ac018c
Raise version to 2.10.1
2022-04-06 09:34:11 +02:00
Johannes Meyer
d63f645bd8
Update requirements for PHP 8.1
2022-03-24 15:46:26 +01:00
Johannes Meyer
1717afbe39
event-history.phtml: Use `Intl` to localize dates
...
instead of `strftime`, which is deprecated
2022-03-24 12:29:06 +01:00
Johannes Meyer
3dc384fb58
Avoid passing `null` to non-nullable arguments
2022-03-24 12:29:06 +01:00
Johannes Meyer
c038e84fc2
Ensure Return Type Compatibility with Internal Classes
2022-03-24 12:29:06 +01:00
Johannes Meyer
523bdfec5e
Require PHP 7.2+
2022-03-24 12:29:05 +01:00
Johannes Meyer
f72837676c
monitoring: Drop controller `AlertsummaryController`
2022-03-24 12:27:20 +01:00
Johannes Meyer
7a12849a66
TacticalController: Use correct state filter for big services url
...
fixes #4714
2022-03-24 10:21:33 +01:00
Johannes Meyer
6802abc2c7
quick-actions.phtml: Set explicit ids instead of overriding the name..
...
..to avoid duplicate ids
fixes #4711
2022-03-24 10:21:07 +01:00
Johannes Meyer
01f67a78c6
Increase required version of the icinga-php-library
2022-03-23 11:49:06 +01:00
Johannes Meyer
d0677a127f
Release version 2.10.0
2022-03-23 11:49:06 +01:00
Johannes Meyer
0d032989e6
Fix style issues in recent security fixes
2022-03-08 15:20:16 +01:00
Johannes Meyer
f21200f167
Release version 2.9.6
2022-03-08 15:12:52 +01:00
Johannes Meyer
e815ff0309
Merge pull request from GHSA-qcmg-vr56-x9wf
...
Fix/ghsa qcmg vr56 x9wf
2022-03-08 12:03:41 +01:00
Johannes Meyer
a48bd84fb4
monitoring: Drop obsolete view script `show/components/customvars.phtml`
2022-03-02 10:41:23 +01:00
Johannes Meyer
83e8b3b8e8
detail-content: Use widget `CustomVarTable` to render custom vars
2022-03-02 10:40:57 +01:00
Johannes Meyer
6085b02b16
monitoring: Introduce new class `CustomVarTable`
2022-03-02 10:38:08 +01:00
Johannes Meyer
b0a7464795
Introduce new hook `Monitoring/CustomVarRenderer`
2022-03-02 10:38:08 +01:00
Johannes Meyer
48e0f1bd1f
PluginOutput: Transform newlines first and purify HTML afterwards
...
fixes #4686
2022-03-02 08:23:51 +01:00
Johannes Meyer
6d744e585f
monitoring/list/services: Enhance PDF layout
2022-03-01 17:04:38 +01:00
Johannes Meyer
159ca2ce3f
monitoring/list/servicegroups: Enhance PDF layout
2022-03-01 17:04:38 +01:00
Johannes Meyer
861f166798
monitoring/list/hosts: Enhance PDF layout
2022-03-01 17:04:38 +01:00
Johannes Meyer
4da687ae27
monitoring/list/hostgroups: Enhance PDF layout
2022-03-01 17:04:38 +01:00
Johannes Meyer
d5fbae7b28
monitoring/list/downtimes: Enhance PDF layout
2022-03-01 17:04:38 +01:00
Johannes Meyer
122d52c953
monitoring/list/contacts: Enhance PDF layout
2022-03-01 17:04:38 +01:00
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