monitoring-client 0.2.4 → 0.2.5
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/monitor-system-info +10 -0
- data/lib/monitoring/client/version.rb +1 -1
- metadata +3 -3
data/bin/monitor-system-info
CHANGED
@@ -86,6 +86,16 @@ module Monitoring
|
|
86
86
|
|
87
87
|
def load_config()
|
88
88
|
@config = YAML.load_file(@config_fn)
|
89
|
+
[
|
90
|
+
:profiler_name,
|
91
|
+
].each do |expected_key|
|
92
|
+
unless @config.has_key?(expected_key) &&
|
93
|
+
!@config[expected_key].nil? &&
|
94
|
+
!@config[expected_key].size > 0
|
95
|
+
die("Bad config at #{@config_fn}: "\
|
96
|
+
"Expected #{expected_key} to exist and not be blank")
|
97
|
+
end
|
98
|
+
end
|
89
99
|
end
|
90
100
|
|
91
101
|
def run()
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monitoring-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marc Bowes
|