circonus 3.6.5 → 3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/circonus-add-http-check +1 -1
- metadata +2 -2
data/bin/circonus-add-http-check
CHANGED
@@ -210,7 +210,7 @@ checkids.each do |cid|
|
|
210
210
|
end
|
211
211
|
######## http status code alert #########
|
212
212
|
rs = mib_add_rule_set!('code',{'metric_type'=>'text','check'=>rcid})
|
213
|
-
mib_add_rule!(rs,{ "criteria"=>"does not contain", "severity"=>
|
213
|
+
mib_add_rule!(rs,{ "criteria"=>"does not contain", "severity"=>1, "value"=>'^[23]\\d\\d$' })
|
214
214
|
#pp rs
|
215
215
|
r = @cu.circonus.add_rule_set(rs)
|
216
216
|
if not r.nil? then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circonus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|