willjohnson / dashing-server-monitor

A simple server monitor for the Dashing dashboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dashing-server-monitor

A simple server monitor for the Dashing dashboard.

(Originally located at https://gist.github.com/willjohnson/6313986 but moved to a repo to better track changes)

Description

A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.

Usage

  1. Add the widget HTML to your dashboard
    <li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
      <div data-id="server_status" data-view="ServerStatus" data-title="Server Status"></div>
    </li>
  1. Create a directory titled "server_status" under your widgets directory and move server_status.coffee, server_status.html, and server_status.scss into that directory.

  2. Modify the servers array of the server_status.rb file.

  3. Move server_status.rb into your jobs folder.

About

A simple server monitor for the Dashing dashboard.


Languages

Language:Ruby 46.9%Language:CSS 33.6%Language:HTML 18.1%Language:CoffeeScript 1.4%