Dirk Goetz
d5d714b1ee
Fix gravatar: set content-type header and size
...
Fixes #2254
2022-06-15 09:03:12 +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
60756afa34
Replace `MonitoringBackend::createBackend()` with `MonitoringBackend::instance()`
2022-06-14 14:24: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
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
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
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
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
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
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
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
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
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
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
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
76dafc8c1e
monitoring/list/*: Don't apply restrictions in case of `?format=sql`
2021-07-08 08:14:13 +02:00
Florian Strohmaier
ac1a364682
Contact: Fix th styles
2021-06-23 07:39:55 +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
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
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
Jorge Vallecillo
865e4b9b2a
Fix typos: consecutive use of 'the'
2020-11-18 09:26:39 +01:00
Eric Lippmann
d42c912ea4
Use ticket hook in downtime details
2020-09-30 09:32:18 +02:00
Eric Lippmann
5243160d5d
Add Comment to comment details and use ticket hook
2020-09-30 09:32:18 +02:00
Eric Lippmann
7f48040637
Load ticket hook for downtime details
2020-09-30 09:32:12 +02:00