-
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
No information is shown until service is restarted #113
Comments
I tried replicating this issue but could not do so, using the same OS, browsers and Icinga2-Version. Anyways, if you indeed used v3.0.0, I would advise you to try again with the current Masterbranch-version. We changed some stuff regarding the automatic updates of widget states and this missing update in v3.0.0 might fiddle with your dashboard at the moment. Also, bundling the application in a non-root context worked just fine for me, all you need to do is to give write-permissions to the executing user: Since all your networking seems to be alright and you recieve data from Icinga2, this is the only idea I can come up with without looking into the issue any further at the moment. If this does not suffice, I will look into your issue again. |
checked out the master, same behavior. |
I replicated your commands again, with the same results - my setup works fine, including the time zone, did you enter a valid timezone other than UTC in Here is a somewhat "tidier" complete reinstall of dashing-icinga2, can you set it up from zero once more following this? If this does not work, I will need:
I really hope we get your instance to run, it looks like a really odd error to me :/ |
Ok, here goes. Hopefully I didn't miss anything. After the installation I opened the browser and again only saw the sample values. journalctl -u dashing-icinga2.service.log As to the time zone: No, I didn't put anything else in the config than UTC. I assumed that the |
Thank you very much. The first very odd think that caught my eye is that the Licensing and Copyright section in your version of So the problem might actually be that git gets you some outdated version of the repository, for a reason I do not know. I am really sorry for sounding like a broken record, but have you tried downloading the repository as a tarball and importing it to your server? This way you should definitely get the newest version. |
Just to be clear that we are not talking about different files: The icinga2.rb file is from the jobs folder, not lib!
This indicates to me that I have the correct files from the current master branch. My last suspicion is that it has something to do with the VM running in Azure and beeing a "Ubuntu by Azure" |
Thank you for pointing this out to me, totally my bad.
I came to the same conclusion, these hosting solutions tend to be a bit messy in some regards, especially when it comes to firewall and connectivity issues, see #107 where we couldn't resolve issues with Azure infrastructure as well. If this was the case you would have to try and resolve the issue on your end, I am afraid. One last thing you could do would be to try out the docker image provided by dnsmichi, since you won't have to bundle or configure things yourself there. Might be worth a shot to verify if it is a configuration/dependency issue or rather one with your hosting infrastructure. Setup/Run-instructions for dockerized dashing-icinga2 can be found in the |
Hi @mocdaniel Just installed/ran dashing on the Azure Ubuntu VM via docker. Sadly with the same result. Also did another test on the Ubuntu VM that is not hosted in Azure and (a bit surprising) got the same result: Sample value until I restart dashing.... I'm out of ideas. |
Hi @log1-c I am sorry to hear this. At the moment, I don't have another idea nor the time to look into your issue any further, but I will leave this issue opened and return to it at another time. |
This keeps bugging me. I just set up a local Ubuntu 20.04 VM myself and everything works just fine out of the box. The Feel free to hit me up with further details and the results of the tests you'll run, as I have no idea how to fix this at the moment :/ |
Really recommend using the Docker image and compare your results. Source installations and OS dependencies are often the root cause for problems like this. |
I tried the Docker way already and it yielded the same results, sadly. In case there is some negative feedback from the customer I will fiddle around with this some more, until then I will let the workaround do it's thing :) |
Hi just installed dashing-icinga2 on ubuntu and also had this problem of a completely empty dashboard but have found a fix thanks to Smashing/smashing#112 where it suggests to use To fix I:
Now the dashboard populates! Hope this works for you! |
Thank you very much, I will look into this asap! |
The customer where this happened moved to a different monitoring system, so I can't test anything at the moment :/ ^^ Thanks for the feedback and your work! |
I have setup dashing according to the docs (apart from not running bundle as root, because it only works as root) and get only some sample values.
API user has the correct permission (even tried with "*").
The VERY strange thing: As soon as I do
systemctl stop dashing-icinga2
orsystemctl restart dashing-icinga2
the values are updated to the actual numbers.looking at the log file of the dashing thin server also shows that data is pulled:
Doesn't matter if I use v.2.0.0 or v3.0.0
Strange thing, bc only this server is affected.
A different server of a different customer (running onprem instead of azure) works without problems.
versions:
icinga2 is on r2.12.0-1
OS is Ubuntu 18.04.5 running in Azure
tested with FF & new EDGE
I implemented a dirty workaround restartung the dashing every morning, but that doesn't help.
If you open the dashboard after the restart (new tab, new browser) only the sampel (or what ever) data is displayed.
The text was updated successfully, but these errors were encountered: