sumo-check-sumo 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sumo-check-new-relic-apdex.rb +8 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ad1878b3fdbd9fc95bfeecee3cdad26f6f8661d
|
4
|
+
data.tar.gz: '038a67577fe11364d5fcf03f213b5351f3e4d883'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511109e82856da93e64b14ec8b7c3fb919579f053a05cf0f5c7b94185a0b323c381827e08a34bbba7749b695e7b50de1351916743fbf6dd8f46f37777910eba3
|
7
|
+
data.tar.gz: d313e1d86c6827047c0b12b2687d89b3df7488e3d87218ea35a447378b728ae6101db59099fffa3ebdc54a0cad5f691b58241c41bc1835ea7f6749a21eb25a0b
|
@@ -25,9 +25,9 @@ class SensuSumoNewRelicAppdex < Sensu::Plugin::Check::CLI
|
|
25
25
|
:description => "Password to use for test"
|
26
26
|
|
27
27
|
option :app,
|
28
|
-
:short => "-a
|
29
|
-
:long => "--application
|
30
|
-
:default => '
|
28
|
+
:short => "-a 8015924",
|
29
|
+
:long => "--application 8015924",
|
30
|
+
:default => '8015924',
|
31
31
|
:description => "New Relic Application to Monitor"
|
32
32
|
|
33
33
|
option :error_rate_crit,
|
@@ -89,8 +89,11 @@ class SensuSumoNewRelicAppdex < Sensu::Plugin::Check::CLI
|
|
89
89
|
username.value = \"#{config[:password]}\";
|
90
90
|
")
|
91
91
|
browser.element(:xpath => '//*[@id="login_submit"]').click # Click the login button
|
92
|
-
|
93
|
-
browser.
|
92
|
+
browser.element(:xpath => '//*[@id="product_sub_nav"]/li[1]/a').wait_until_present
|
93
|
+
browser.goto "https://rpm.newrelic.com/accounts/967440/applications/#{config[:app]}"
|
94
|
+
#browser.link(:text =>"SumoMe Production").click
|
95
|
+
|
96
|
+
#browser.link(:text =>config[:app]).click
|
94
97
|
|
95
98
|
@monitor_url = browser.url
|
96
99
|
|