continuent-tools-monitoring 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tungsten_java_thread_count +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf9b629e77a124879764aa00721cc525b33d371
|
4
|
+
data.tar.gz: 706b7dfefad2a3e309deb16b9c38a1f5d5dcfa07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70461d208b6ed25b1b70f7332e64562cbc929e7884cb40481a47a6dedf819c473e487b84d0e8c557d0a7dbe00bf11d99fa69879e2e29b26ea89ab27ec097e9d7
|
7
|
+
data.tar.gz: dce924808f271092e0204dd9f8aea10477078987d4352e31a80e33e36fd5e317477fb5fd3ec8d62f744f8e89a4ba47019ca9506f273a7e8a6526e7250321b85a
|
@@ -29,7 +29,7 @@ class ContinuentToolsMonitoringJavaThreadCount
|
|
29
29
|
|
30
30
|
def main
|
31
31
|
begin
|
32
|
-
pid = TU.tungsten_cmd_result("tungsten_java_pid --component=#{opt(:component)}")
|
32
|
+
pid = TU.tungsten_cmd_result("tungsten_java_pid --directory=#{TI.root()} --component=#{opt(:component)}")
|
33
33
|
rescue CommandError => ce
|
34
34
|
TU.debug(ce)
|
35
35
|
return
|
@@ -75,8 +75,12 @@ class ContinuentToolsMonitoringJavaThreadCount
|
|
75
75
|
return TU.is_valid?()
|
76
76
|
end
|
77
77
|
|
78
|
+
unless TU.which("jstack")
|
79
|
+
TU.error("Unable to find the jstack command")
|
80
|
+
end
|
81
|
+
|
78
82
|
begin
|
79
|
-
TU.tungsten_cmd_result("tungsten_java_pid --component=#{opt(:component)} --validate")
|
83
|
+
TU.tungsten_cmd_result("tungsten_java_pid --directory=#{TI.root()} --component=#{opt(:component)} --validate")
|
80
84
|
rescue CommandError => ce
|
81
85
|
TU.debug(ce)
|
82
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: continuent-tools-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Continuent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: continuent-tools-core
|