circonus 3.6.8 → 3.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/circonus-add-ssh-check +1 -2
- metadata +1 -1
data/bin/circonus-add-ssh-check
CHANGED
@@ -134,8 +134,7 @@ puts "Adding rule sets"
|
|
134
134
|
######## ssh absence alert #########
|
135
135
|
checkids.each do |cid|
|
136
136
|
rcid = cid.split('/').last.to_i
|
137
|
-
|
138
|
-
rs = mib_add_rule_set!('duration',{'link'=>'http://docs.turner.com/display/SRE/Circonus+TCP+Check+ERP','notes'=>'This alert is a test to see if a node is actually online using the responsiveness of the ssh port. If this is alerting it means the node in the alert is likely offline'})
|
137
|
+
rs = mib_add_rule_set!('duration',{'link'=>'http://docs.turner.com/display/SRE/Circonus+TCP+Check+ERP','notes'=>'This alert is a test to see if a node is actually online using the responsiveness of the ssh port. If this is alerting it means the node in the alert is likely offline','check'=>rcid})
|
139
138
|
mib_add_rule!(rs,{"criteria"=>"on absence", "severity"=>1, "value"=>300})
|
140
139
|
|
141
140
|
r = @cu.circonus.add_rule_set(rs)
|