Simple Uptime Robot Dashing widget
Dashing widget to display a short list of Uptime Robot monitors.
##Usage
Add this to your Gemfile and run bundle install
:
{ | |
"title": "Apache Overview", | |
"services": { | |
"query": { | |
"list": { | |
"2": { | |
"id": 2, | |
"type": "topN", | |
"query": "", | |
"alias": "", |
Simple Uptime Robot Dashing widget
Dashing widget to display a short list of Uptime Robot monitors.
##Usage
Add this to your Gemfile and run bundle install
:
This widget is based on the standard Dashing Meter widget and the Hotness Widget created by Rowanu.
Use it as the standard Meter widget and add the following attributes in your dashboard elements declaration :
Flying Widgets adds CSS3 transitions to your dashboard, allowing you to cycle through multiple widget sets on a single TV without page reloads, using stylish CSS3 transitions. You can even still re-order your widgets and save their locations!
Note that sinatra-cyclist is a potential alternative if the machine you use to display your dashboards is lacking in graphics horsepower.
To use, put this file in assets/javascripts/cycleDashboard.coffee. Then find this line in application.coffee:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
# For a list of vagrant boxes visit the site below | |
# http://www.vagrantbox.es/ | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
#! /usr/bin/python | |
#Run this locally on your remote gns3 server | |
#copy output to file on your local desktop | |
#upload license file at gns3.yourdomain:8000/upload | |
#upload your iou file at same spot if you haven't done so | |
print "\n*********************************************************************" | |
print "Cisco IOU License Generator - Kal 2011, python port of 2006 C version" | |
import os | |
import socket | |
import hashlib |
#!/bin/sh | |
WAN_IP=`curl ifconfig.io/ip` | |
OLD_WAN_IP=`cat /var/CURRENT_WAN_IP.txt` | |
if [ "$WAN_IP" = "$OLD_WAN_IP" ] | |
then | |
echo "IP Unchanged" | |
else | |
curl https://www.cloudflare.com/api_json.html \ | |
-d 'a=rec_edit' \ | |
-d 'tkn=8afbe6dea02407989af4dd4c97bb6e25' \ |
#!/usr/bin/env bash | |
# Step 1: Fill in EMAIL, TOKEN, DOMAIN and SUBDOMAIN. Your API token is here: https://www.cloudflare.com/a/account/my-account | |
# Make sure the token is the Global token, or has these permissions: #zone:read, #dns_record:read, #dns_records:edit | |
# Step 2: Create an A record on Cloudflare with the subdomain you chose | |
# Step 3: Run "./ddns.sh -l" to get the zone_id and rec_id of the record you created. | |
# Fill in ZONE_ID and REC_ID below | |
# This step is optional, but will save you 2 requests every time you this script | |
# Step 4: Run "./ddns.sh". It should tell you that record was updated or that it didn't need updating. | |
# Step 5: Run it every hour with cron. Use the '-s' flag to silence normal output |
#!/bin/sh | |
TMPFILE="/tmp/innobackupex-runner.$$.tmp" | |
USEROPTIONS="--user=XXX --password=XXX" | |
FILTERTABLES="--include=.*[.].*" | |
BACKDIR=/var/mysql-bak | |
BASEBACKDIR=$BACKDIR/base | |
INCRBACKDIR=$BACKDIR/incr | |
FULLBACKUPLIFE=3600 #604800 # How long to keep incrementing a backup for, minimum 60 | |
KEEP=1 # Keep this number of backups, appart form the one currently being incremented |
8.2.3. HTTP log format | |
---------------------- | |
The HTTP format is the most complete and the best suited for HTTP proxies. It | |
is enabled by when "option httplog" is specified in the frontend. It provides | |
the same level of information as the TCP format with additional features which | |
are specific to the HTTP protocol. Just like the TCP format, the log is usually | |
emitted at the end of the session, unless "option logasap" is specified, which | |
generally only makes sense for download sites. A session which matches the | |
"monitor" rules will never logged. It is also possible not to log sessions for |