icingaweb2-module-grafana
icingaweb2-module-grafana copied to clipboard
Time periods sometimes cannot be choose
Sometimes for no reason it is impossible to choose the time period you want on the graph shown in services
Expected Behavior
We shoul'd be capable to choose a period time.
Possible Solution
I thinks that's a JS bug but i don't knwo excatly why it's happen.
Steps to Reproduce (for bugs)
Video link for demo -> All working but Hours not. And that's different sometimes
Your Environment
- Version used (
icinga2 --version
): r2.10.3-1 *System information: Platform: Debian GNU/Linux Platform version: 10 (buster) Kernel: Linux Kernel version: 4.19.0-5-amd64 Architecture: x86_64 - Enabled features (
icinga2 feature list
): - Config validation (
icinga2 daemon -C
):[2020-04-20 11:10:56 +0200] information/cli: Icinga application loader (version: r2.10.3-1) [2020-04-20 11:10:56 +0200] information/cli: Loading configuration file(s). [2020-04-20 11:10:56 +0200] information/ConfigItem: Committing config item(s). [2020-04-20 11:10:56 +0200] information/ApiListener: My API identity: Cryptos.pulseheberg.com [2020-04-20 11:10:57 +0200] warning/ApplyRule: Apply rule 'docker_check' (in /etc/icinga2/conf.d/services.conf: 118:1-118 :28) for type 'Service' does not match anywhere! [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 PerfdataWriter. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 GraphiteWriter. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 InfluxdbWriter. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 SyslogLogger. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 NotificationComponent. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 ExternalCommandListener. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 CheckerComponent. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 UserGroup. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 3 TimePeriods. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 ScheduledDowntime. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 2 Users. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 3 Zones. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 3 ServiceGroups. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 52 Services. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 2 HostGroups. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 6 Hosts. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 2 NotificationCommands. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 13 Notifications. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 IcingaApplication. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 Endpoint. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 Downtime. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 2 FileLoggers. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 222 CheckCommands. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 2 ApiUsers. [2020-04-20 11:10:57 +0200] information/ConfigItem: Instantiated 1 ApiListener. [2020-04-20 11:10:57 +0200] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars' [2020-04-20 11:10:57 +0200] information/cli: Finished validating the configuration file(s).
Hello,
mostly this problems occurs when the refresh kicks in. Can you disable refresh in icingawb2 and test if you still have this problem?
Regards, Carsten
Hello,
mostly this problems occurs when the refresh kicks in. Can you disable refresh in icingawb2 and test if you still have this problem?
Regards, Carsten
Can you give me the steps to disable refreshing ? Thanks
Just go to your profile in icingaweb2 and disable the autorefresh there.
Ok but I got a error when i try to disable "autorefresh" ^^
Then there is something really wrong with your installation of icingaweb2
Yes and that's suprising me ^
had same problem, that i was unable to select time period (mostly helped scroll page with arrows and got correct value under cursor :) or manualy set requsted time values today checked this forum and found this, disabled autorefresh and all works as intended
now i have to answer to question, which functionality is better: autorefresh or ability to set time values...
Autorefresh will be soon configureable in icingaweb. maybe a slower resfresh will help.
Should be no problem anymore with icingaweb 2.11