mocdaniel / dashing-icinga2 Goto Github PK
View Code? Open in Web Editor NEWDashing dashboard for Icinga 2 using the REST API
License: MIT License
Dashing dashboard for Icinga 2 using the REST API
License: MIT License
Since I have upgraded Icinga from v2.10.2 to v2.10.3 i'm experiencing issues with Dashing in combination with Icinga. Which causing the warnings below and results in critical warnings 'too many open files' in Icinga eventually.
[2019-03-02 14:52:45 +0100] critical/checker: Exception occurred while checking 'xxx': Error: Function call 'pipe2' failed with error code 24, 'Too many open files'
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Request: GET /v1/status/CIB (from [127.0.0.1]:54240), user: dashing)
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: HTTP client disconnected (from [127.0.0.1]:54240)
[2019-03-02 20:27:25 +0100] information/ApiListener: New client connection from [127.0.0.1]:54244 (no client certificate)
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Request: GET /v1/objects/hosts (from [127.0.0.1]:54244), user: dashing)
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
[2019-03-02 20:27:25 +0100] information/HttpServerConnection: Unable to process available data, they're already being processed in another thread
We're looking at using Icinga2 but it looks like it doesn't currently support being used as a dashboard for any more than a single Icinga2 instance.
How hard would it be to add multiple Icinga2 servers to this project?
Is it something you're looking at doing?
Thanks :)
Good morning,
we differ our dashing checks an many .rb file (30 files) to isolate the code for every Service in a separat file. When we make this, we get Performance issues on icinga service with load of 15 and higher in case of every file runs parallel. Is there a ways to configure and reduce the the parallalism of dashing?
Here is an example of a file, every Service Monitor Looks as same.
require './lib/icinga2'
icinga = Icinga2.new('config/icinga2.json') # fixed path
SCHEDULER.every '75s', :first_in => 0 do |job|
icinga.run
### Icinga Event API
service_fileshare_status = "OK"
color_service_fileshare_status = "green"
begin
service_output = "------------ FileShare -------------------------\n"
obj_service_fileshare = icinga.getServiceObjects([ "__name", "state", "acknowledgement" ], 'host.vars.application == "FileShare"', [ "host.name", "service.state", "service.acknowledgement" ])
service_stats = []
obj_service_fileshare.each do |service|
service_stats.push({ "label" => service["attrs"]["__name"], "value" => service["attrs"]["state"] ? 'OK' : 'CRITICAL' })
service_output += " Service: " + service["attrs"]["__name"].to_s + "\n"
if service["attrs"]["acknowledgement"].to_i == 0
if service["attrs"]["state"].to_i != 0 && service["attrs"]["state"].to_i != 3
if service["attrs"]["state"].to_i == 1
service_fileshare_status = "HANDLE"
color_service_fileshare_status = "yellow"
else
service_fileshare_status = "CRIT"
color_service_fileshare_status = "red"
end
end
end
end
service_output += " Result FileShare - Services: " + service_stats.size.to_s + " / " + service_fileshare_status.to_s + "\n"
rescue
service_output += " Result FileShare - Services: Error collecting data\n"
end
service_output += "---------------------------------------------\n\n"
puts service_output.to_s
### Icinga Dashing Event Handler
send_event('icinga-service-fileshare-status', {
value: service_fileshare_status.to_s,
color: color_service_fileshare_status })
end
Currently the default dashboard also lists already acknowledge service problems in the problems panel.
Imo only the unacknowledged/new problems should be listed there
git show -1
): Realease v2.0.0Hi,
as mentioned in the title the iframes won't show content, despite I'm logged into icinga in the current browser session. On the localhost (icingaweb2 and dashing-icinga) is a login-mask shown (only error code after login). On a remote host it says: connection refused.
While starting in foreground i got the following error:
scheduler caught exception:
401 Unauthorized
/var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:223:in exception_with_response' /var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:103:in
return!'
/var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:809:in process_result' /var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:725:in
block in transmit'
/usr/lib/ruby/2.3.0/net/http.rb:853:in start' /var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:715:in
transmit'
/var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in execute' /var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in
execute'
/var/lib/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/resource.rb:51:in get' /usr/share/dashing-icinga2/lib/icinga2.rb:236:in
getApiData'
/usr/share/dashing-icinga2/lib/icinga2.rb:258:in getIcingaApplicationData' /usr/share/dashing-icinga2/lib/icinga2.rb:662:in
run'
/usr/share/dashing-icinga2/jobs/icinga2.rb:27:in block in <top (required)>' /var/lib/gems/2.3.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
trigger_block'
/var/lib/gems/2.3.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in block in trigger' /var/lib/gems/2.3.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in
block in trigger_job'
================================================================================`
dashing (1.3.7)
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
icinga:
Application information:
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Debian GNU/Linux
Platform version: 9 (stretch)
Kernel: Linux
Kernel version: 4.9.0-6-amd64
Architecture: x86_64
Build information:
Compiler: GNU 6.3.0
Build host: x86-ubc-01
dashing-icinga:
commit 69f4089
no mods (yet;))
Hi!
I'm running multiple dashboards and for each one I generate a file in "config", "dashboards" and "jobs".
What I'm trying to achieve is to create a single dashboard for each customer to show his only informations.
I set one specific user to each config file and then set unique identifiers for the events in dashboards and jobs files.
The API users are limited to the specific customer hostgroup:
api-users.conf
object ApiUser "dashing-user1" {
password = "user1_dashing"
permissions = [
{
permission = "status/query"
},
{
permission = "objects/query/*"
filter = {{ "customer_name_here" in host.groups }}
}
]
}
Problem is that instead of getting the correct number for hosts and services count the numbers are just fuzzy and alleatory.
Is this the correct way to generate multiple dashboards?
Thanks.
I installed dashing as instructed in the readme-section and opened up the dashboard, but it's showing just the background and empty tiles. Chrome Devtools' network-tab is showing me that the following assets and scrips are loaded:
I already did some research in that case and got hints that it might be due to my Apache-configuration, with the relevant parts currently looking as follows:
httpd.conf
DocumentRoot "/usr/share/icingaweb3/public"
#
# Relax access to content within /var/www.
#
<VirtualHost *:80>
ServerName server.domain.network.com
ProxyPreserveHost On
ProxyRequests On
# LogLevel alert rewrite:trace6
RewriteEngine On
</VirtualHost>
and the separate config for things concerned with dashing-icinga:
<Location /icinga2>
ProxyPass http://localhost:8005/icinga2
ProxyPassReverse http://localhost:8005/icinga2
</Location>
<Location /assets/>
ProxyPass http://localhost:8005/assets/
ProxyPassReverse http://localhost:8005/assets/
</Location>
Any help is appreciated, I can upload screenshots and/or additional information if needed.
Im looking for a way to exclude devices thats not a part of a certain hostgroup in Icinga2.
My /etc/icinga2/conf.d/api-users.conf looks like this as of now.
/**
permissions = [ "*" ]
object ApiUser "dashing" {
password = "Kodeord1"
permissions = [
{
permission = "status/query"
},
{
permission = "objects/query/*"
filter = {{ "tekniker" in host.groups }}
}
]
}
This does not seem to work. Any suggestions as how to make the dashing user only show host and service notifications from the hostgroup "tekniker"?
Hi,
thank you for your work. I´m using the docker version and it works great. Is it somehow possible to set environment variables for an automatic login to the both iframes at the bottom of the dashboard?
Installed and started dashing as below and getting HTTP 404 when accessing the url.
http://xxxxxxxxx.corp.xxxxxx.com:8080/icinga2
This may/may not be a BUG, but i need some help here.
[icinga@pdgllvnagios11 bin]$ ./dashing start -p 8080
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:8080, CTRL+C to stop
**10.98.202.162 - - [12/Oct/2017 11:18:56] "GET /icinga2 HTTP/1.1" 404 - 0.0015
10.98.202.162, 10.128.132.225 - - [12/Oct/2017 11:18:59] "GET /icinga2 HTTP/1.1" 404 - 0.0007
10.98.202.162 - - [12/Oct/2017 11:19:20] "GET /icinga2 HTTP/1.1" 404 - 0.0006
10.98.202.162, 10.128.132.225 - - [12/Oct/2017 11:19:21] "GET /icinga2 HTTP/1.1" 404 - 0.0005
10.98.202.162, 10.128.132.225 - - [12/Oct/2017 11:19:48] "GET /icinga2 HTTP/1.1" 404 - 0.0007
10.98.202.162 - - [12/Oct/2017 11:19:50] "GET /icinga2 HTTP/1.1" 404 - 0.0006
10.98.202.162 - - [12/Oct/2017 11:20:14] "GET /icinga2 HTTP/1.1" 404 - 0.0005
10.98.202.162, 10.128.132.225 - - [12/Oct/2017 11:20:17] "GET /icinga2 HTTP/1.1" 404 - 0.0006
**
Expected to access icinga2 dashboard.
HTTP 404
unknown as of now.
gem list --local dashing
): dashing (1.3.7)ruby -V
):ruby 2.0.0p598 (2014-11-13) [x86_64-linux]git show -1
): Current Mastergit diff
): NONEDie Ack-Probleme von Host und Services werden als Critical noch mitgezählt
There is no ruby version that satisfies the requirement
$ # gem install bundler
Fetching: bundler-2.0.2.gem (100%)
ERROR: Error installing bundler:
bundler requires Ruby version >= 2.3.0.
$ ruby --version
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
EPEL has no higher version of Ruby.
IRC:
[09:35] Anyone trying to use Dashing on CentOS 7, I can't due to ruby being too old: bundler requires Ruby version >= 2.3.0.
[09:36] use rbenv for a newer ruby
[09:40] Thanks @formorer, I'll look into that. Double checking Satellite / EPEL first again.
[09:42] ProfessorKaos64: https://www.softwarecollections.org/en/scls/rhscl/rh-ruby25/
[09:42] software collections are the alternative
Use RHSCL and document how, or use rbenv
.
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.4 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.4"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.4 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.4"
I want to add a title on top of the frame, like on all other widgets but it's not possible. How can I implement this?
Hi there,
I'd like a better indication for when there are 0 unhandled problems for Hosts and Services in the Simplelist widget. See this picture:
When there are 0 unhandled problems (for host problems in this case), there is this big empty space that I wish had a way of conveying that there are no problems in.
One way of achieving this might be creating a green line or box within this box with the number "0" or "OK". Perhaps another option would be to make the entire tile green and have "0" in the middle. I think it would just look better, similarly to how the Meter widget to the left of it has a meter with 0.
I just think it throws off the look and feel of the dashboard when there is a giant tile with text only at the top and bottom.
What do you think?
Thanks!
watermelon
Hi,
the iFrames at the bottom currently only work if the browser has a valid authenticated session with Icinga Web. Is this correct? Is there any way to have the dashboard retrieve the information without authentication (but without disabling authentication altogether)?
Installing Dashing on CentOS 7 (I'm using CentOS 7.6.1810) is a bit of a chore thanks to CentOS no longer having an update ruby vesion in the general repositories. So I had to install Ruby this way - I installed rh-ruby25-ruby-devel
but the process is the same.
I followed all of the instructions and made sure the bundle
installed all of the gems. I amended the paths for the dashing-icinga2.service
from /usr/local/bin/dashing
to /opt/rh/rh-ruby25/root/usr/bin/dashing
. Running /opt/rh/rh-ruby25/root/usr/bin/dashing -p 8005
gives me an error every 5 seconds or so (but I think this may be a red herring as it appears to keep running):
================================================================================
scheduler caught exception:
401 Unauthorized
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:223:in `exception_with_response'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:103:in `return!'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:809:in `process_result'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:725:in `block in transmit'
/opt/rh/rh-ruby25/root/usr/share/ruby/net/http.rb:910:in `start'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:715:in `transmit'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/resource.rb:51:in `get'
/usr/share/dashing-icinga2/lib/icinga2.rb:236:in `getApiData'
/usr/share/dashing-icinga2/lib/icinga2.rb:258:in `getIcingaApplicationData'
/usr/share/dashing-icinga2/lib/icinga2.rb:662:in `run'
/usr/share/dashing-icinga2/jobs/icinga2.rb:27:in `block in <top (required)>'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `trigger_block'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in `block in trigger'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
================================================================================
After copying the dashing-icinga2.service
to the correct systemd folder and running sudo systemctl start dashing-icinga2
it immediately returns an error message and if I look at journalctl -xe
I see:
-- Unit dashing-icinga2.service has begun starting up.
Jul 05 21:15:03 ip-172-30-0-241.ec2.internal dashing[6588]: /usr/bin/env: ruby: No such file or directory
Jul 05 21:15:03 ip-172-30-0-241.ec2.internal systemd[1]: dashing-icinga2.service: main process exited, code
Jul 05 21:15:03 ip-172-30-0-241.ec2.internal systemd[1]: Failed to start Dashing-Icinga2 host/service/netwo
-- Subject: Unit dashing-icinga2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dashing-icinga2.service has failed.
If I run /usr/bin/env ruby
it just sits there until I press Ctrl + C. If I run which ruby
I get /opt/rh/rh-ruby25/root/usr/bin/ruby
.
Unfortunately the instructions don't take into account how things have changed with CentOS. Which is fine. If you're not using it you'll not know until somebody reports it. However I'm a bit lost now on where to do.
Any help appreciated.
Hi,
I've created a simple Docker image based on Debian 9: https://github.com/deric/docker-icinga2-dashing
It might make easier to test the dashing project. Would you accept a PR with a Dockerfile
?
Would it be possible to tag a new release, so that the latest changes are included under some tag?
Running dashing should be quite easy (but currently requires version from github master branch):
docker run -it -p 8005:8005\
-e ICINGA2_API_HOST='localhost'\
-e ICINGA2_API_PORT=5665\
-e ICINGA2_API_USERNAME='root'\
-e ICINGA2_API_PASSWORD='icinga'\
deric/icinga2-dashing:master
I try to start dashing on a different Server than the Icinga master host. The configuration for the API is set in config/icinga2.json
, host is set to the hostname (or IP) of the Icinga master.
When I start dashing, with dashing start -p 8005
these errors occure:
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:8005, CTRL+C to stop
================================================================================
scheduler caught exception:
403 "Tunnel or SSL Forbidden"
/usr/share/ruby/net/http/response.rb:119:in `error!'
/usr/share/ruby/net/http/response.rb:128:in `value'
/usr/share/ruby/net/http.rb:913:in `connect'
/usr/share/ruby/net/http.rb:862:in `do_start'
/usr/share/ruby/net/http.rb:851:in `start'
/usr/local/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:715:in `transmit'
/usr/local/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
/usr/local/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
/usr/local/share/gems/gems/rest-client-2.0.2/lib/restclient/resource.rb:51:in `get'
/usr/share/dashing-icinga2/lib/icinga2.rb:174:in `getApiData'
/usr/share/dashing-icinga2/lib/icinga2.rb:196:in `getIcingaApplicationData'
/usr/share/dashing-icinga2/lib/icinga2.rb:600: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'
When I adopt the host to localhost and forward the port 5665 via SSH tunnel to the remote Icinga master, everything works perfect.
Is a remote connection via API to a different host (Icinga master) not supported?
gem list --local dashing
): dashing (1.3.7, 1.3.4)ruby -v
): ruby 2.0.0p648 (2015-12-16) [x86_64-linux]git show -1
): commit cc03aaaPossibly works on all clients with no more "frozen" dashboards.
Replace the dashing gem with a different server.
I fear that dashing code changes are required which are not part of this project, but upstream (which is dead, and smashing does not have this sort of patches, see Smashing/smashing#31 for example).
This is the working issue for #15 #29 #7
References:
Possible additional fixes:
Is there a preferred ruby version?
RHEL7 didn't have a high enough version, so had to enable RHSCL channel, but that has ruby 2.3, 2.4, 2.5, 2.6 to choose from.
EDIT: Seems to run fine on Ruby 2.6
Hi!
Is it possible to create a dashboard that is context aware about roles and permissions?
Use case is provide a single dashboard to my team but just allow them to see their related hosts and services as it is in Icinga2 Web.
Thanks.
Hi,
I tried to install dashing on a fresh installation of icinga2 and was failing all the time after a call
to the icinga2 API, after a bit of investigation i found that this request :
curl -H 'Accept: application/json' -k -s -u username:password -H 'X-HTTP-Method-Override: GET' -k 'https://testicinga1.samknows.com:5665/v1/objects/hosts' -d '{"attrs":["name","acknowledgement","downtime_depth","last_check"]}'
was failing giving : 401 bad request
seems that the equivalent value for downtime_depth now is called last_in_downtime
i changed it in lib/icinga2.rb and it started to work.
i followed the icinga2 website for the installation and https://linoxide.com/monitoring-2/setup-monitoring-dashing-icinga2/
this to install dashing-icinga2.
Environment Info
dashing (1.3.7) :
commit 14bc597af0dff11a0fe2883fa76b144860b7b9a0
Author: Michael Friedrich <[email protected]>
Date: Wed Aug 23 20:15:05 2017 +0200
Update screenshot
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
ubuntu 16.04
Google Chrome | 60.0.3112.113 (Official Build) (64-bit)
icinga2-bin:2.4.1-2ubuntu1
icinga2-common:2.4.1-2ubuntu1
icinga2-ido-mysql:2.4.1-2ubuntu1
icingaweb2:2.1.0-1ubuntu1.2
icingaweb2-module-doc:2.1.0-1ubuntu1.2
icingaweb2-module-monitoring:2.1.0-1ubuntu1.2
libicinga2:2.4.1-2ubuntu1
php-icinga:2.1.0-1ubuntu1.2
vim-icinga2:2.4.1-2ubuntu1
So, is my installation borked somehow or it's a true API change ?
First off love the dashboard :). It's not really a bug more a question. What is the easiest way to add a simple username/password protection to the dashing board?
I've installed dashing-icinga2 today, on an ubuntu 16.04 openvz
I've followed install instructions, but when I try to open the dashboard I get this sinatra error page:
NoMethodError at /icinga2
undefined method `mappings' for Tilt:Module
file: dashing.rb location: tilt_html_engines line: 151
Previously I've installed this on a RedHat 7 machine without issues, so I don't know if is an ubuntu issue (and sadly I don't have access to the rh7 machine anymore)
Dashing version (gem list --local dashing
):
dashing (1.3.2)
Ruby version (ruby -V
):
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
Version of this project (tarball name, tag name or git show -1
):
commit ccb6e03
Merge: 14bc597 c800bfd
Author: Michael Friedrich [email protected]
Date: Fri Oct 6 11:15:28 2017 +0200
Merge pull request #45 from Icinga/feature/simplemon-green-if-zero
Render Undhandled Problems green if count is zero
Modifications to this project, if any (git diff
):
Operating System and version:
Ubuntu 16.04
Linux watcher 2.6.32-042stab117.14 #1 SMP Tue Aug 30 17:12:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
Client browser and version:
Chrome 61
I installed dashing-icinga, but it's empty. Look at image:
but Icinga2 is running fine. Look:
Any ideas?
git show -1
): commit b24d06cgit diff
): noneHi.
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'
git diff
): NOI am trying to setup cool dashboard for my new icinga setup, below is the URL where I have it setup.
The default dashboard is not appealing enough so trying few new ones. The sample dashboard provided does not show any values in it, can anyone please help me over here.
This issue cannot be solved by us, this is for information purposes only.
Thanks @LordHepipud for the research.
Updates are not processed in the browser, the dashboard looks "frozen".
If you enable the browser dev console, you'll see why.
SCRIPT5009: 'EventSource' is not defined
Microsoft needs to implement SSE in Edge and IE. Feature request: https://wpdev.uservoice.com/forums/257854-project-spartan-platform/suggestions/6263825-server-sent-events-eventsource
Windows 10 and Chrome/Firefox do work.
Dashing runs as Sinatra app inside Thin which uses EventMachine to basically do http long polling, or likewise, server sent events.
This technology exists sind 2012: http://tenderlovemaking.com/2012/07/30/is-it-live.html
All,
I am using the latest vagrant icinga2 build / latest files from the dashing-icinga2 repo and having issues with pulling data and viewing it on the dashboard.
I am able to view the widget data when i restart the dashboard, but if I go to any other part of the site and come back to the dashboard, i get no data.
Any light on this issue will be appreciated. Thanks.
i Just move to dashing-icinga2 1.3.0 and i wanted to change the widget color from red to green like i did in 1.2.0 but it not working.
how can make it change it ?
The following def does not work properly, for some reason it does not exclude hosts that are in downtime:
its weird tho, because the same def is used by services, and that does work.
`def countProblems(objects)
problems = 0
objects.each do |item|
item.each do |k, d|
if (k != "attrs")
next
end
if (d["state"] != 0 && d["downtime_depth"] == 0 && d["acknowledgement"] == 0)
problems = problems + 1
end
end
end
return problems
end`
Hi !
I have a big problem with the dashing and I think it could possibly comes from the cache (but not sure). It was working really well on all of my computers and suddenly it stopped working on my working laptop. No informations are showed except the ones in the iframe, as you can see there:
Although, I've tested on different dashing demo and... no one is working anymore on my laptop.
What is weird here is that it's working like a charm on my others computer. I've looked with one of my colleague and he has the exact same problem: it works on certains computers and doesn't work anymore on the others...
On computers concairned by the bug: it doesn't work on any browser (from Firefox to Chrome).
Thanks for your help and sorry for the bad english :)
Hello
I have a question. Is it possible to implement an auto login for the iFrame window.
When we connect to a specific dashing-icinga over the browser it ask everytime for credentials in the iframe part. Do you know how to implement an auto login parameter for the iframe.
Thanks
We use a dedicated Server for dashing-icinga2 and are very happy with it. The communication with Icinga2 is done so far via the API user + password. Now we would like to switch to a communication with certificates. After I have carried out all necessary steps as described in the instructions, I get the following error messages:
Dashing-Log:
scheduler caught exception:
401 Unauthorized
Icinga2-Log:
information/ApiListener: New client connection for identity 'dashing-server' from [x.x.x.x.]:34900 (no Endpoint object found for identity)
information/HttpServerConnection: Request: GET /v1/status/IcingaApplication (from [x.x.x.x]:34900), user: )
warning/HttpServerConnection: Unauthorized request: GET /v1/status/IcingaApplication
The connection works, but why does Icinga2 need an endpoint object?
_
gem list --local dashing
): 1.3.7getProblemServices()
uses all_services_data which fetches the entire subset of all service objects and their attributes. In large installations this causes lots of unwanted traffic.
This should be reduced to the least amount of data required for calculating the severity and problems.
Furthermore the "has been checked" function checks whether the last_check_result dictionary is set. A more effective check is to not fetch the check result but determine whether last_check
is greater than 0.
Hi.
Using default dashboard with minimal configuration on config/icinga2.json displays wrong data and unexpected behavior on bars.
It changes orientation on mouse over and also display unknown/incorret information.
Check "Downtimes" on below image.
Check "Hosts" after mouse over on below image.
I can provide a public URL if you get in touch privately to show you the behaviours.
Thanks.
Hello,
i got one question.
Is it posible to add the numbers of services and hosts next to the chart?
At the moment i get the number of services when i cross the chart with my mouse.
Thank you very much in advance for your answer!
hi,
with the new allign in the middle, I can't get everything fit on a vertical screen and I have to scroll to the right. Which CSS part I have to change, so that I have nearly no empty space on both sides ?
cu denny
I have dashing installed and working properly. I just had few queries. How does the calculation of service or host down work. The numbers of All problem and the actual problem do not add up. Attached is the screenshot of my setup. Can someone please explain how it works.
I followed the instructions for installation, setup and configuration according to README.md and after running ./restart-dashing
I get the following errors.
The server is a CentOS 7
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
bundler: failed to load command: thin (/usr/local/bin/thin)
LoadError: cannot load such file -- rubyeventmachine
/usr/local/share/gems/gems/eventmachine-1.2.2/lib/eventmachine.rb:8:in `require'
/usr/local/share/gems/gems/eventmachine-1.2.2/lib/eventmachine.rb:8:in `<top (required)>'
/usr/local/share/gems/gems/thin-1.6.4/lib/thin.rb:7:in `require'
/usr/local/share/gems/gems/thin-1.6.4/lib/thin.rb:7:in `<top (required)>'
/usr/local/share/gems/gems/thin-1.6.4/bin/thin:5:in `require'
/usr/local/share/gems/gems/thin-1.6.4/bin/thin:5:in `<top (required)>'
/usr/local/bin/thin:23:in `load'
/usr/local/bin/thin:23:in `<top (required)>
Hi,
I wanna upgrade Dashing, because my monitor computer is not loading dashboards, due to overloading (I guess an upgrade will turn things better...)
Thanks,
gem list --local dashing
): dashing (1.3.7, 1.3.4) (why two dashings?)ruby -V
): 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]git show -1
): dunno how do itgit diff
): dunno how to do itcommit fcedcb403295eaa05fbf5442cc35cfaeb6da9e96
Author: Michael Friedrich <[email protected]>
Date: Wed Sep 30 19:08:24 2015 +0200
Initial import
michi@mbmif ~/coding/icinga/dashing-icinga2 (master=) $ ls -la assets/javascripts/
total 456
drwxr-xr-x 8 michi staff 272 Oct 16 2016 .
drwxr-xr-x 7 michi staff 238 Jun 25 2016 ..
-rw-r--r-- 1 michi staff 869 Oct 16 2016 application.coffee
-rw-r--r-- 1 michi staff 143169 Sep 30 2015 d3-3.2.8.js
-rw-r--r-- 1 michi staff 1254 Sep 30 2015 dashing.gridster.coffee
drwxr-xr-x 4 michi staff 136 Sep 30 2015 gridster
-rw-r--r-- 1 michi staff 20009 Sep 30 2015 jquery.knob.js
-rw-r--r-- 1 michi staff 61096 Sep 30 2015 rickshaw-1.4.3.min.js
michi@mbmif ~/coding/icinga/dashing-icinga2 (master=) $ ls -la assets/fonts/
total 720
drwxr-xr-x 6 michi staff 204 Sep 30 2015 .
drwxr-xr-x 7 michi staff 238 Jun 25 2016 ..
-rw-r--r-- 1 michi staff 37405 Sep 30 2015 fontawesome-webfont.eot
-rw-r--r-- 1 michi staff 197829 Sep 30 2015 fontawesome-webfont.svg
-rw-r--r-- 1 michi staff 79076 Sep 30 2015 fontawesome-webfont.ttf
-rw-r--r-- 1 michi staff 43572 Sep 30 2015 fontawesome-webfont.woff
Hello,
I get a fresh git clone from dashing tool, change the config/icinga2.json file and start the tool.
The dashlet is reachable with my browser, but without any icinga2 api result data.
The API user credentials are correct, a curl test with the icinga2 api works fine.
Only debug found in log/thin.log
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:215:in `execute'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in `execute'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/resource.rb:67:in `post'
/usr/share/dashing-icinga2/lib/icinga2.rb:192:in `getHostObjects'
/usr/share/dashing-icinga2/lib/icinga2.rb:435:in `run'
/usr/share/dashing-icinga2/jobs/icinga2.rb:27:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `trigger_block'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in `block in trigger'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
================================================================================
10.X.47 - - [25/Jan/2017 23:43:15] "GET /events HTTP/1.1" 200 - 31.6190
10.X.47 - - [25/Jan/2017 23:43:15] "GET /icinga2 HTTP/1.1" 200 4405 0.0150
10.X.47 - - [25/Jan/2017 23:43:16] "GET /views/meter.html HTTP/1.1" 200 336 0.0008
10.X.47 - - [25/Jan/2017 23:43:16] "GET /views/list.html HTTP/1.1" 200 609 0.0006
10.X.47 - - [25/Jan/2017 23:43:16] "GET /views/simplemon.html HTTP/1.1" 200 223 0.0006
10.X.47 - - [25/Jan/2017 23:43:16] "GET /views/iframe.html HTTP/1.1" 200 52 0.0007
================================================================================
scheduler caught exception:
Server broke connection
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:780:in `rescue in transmit'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:698:in `transmit'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:215:in `execute'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in `execute'
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-2.0.0/lib/restclient/resource.rb:67:in `post'
/usr/share/dashing-icinga2/lib/icinga2.rb:192:in `getHostObjects'
/usr/share/dashing-icinga2/lib/icinga2.rb:435:in `run'
/usr/share/dashing-icinga2/jobs/icinga2.rb:27:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `trigger_block'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in `block in trigger'
/usr/local/rvm/gems/ruby-2.3.3/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
================================================================================
[...]
Icinga2 looks fine:
[2017-01-25 23:43:16 +0100] information/HttpServerConnection: Request: GET /v1/objects/hosts (from [10.X]:33748, user: dashing)
[2017-01-25 23:43:22 +0100] information/HttpServerConnection: Request: GET /v1/status/IcingaApplication (from [10.X]:33749, user: dashing)
[2017-01-25 23:43:22 +0100] information/HttpServerConnection: Request: GET /v1/objects/hosts (from [10.X]:33750, user: dashing)
[2017-01-25 23:43:26 +0100] information/HttpServerConnection: Request: GET /v1/status/IcingaApplication (from [10.X]:33751, user: dashing)
[2017-01-25 23:43:26 +0100] information/HttpServerConnection: Request: GET /v1/objects/hosts (from [10.X]:33752, user: dashing)
[2017-01-25 23:43:31 +0100] information/HttpServerConnection: Request: GET /v1/objects/services (from [10.X]:33753, user: dashing)
[2017-01-25 23:43:32 +0100] information/HttpServerConnection: Request: GET /v1/status/IcingaApplication (from [10.X]:33754, user: dashing)
[2017-01-25 23:43:32 +0100] information/HttpServerConnection: Request: GET /v1/objects/hosts (from [10.X]:33755, user: dashing)
Any Idea? :)
(we have a few more hosts and services, can this be a problem for the dashing tool?)
Hi,
After upgrading from Fedora 27 to 28 Icinga2 crashes, when I start dashing-icinga2. Because of distribution changes, I had to update the rubygem thin-1.6.4 to thin-1.7.2 (made the changes in Gemfile.lock). This is the error: /usr/local/share/gems/gems/thin-1.6.4/lib/thin/server.rb:107: warning: constant ::Fixnum is deprecated
The problem is reproducible, I just have to start dasing-icinga2.
This is the message in systemd, when icinga2 crashes:
icinga2[1392]: /usr/include/c++/8/bits/unique_ptr.h:328: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp, _Dp>::operator*() const [with _Tp = icinga::Expression; _Dp = std::default_delete<icinga::Expression>; typename std::add_lvalue_reference<_Tp>::type = icinga::Expression&]: Assertion 'get() != pointer()' failed.
Here the crashreport:
Application information:
Application version: r2.9.1-1
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Fedora
Platform version: 28 (Server Edition)
Kernel: Linux
Kernel version: 4.17.11-100.fc27.x86_64
Architecture: x86_64
Build information:
Compiler: GNU 8.1.1
Build host: unknown
Stacktrace:
(0) libc.so.6: gsignal (+0x10b) [0x7fe4a6a7bfeb]
(1) libc.so.6: abort (+0x12b) [0x7fe4a6a665c1]
(2) /usr/lib64/icinga2/sbin/icinga2() [0x9db5d8]
(3) icinga2: icinga::FilterUtility::GetFilterTargets(icinga::QueryDescription const&, boost::intrusive_ptr<icinga::Dictionary> const&, boost::intrusive_ptr<icinga::ApiUser> const&, icinga::String const&) (+0xd1c) [0x8c572c]
(4) icinga2: icinga::ObjectQueryHandler::HandleRequest(boost::intrusive_ptr<icinga::ApiUser> const&, icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptr<icinga::Dictionary> const&) (+0x5bc) [0x8c638c]
(5) icinga2: icinga::HttpHandler::ProcessRequest(boost::intrusive_ptr<icinga::ApiUser> const&, icinga::HttpRequest&, icinga::HttpResponse&) (+0x4d7) [0x8c1c37]
(6) icinga2: icinga::HttpServerConnection::ProcessMessageAsync(icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptr<icinga::ApiUser> const&) (+0x3a) [0x8c1f5a]
(7) icinga2: icinga::WorkQueue::RunTaskFunction(std::function<void ()> const&) (+0x32) [0x95a452]
(8) icinga2: icinga::WorkQueue::WorkerThreadProc() (+0x965) [0x96a705]
(9) libboost_thread.so.1.66.0: <unknown function> (+0x14af1) [0x7fe4a9530af1]
(10) libpthread.so.0: <unknown function> (+0x7594) [0x7fe4a6e0b594]
(11) libc.so.6: clone (+0x3f) [0x7fe4a6b3f0df]
***
* This would indicate a runtime problem or configuration error. If you believe this is a bug in Icinga 2
* please submit a bug report at https://github.com/Icinga/icinga2 and include this stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
[New LWP 8383]
[New LWP 8384]
[New LWP 8385]
[New LWP 8386]
[New LWP 8387]
[New LWP 8396]
[New LWP 8402]
[New LWP 8403]
[New LWP 8413]
[New LWP 8414]
[New LWP 8415]
[New LWP 8416]
[New LWP 8417]
[New LWP 8418]
[New LWP 8419]
[New LWP 8420]
[New LWP 8424]
[New LWP 8425]
[New LWP 8426]
[New LWP 8429]
[New LWP 8430]
[New LWP 8431]
[New LWP 8432]
[New LWP 8433]
[New LWP 8434]
[New LWP 8441]
[New LWP 8450]
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
0x00007fe4a6b0b9a0 in nanosleep () from /lib64/libc.so.6
Thread 28 (Thread 0x7fe4a070f700 (LWP 8450)):
#0 0x00007fe4a6e1592a in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009c403e in icinga::Application::AttachDebugger(icinga::String const&, bool) ()
No symbol table info available.
#2 0x00000000009f48d2 in icinga::Application::SigAbrtHandler(int) ()
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0x00007fe4a6a7bfeb in raise () from /lib64/libc.so.6
No symbol table info available.
#5 0x00007fe4a6a665c1 in abort () from /lib64/libc.so.6
No symbol table info available.
#6 0x00000000009db5d8 in std::__replacement_assert(char const*, int, char const*, char const*) ()
No symbol table info available.
#7 0x00000000008c572c in icinga::FilterUtility::GetFilterTargets(icinga::QueryDescription const&, boost::intrusive_ptr<icinga::Dictionary> const&, boost::intrusive_ptr<icinga::ApiUser> const&, icinga::String const&) ()
No symbol table info available.
#8 0x00000000008c638c in icinga::ObjectQueryHandler::HandleRequest(boost::intrusive_ptr<icinga::ApiUser> const&, icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptr<icinga::Dictionary> const&) ()
No symbol table info available.
#9 0x00000000008c1c37 in icinga::HttpHandler::ProcessRequest(boost::intrusive_ptr<icinga::ApiUser> const&, icinga::HttpRequest&, icinga::HttpResponse&) ()
No symbol table info available.
#10 0x00000000008c1f5a in icinga::HttpServerConnection::ProcessMessageAsync(icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptr<icinga::ApiUser> const&) ()
No symbol table info available.
#11 0x000000000095a452 in icinga::WorkQueue::RunTaskFunction(std::function<void ()> const&) ()
No symbol table info available.
#12 0x000000000096a705 in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#13 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#14 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#15 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 27 (Thread 0x7fe49bf3c700 (LWP 8441)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 26 (Thread 0x7fe4a060b700 (LWP 8434)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 25 (Thread 0x7fe49bcf3700 (LWP 8433)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 24 (Thread 0x7fe49bd34700 (LWP 8432)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 23 (Thread 0x7fe49bd75700 (LWP 8431)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 22 (Thread 0x7fe49bdb6700 (LWP 8430)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 21 (Thread 0x7fe49bdf7700 (LWP 8429)):
#0 0x00007fe4a6b34659 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fe4a082bb79 in pvio_socket_wait_io_or_timeout () from /lib64/libmariadb.so.3
No symbol table info available.
#2 0x00007fe4a082bf98 in pvio_socket_read () from /lib64/libmariadb.so.3
No symbol table info available.
#3 0x00007fe4a0837cb7 in ma_pvio_read () from /lib64/libmariadb.so.3
No symbol table info available.
#4 0x00007fe4a0837e95 in ma_pvio_cache_read () from /lib64/libmariadb.so.3
No symbol table info available.
#5 0x00007fe4a082e857 in ma_real_read () from /lib64/libmariadb.so.3
No symbol table info available.
#6 0x00007fe4a082f2cd in ma_net_read () from /lib64/libmariadb.so.3
No symbol table info available.
#7 0x00007fe4a0833fd1 in ma_net_safe_read () from /lib64/libmariadb.so.3
No symbol table info available.
#8 0x00007fe4a083701b in mthd_my_read_query_result () from /lib64/libmariadb.so.3
No symbol table info available.
#9 0x00000000006f4fc6 in icinga::IdoMysqlConnection::Query(icinga::String const&) ()
No symbol table info available.
#10 0x00000000006f8fae in icinga::IdoMysqlConnection::FinishConnect(double) ()
No symbol table info available.
#11 0x000000000095a452 in icinga::WorkQueue::RunTaskFunction(std::function<void ()> const&) ()
No symbol table info available.
#12 0x000000000096a705 in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#13 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#14 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#15 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 20 (Thread 0x7fe49be38700 (LWP 8426)):
#0 0x00007fe4a6b34659 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x000000000098aa22 in icinga::Socket::Poll(bool, bool, timeval*) ()
No symbol table info available.
#2 0x00000000006be928 in icinga::LivestatusListener::ServerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 19 (Thread 0x7fe49be79700 (LWP 8425)):
#0 0x00007fe4a6e1187a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e1aa4 in boost::condition_variable::do_wait_until(boost::unique_lock<boost::mutex>&, timespec const&) ()
No symbol table info available.
#2 0x0000000000767b46 in icinga::CheckerComponent::CheckThreadProc() ()
No symbol table info available.
#3 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 18 (Thread 0x7fe49beba700 (LWP 8424)):
#0 0x00007fe4a6b34659 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x000000000098aa22 in icinga::Socket::Poll(bool, bool, timeval*) ()
No symbol table info available.
#2 0x000000000075b296 in icinga::ExternalCommandListener::CommandPipeThread(icinga::String const&) ()
No symbol table info available.
#3 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 17 (Thread 0x7fe49bf7d700 (LWP 8420)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 16 (Thread 0x7fe49bfbe700 (LWP 8419)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 15 (Thread 0x7fe49bfff700 (LWP 8418)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 14 (Thread 0x7fe4a0068700 (LWP 8417)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 13 (Thread 0x7fe4a00a9700 (LWP 8416)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 12 (Thread 0x7fe4a00ea700 (LWP 8415)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 11 (Thread 0x7fe4a0342700 (LWP 8414)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 10 (Thread 0x7fe4a0383700 (LWP 8413)):
#0 0x00007fe4a6b3f3ff in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000990839 in icinga::SocketEventEngineEpoll::ThreadProc(int) ()
No symbol table info available.
#2 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#3 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 9 (Thread 0x7fe4a0ca8700 (LWP 8403)):
#0 0x00007fe4a6e14dc7 in accept () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x000000000098ac3b in icinga::Socket::Accept() ()
No symbol table info available.
#2 0x00000000008e6f70 in icinga::ApiListener::ListenerThreadProc(boost::intrusive_ptr<icinga::Socket> const&) ()
No symbol table info available.
#3 0x000000000087650e in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::_Bind<void (icinga::ApiListener::*(icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>))(boost::intrusive_ptr<icinga::Socket> const&)> > > >::_M_run() ()
No symbol table info available.
#4 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#5 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 8 (Thread 0x7fe4a99c4700 (LWP 8402)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000096a80e in icinga::WorkQueue::WorkerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 7 (Thread 0x7fe4a9a05700 (LWP 8396)):
#0 0x00007fe4a6e1187a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e1aa4 in boost::condition_variable::do_wait_until(boost::unique_lock<boost::mutex>&, timespec const&) ()
No symbol table info available.
#2 0x00000000009919cb in icinga::Timer::TimerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 6 (Thread 0x7fe4a9a46700 (LWP 8387)):
#0 0x00007fe4a6e1187a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e1aa4 in boost::condition_variable::do_wait_until(boost::unique_lock<boost::mutex>&, timespec const&) ()
No symbol table info available.
#2 0x000000000098ef3b in icinga::ThreadPool::ManagerThreadProc() ()
No symbol table info available.
#3 0x00007fe4a768e523 in execute_native_thread_routine () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 5 (Thread 0x7fe4a9a87700 (LWP 8386)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000098f87d in icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&) ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 4 (Thread 0x7fe4a9b4a700 (LWP 8385)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000098f87d in icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&) ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7fe4a9b09700 (LWP 8384)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000098f87d in icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&) ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7fe4a9ac8700 (LWP 8383)):
#0 0x00007fe4a6e1152c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000000009e16ac in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
No symbol table info available.
#2 0x000000000098f87d in icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&) ()
No symbol table info available.
#3 0x00007fe4a9530af1 in thread_proxy () from /lib64/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fe4a6e0b594 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007fe4a6b3f0df in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7fe4a9b53900 (LWP 8359)):
#0 0x00007fe4a6b0b9a0 in nanosleep () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fe4a6b0b87a in sleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x00000000009f54aa in icinga::Application::RunEventLoop() ()
No symbol table info available.
#3 0x00000000007f77fb in icinga::IcingaApplication::Main() ()
No symbol table info available.
#4 0x00000000009f2e1e in icinga::Application::Run() ()
No symbol table info available.
#5 0x000000000088acc5 in icinga::DaemonCommand::Run(boost::program_options::variables_map const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const ()
No symbol table info available.
#6 0x00000000009f782d in Main() ()
No symbol table info available.
#7 0x0000000000635ebd in main ()
No symbol table info available.
In view at "Service Problems", "Unhandled Services" and "Problems" no problems should be displayed.
In detailed host and service view below, there are no problems displayed.
In Icinga2 Web2 GUI, there are no problems displayed too.
In view at "Service Problems", "Unhandled Services" and "Problems" are wrong or maybe old data will be displayed.
BUT in detailed host and service view below, there no problems displayed.
In Icinga2 Web2 GUI, there are still no problems.
How can I check from where and how dashing-icinga2 receives the data?
gem list --local dashing
):# gem list --local dashing
*** LOCAL GEMS ***
dashing (1.3.7)
ruby -V
):# ruby -v
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
git show -1
):VERSION=2.0.0
git diff
):CentOS-7 (7.7.1908
)Windows - Firefox 70.0
everything seems to be working i do
./restart-dashing -b /home/sysadmin/.gem/ruby/gems/dashing-1.3.7/bin/dashing
and then i can connect to a blank page host:8005/icinga2 it just has the icinga2 icon on the top left, no widgets. looking at cat ./log/thin.log i can see it pulling objects from my icinga instance just isnt doing anything with them?
Is there any option to remove "Problems" tile from the dashing view?
Hi,
how can I change the date / timezone of the dashlet? It seems that UTC is used by default although my server and icinga has the right timezone set.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.