-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working (stale information, information does not updated) after icinga2 update to version 2.11 #83
Comments
Hi I seem to have the exact same Issue with my installation, updated icinga2 to 2.11 and now the dashing can't be started. Interestingly it starts on my system when I manually start it in foreground with environment variables. Environment
Output from dashing start -p 8005
|
Seems the version regex returns a null/nil value whereas the call the first/last then fails - from #81. Can you query the REST API manually and extract the
|
Thank you for the fast reply! Output here: { |
Hmm, looks sane and in my tests, this version works as well. Can you both please share the content of the |
I see, I made a programming mistake. I haven't coded Ruby for like a year now. The config reading is wrong with the new hard state option and old or local configs. Quickfix for you - add the new 'dashboard' option from the pull configuration file into the local modified version. |
Hi.
In log I see the following:
scheduler caught exception:
undefined method
first' for nil:NilClass /usr/share/dashing-icinga2/lib/icinga2.rb:603:in
fetchVersion'/usr/share/dashing-icinga2/lib/icinga2.rb:665:in
run' /usr/share/dashing-icinga2/jobs/icinga2.rb:27:in
block in <top (required)>'/usr/local/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
call' /usr/local/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
trigger_block'/usr/local/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in
block in trigger' /usr/local/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in
call'/usr/local/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
Your Environment
commit 99d1d00
Merge: ed4bd04 1e344ed
Author: Michael Friedrich [email protected]
Date: Tue Oct 8 19:21:57 2019 +0200
git diff
): NOThe text was updated successfully, but these errors were encountered: