icingaweb2-module-grafana
icingaweb2-module-grafana copied to clipboard
Grafana charts preview not working
Since migration to IcingaDB and Grafana module v2 we are not able to see the charts preview anymore in Icingaweb. If i click on the "invisible" chart I'm redirected to Grafana where the chart is loaded correctly, just the preview is not working.
Expected Behavior
Before migration used to work and charts preview were shown
Current Behavior
Empty chart but timeframe selection is possible
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
- Icinga Web 2 Grafana version (System - About): 2.0.3
- Icinga Web 2 version and modules (System - About):
- Version used (
icinga2 --version
): r2.14.2-1 - Operating System and version: Debian 12
- Enabled features (
icinga2 feature list
): api checker command icingadb ido-mysql influxdb livestatus mainlog notification - Config validation (
icinga2 daemon -C
):
[2024-09-06 08:05:05 +0200] information/cli: Icinga application loader (version: r2.14.2-1)
[2024-09-06 08:05:05 +0200] information/cli: Loading configuration file(s).
[2024-09-06 08:05:06 +0200] information/ConfigItem: Committing config item(s).
[2024-09-06 08:05:06 +0200] warning/ApiListener: Attribute 'key_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
[2024-09-06 08:05:06 +0200] warning/ApiListener: Attribute 'ca_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
[2024-09-06 08:05:06 +0200] warning/ApiListener: Attribute 'cert_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
[2024-09-06 08:05:06 +0200] warning/ApiListener: Please read the upgrading documentation for v2.8: https://icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/
[2024-09-06 08:05:06 +0200] information/ApiListener: My API identity: *******
[2024-09-06 08:05:16 +0200] information/WorkQueue: #5 (DaemonUtility::LoadConfigFiles) items: 0, rate: 3.6/s (216/min 216/5min 216/15min);
[2024-09-06 08:05:16 +0200] information/WorkQueue: #8 (InfluxdbWriter, influxdb) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2024-09-06 08:05:16 +0200] information/WorkQueue: #9 (ApiListener, RelayQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2024-09-06 08:05:16 +0200] information/WorkQueue: #10 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 9 NotificationCommands.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 58225 Notifications.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 442 HostGroups.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 3214 Hosts.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1055 Downtimes.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1031 Dependencies.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 197 Comments.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 IcingaDB.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 FileLogger.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 InfluxdbWriter.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 21 Zones.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 CheckerComponent.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 189 Users.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 ExternalCommandListener.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 21 Endpoints.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 6 ApiUsers.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 LivestatusListener.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 1 NotificationComponent.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 348 CheckCommands.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 93 UserGroups.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 61 ServiceGroups.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 4 TimePeriods.
[2024-09-06 08:05:39 +0200] information/ConfigItem: Instantiated 63544 Services.
[2024-09-06 08:05:39 +0200] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2024-09-06 08:05:39 +0200] information/cli: Finished validating the configuration file(s).