sensu-checks-http-response-time 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a1b64f03ccff1ff6c211f2836b74f30a644a3bc
4
- data.tar.gz: 24d97ccf3ccba0252916b2d8e8613bb95d5d144c
3
+ metadata.gz: 4541aa15a653b7ace067bb88952db68e46b33aba
4
+ data.tar.gz: 84f56fdea7409a7014bae4dddd933de1607238d6
5
5
  SHA512:
6
- metadata.gz: 1d854ec5894cfa793c8374a411b7d38eed194d4f73e4938b19b4407f0176bca6960214544a4d2c37dd1e4e0ad1dbd4fe6c45c09e945f1e09904e5a1a8c8d0bbd
7
- data.tar.gz: 9dd0ff97a1a5285b8eed08cf53d33403210988b59b5ea912cf983b3d43038ea019df64f3bfb7f9bd3c99f5656b28cb386bce2b835ceb836711e08ee384a2bd00
6
+ metadata.gz: 9cb21ea527d7670460cb515d78b0bce2b8d656b8767a2a0c546cfa70dfaa004ee024a97e19c405dfc12070944d473b47d91aef25d18d58cdba49af2eb9489962
7
+ data.tar.gz: f60f13dc85860fdc7a345a93681dd7f6dc39ce7194fb291bbb7df985fbbda01692776b57d0204e3cc7c6ce9a6b48a02b9285ae39cff9ca3fab4ed58b0d85bdfd
@@ -103,7 +103,7 @@ class CheckHttpResponseTime < Sensu::Plugin::Check::CLI
103
103
  command += "sudo " if config[:sudo]
104
104
 
105
105
  # basic command
106
- command += "curl -sq "
106
+ command += "LANG=en_GB curl -s -o /dev/null "
107
107
 
108
108
  # add all headers
109
109
  config[:headers].split(',').each do |header_string|
@@ -110,7 +110,7 @@ class MetricHttpResponseTime < Sensu::Plugin::Metric::CLI::Graphite
110
110
  command += "sudo " if config[:sudo]
111
111
 
112
112
  # basic command
113
- command += "curl -sq "
113
+ command += "LANG=en_GB curl -s -o /dev/null "
114
114
 
115
115
  # add all headers
116
116
  config[:headers].split(',').each do |header_string|
@@ -2,7 +2,7 @@ module SensuChecksHttpResponseTime
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 7
5
+ PATCH = 8
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-checks-http-response-time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - vmpublishing development
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
11
+ date: 2018-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin