Comments (5)
Please continue over at https://monitoring-portal.org
from dashing-icinga2.
How did you change it in the old version?
from dashing-icinga2.
in the send_event i just change for example color from 'red' to 'green'. but.
#down, critical, warning, unknown
my_host_color = host_down_adjusted.to_i > 0 ? 'red' : 'green'
send_event('icinga-host-down', {
value: host_down_adjusted.to_s,
color: my_host_color
})
from dashing-icinga2.
Look into the current code:
https://github.com/Icinga/dashing-icinga2/blob/master/jobs/icinga2.rb#L100
Neither the jobs code nor the library code will be the same on updates. There's no way to provide a stable interface -- you need to verify your code changes and re-apply them after an update, if they apply cleanly.
In this case, the event target changed.
from dashing-icinga2.
I know. it already compare both Code
i tried to change the color of unhandled host for example from red to green but it is not working.
puts "Host Down: " + icinga.host_count_problems_down.to_s
send_event('icinga-host-problems-down', {
value: icinga.host_count_problems_down.to_s,
moreinfo: "All Problems: " + icinga.host_count_down.to_s,
color: 'green' })
from dashing-icinga2.
Related Issues (20)
- cookies problem on CHROME HOT 8
- Very Long Delay Behind MS App Proxy before Data Shown HOT 11
- Maintainer wanted HOT 9
- I can't set TZ (TimeZone) for container HOT 3
- No information is shown until service is restarted HOT 17
- No data on icinga2-Dashboard HOT 4
- Question: Change data-sizey lower than 1? HOT 2
- Empty Icinga2-Dashboard HOT 2
- [Bug] Receiving 401 errors after Installation HOT 17
- [Bug] DOWN Hosts are not displayed correctly and throw errors: "no implicit conversion of nil into string" HOT 2
- Invalid yield in layout.erb HOT 3
- Multiple Services for single Host with same name are not displayed individually HOT 1
- Pie-chart widgets render too big HOT 1
- sharing dashboards HOT 3
- Restart-Dashing script does not work ubuntu HOT 2
- Guidance modifying dashlet HOT 7
- Disable roundchart animation HOT 3
- Can't get dashing-icinga2 to work HOT 5
- dashing-icinga2, installation not working
- deploy two or more dashing on the same icinga2 Instance.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashing-icinga2.