fake_sensu 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/generate_responses +1 -0
- data/lib/fake_sensu/responses/0.10.2.json +5 -4
- data/lib/fake_sensu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dff4d0749aa831436d6b59d107a3f108a430aba
|
4
|
+
data.tar.gz: 398d376529f78a657e2116260331f437da771bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9aae81c5ea46d2c848db3401f6ff7172347e4c29476b92d191c51188a9ea9942f3090819c735bc15986b9604809a1640d76af0133882c0e0649c729a0c7228b
|
7
|
+
data.tar.gz: 884a131392c201e7e71aac2590add1a1678ba3a265e976d49900c6d3e5ee6e37ac5b8ca4ecb712628ddf5ddfafb82ab2ae032f2a025a28a68b1c7f5a0001059f
|
data/CHANGELOG.md
CHANGED
data/generate_responses
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"index": {
|
3
|
-
"info": "{\"sensu\":{\"version\":\"0.10.2\"},\"rabbitmq\":{\"keepalives\":{\"messages\":
|
4
|
-
"clients": "[{\"name\":\"i-424242\",\"address\":\"127.0.0.1\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":
|
3
|
+
"info": "{\"sensu\":{\"version\":\"0.10.2\"},\"rabbitmq\":{\"keepalives\":{\"messages\":0,\"consumers\":1},\"results\":{\"messages\":0,\"consumers\":1},\"connected\":true},\"redis\":{\"connected\":true}}",
|
4
|
+
"clients": "[{\"name\":\"i-424242\",\"address\":\"127.0.0.1\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":1377979075},{\"name\":\"www.fqdn.com\",\"address\":\"192.168.5.5\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":1377979075}]",
|
5
5
|
"checks": "[{\"command\":\"echo -n OK\",\"subscribers\":[\"test\"],\"interval\":60,\"name\":\"test\"},{\"command\":\"echo -n OK\",\"subscribers\":[\"tokens\"],\"interval\":60,\"name\":\"tokens\"}]",
|
6
|
-
"events": "[{\"output\":\"CRITICAL\",\"status\":2,\"issued\":
|
6
|
+
"events": "[{\"output\":\"CRITICAL\",\"status\":2,\"issued\":1377979075,\"flapping\":false,\"occurrences\":1,\"client\":\"i-424242\",\"check\":\"test\"},{\"output\":\"No keep-alive sent from client in over 120 seconds\",\"status\":2,\"issued\":1377979235,\"handlers\":[\"default\"],\"flapping\":false,\"occurrences\":2,\"client\":\"i-424242\",\"check\":\"keepalive\"},{\"output\":\"CRITICAL\",\"status\":2,\"issued\":1377979075,\"flapping\":false,\"occurrences\":1,\"client\":\"www.fqdn.com\",\"check\":\"test\"},{\"output\":\"No keep-alive sent from client in over 120 seconds\",\"status\":2,\"issued\":1377979235,\"handlers\":[\"default\"],\"flapping\":false,\"occurrences\":2,\"client\":\"www.fqdn.com\",\"check\":\"keepalive\"}]",
|
7
7
|
"stashes": "[{\"path\":\"tester\",\"content\":{\"key\":\"value\"}},{\"path\":\"test/test\",\"content\":{\"key\":\"value\"}}]"
|
8
8
|
},
|
9
9
|
"show": {
|
10
|
-
"clients/i-424242": "{\"name\":\"i-424242\",\"address\":\"127.0.0.1\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":
|
10
|
+
"clients/i-424242": "{\"name\":\"i-424242\",\"address\":\"127.0.0.1\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":1377979075}",
|
11
|
+
"clients/www.fqdn.com": "{\"name\":\"www.fqdn.com\",\"address\":\"192.168.5.5\",\"subscriptions\":[\"test\"],\"keepalive\":{\"thresholds\":{\"warning\":60,\"critical\":120}},\"timestamp\":1377979075}"
|
11
12
|
}
|
12
13
|
}
|
data/lib/fake_sensu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fake_sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Sebastian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|