bin/riemann-memcached in riemann-tools-0.1.7 vs bin/riemann-memcached in riemann-tools-0.1.8
- old
+ new
@@ -21,10 +21,10 @@
while true
stats = sock.gets
break if stats.strip == 'END'
m = stats.match /STAT (\w+) (\S+)/
report(
- :host => opts[:memcached_host],
+ :host => opts[:memcached_host].dup,
:service => "memcached #{m[1]}",
:metric => m[2].to_f,
:state => 'ok',
:tags => ['memcached']
)