Skip to content
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

[Bug] DOWN Hosts are not displayed correctly and throw errors: "no implicit conversion of nil into string" #120

Closed
mocdaniel opened this issue Jul 1, 2021 · 2 comments

Comments

@mocdaniel
Copy link
Owner

While querying for information, dashing-icinga2 seems to mess up if hosts are down - not a very helpful feature. All other information regarding other hosts and their possibly faulty services still work:

================================================================================
scheduler caught exception:
no implicit conversion of nil into String
/usr/share/dashing-icinga2/lib/icinga2.rb:634:in `+'
/usr/share/dashing-icinga2/lib/icinga2.rb:634:in `block in getProblemServices'
/usr/share/dashing-icinga2/lib/icinga2.rb:620:in `each'
/usr/share/dashing-icinga2/lib/icinga2.rb:620:in `getProblemServices'
/usr/share/dashing-icinga2/lib/icinga2.rb:838:in `run'
/usr/share/dashing-icinga2/jobs/icinga2.rb:27:in `block in <top (required)>'
/var/lib/gems/2.5.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `trigger_block'
/var/lib/gems/2.5.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in `block in trigger'
/var/lib/gems/2.5.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'

First reported in #119

mocdaniel added a commit that referenced this issue Jul 1, 2021
…fixed a bug regarding the configuration option. (Icinga2's API seems to have changed)
@mocdaniel
Copy link
Owner Author

Fixed.

@elguenny
Copy link

elguenny commented Jul 2, 2021

I can confirm this. Thx a lot
Dashboard-Icinga 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants