diff options
| author | Steve Kemp <steve@steve.org.uk> | 2013-10-07 15:37:34 +0100 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2013-10-07 15:37:34 +0100 | 
| commit | 3961a0bf3e1ef5367056223989c03669a090f50b (patch) | |
| tree | e7b7d50383acf9e09247ba5625c0f760f242ead0 | |
| parent | 1c2c0df59d80e60598585dd93abbf9c1eccada08 (diff) | |
  fixed escaping.
| -rw-r--r-- | lib/custodian/alerts/graphite.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/custodian/alerts/graphite.rb b/lib/custodian/alerts/graphite.rb index b00833e..abea54d 100644 --- a/lib/custodian/alerts/graphite.rb +++ b/lib/custodian/alerts/graphite.rb @@ -56,7 +56,7 @@ module Custodian          #  The key we'll send          #          str  = "#{test}-#{host}" -        str.gsub!(/\\\./, "-") +        str.gsub!(/[\/\\.]/, "-")          str  = "monitor.#{str}"          system( "/bin/echo '#{str} #{ms} #{Time.now.to_i}' | nc localhost 2003 -q1" ) | 
