This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Process "flapjack" should be running | |
On host `127.0.0.1' | |
Failure/Error: it { should be_running } | |
expected Process "flapjack" to be running | |
sudo -p 'Password: ' /bin/sh -c ps\ -C\ flapjack\ -o\ pid\=\ \|\ head\ -1 | |
# ./spec/serverspec/flapjack_spec.rb:32:in `block (2 levels) in <top (required)>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subject: Flapjack 1.3.0 released | |
Body: | |
Flapjack 1.3.0 has been released, including packages for Ubuntu Precise and Trusty, Debian Wheezy, and CentOS 6. | |
Key new features: | |
* Tuneable notification delays * | |
This allows a check to override the default 30 second failure delay before notifications are sent, to an arbitrary amount of time. The property can be set by the API, or from incoming events. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"checks": { | |
"check_flapper": { | |
"handlers": ["default"], | |
"command": "PATH=$PATH:/usr/lib/nagios/plugins check_tcp -H 10.0.2.15 -p 12345", | |
"interval": 5, | |
"standalone": true | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'cinch' | |
bot = Cinch::Bot.new do | |
configure do |c| | |
c.server = "irc.freenode.org" | |
c.channels = ["##jessetest"] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tue 4 Nov 2014 15:48:19 ACDT | |
PING 192.168.178.1 (192.168.178.1): 56 data bytes | |
64 bytes from 192.168.178.1: icmp_seq=0 ttl=64 time=2.168 ms | |
64 bytes from 192.168.178.1: icmp_seq=1 ttl=64 time=1.633 ms | |
64 bytes from 192.168.178.1: icmp_seq=2 ttl=64 time=4.955 ms | |
64 bytes from 192.168.178.1: icmp_seq=3 ttl=64 time=1.546 ms | |
64 bytes from 192.168.178.1: icmp_seq=4 ttl=64 time=1.604 ms | |
64 bytes from 192.168.178.1: icmp_seq=5 ttl=64 time=1.460 ms | |
64 bytes from 192.168.178.1: icmp_seq=6 ttl=64 time=1.969 ms | |
Request timeout for icmp_seq 7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@flapjack ~]$ wget http://packages.flapjack.io/rpm/flapjack-1.2.0~rc2~20141017115520_v1.2.0rc2_6-1.el6.x86_64.rpm | |
--2014-10-21 12:51:18-- http://packages.flapjack.io/rpm/flapjack-1.2.0~rc2~20141017115520_v1.2.0rc2_6-1.el6.x86_64.rpm | |
Resolving packages.flapjack.io... 176.32.100.202 | |
Connecting to packages.flapjack.io|176.32.100.202|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 65640944 (63M) [application/x-redhat-package-manager] | |
Saving to: `flapjack-1.2.0~rc2~20141017115520_v1.2.0rc2_6-1.el6.x86_64.rpm' | |
100%[=======================================================================>] 65,640,944 54.9K/s in 14m 53s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ FF=true be rake capybara | |
/Users/jesse/.rbenv/versions/2.1.3/bin/ruby -S rspec spec/capybara/01_no_data_spec.rb spec/capybara/02_simulated_data_spec.rb spec/capybara/03_contacts_spec.rb | |
......*Connection to 127.0.0.1 closed. | |
FFFFFFFFOK | |
Connection to 127.0.0.1 closed. | |
Connection to 127.0.0.1 closed. | |
FFFFFOK | |
Connection to 127.0.0.1 closed. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"service_key": "xxx", | |
"event_type": "trigger", | |
"incident_key": "foo-app-01.example:Load", | |
"description": "Problem: \"Load\" on foo-app-01.example is Critical, CRITICAL: Load: 5m = 69.95 (1m: 116.26, 30m: 12.10) (should be < 16.0%)" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen <%= server_name %>:80; | |
server_name <%= server_name %>; | |
access_log /var/log/nginx/<%= short_name %>-access.log; | |
error_log /var/log/nginx/<%= short_name %>-error.log; | |
server_name_in_redirect off; | |
server_tokens off; | |
# Normalise Accept-Encoding header for later reuse. | |
if ($http_accept_encoding ~ gzip){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloud-init v. 0.7.5 running 'init-local' at Thu, 28 Aug 2014 13:16:04 +0000. Up 11.92 seconds. | |
Cloud-init v. 0.7.5 running 'init' at Thu, 28 Aug 2014 13:16:06 +0000. Up 14.33 seconds. | |
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++ | |
ci-info: +--------+------+---------------+---------------+-------------------+ | |
ci-info: | Device | Up | Address | Mask | Hw-Address | | |
ci-info: +--------+------+---------------+---------------+-------------------+ | |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | | |
ci-info: | eth0 | True | 10.181.16.240 | 255.255.255.0 | 22:00:0b:4d:0a:a7 | | |
ci-info: +--------+------+---------------+---------------+-------------------+ | |
ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++ |