sumo-check-sumo 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sumo-platform-audit.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d566bf11334bb178ae047303b430323e9285276e
|
4
|
+
data.tar.gz: 46e47bc749c5172db7dc94caa3c2df7e1c106eda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b9adbf493e1f257404f9d7c8781e2b62ae70423139d94a11cf8888fcccee75fc392f13b629989beb9fc60bb2173075eeb9b60cd006c84d151a2691f7f29e2c4
|
7
|
+
data.tar.gz: 6483687cce78adda97798ed8565d95810ca7a02f92fe5877501dfcb4c9a3ad8cf6bf126515e1a1a33548f7556d1315b9b7b28cc95676f987623fe52ec5e2b8d6
|
data/bin/sumo-platform-audit.rb
CHANGED
@@ -64,8 +64,8 @@ class SumoPlatformAudit < Sensu::Plugin::Metric::CLI::Graphite
|
|
64
64
|
timestamp = Time.now.to_i
|
65
65
|
|
66
66
|
result.each_hash do |row|
|
67
|
-
output "#{check_prefix_name}.#{row["platform"]}.site_count",row["site_count"].to_i,timestamp
|
68
|
-
output "#{check_prefix_name}.#{row["platform"]}.crawler_count",row["crawler_count"].to_i,timestamp
|
67
|
+
output "#{check_prefix_name}.#{row["platform"]}.site_count".tr(' ', '_'),row["site_count"].to_i,timestamp
|
68
|
+
output "#{check_prefix_name}.#{row["platform"]}.crawler_count".tr(' ', '_'),row["crawler_count"].to_i,timestamp
|
69
69
|
end
|
70
70
|
|
71
71
|
ok
|