##Preview
Simple Dashing widget (and associated job) to display current alerts from your server density account.
##Dependencies
Add it to dashing's gemfile:
gem 'httparty'
and run bundle install
. Everything should work now :)
##Usage
To use this widget, copy server_density_alerts.html
, server_density_alerts.coffee
, and server_density_alerts.scss
into the /widgets/server_density_alerts
directory. Put the server_density_alerts.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="server-density-alerts" data-view="ServerDensityAlerts" data-title="Server Density" ></div>
</li>
##Settings
You'll need to add the your username, password and server density account url to your environment. Use the following names: SERVER_DENSITY_USERNAME, SERVER_DENSITY_PASSWORD, SERVER_DENSITY_ACCOUNT
Hello, I can't see my alerts into the dashing widget ... I've added
and i see that they are ok. But nothing when i try to see what is written into data[].
Would you have an idea ?
Thank you
Guillaume