sumo-check-sumo 0.0.8 → 0.0.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 370647012a9d2fc0e495daa54e5a7836a91fe736
4
- data.tar.gz: 770225e31019dc1e58c4808cf9f6926b03b81a5b
3
+ metadata.gz: 5ad1878b3fdbd9fc95bfeecee3cdad26f6f8661d
4
+ data.tar.gz: '038a67577fe11364d5fcf03f213b5351f3e4d883'
5
5
  SHA512:
6
- metadata.gz: 30180b25080a12578a691bc11595043f2f12b084608287adb286aa89bc4ed65b7d12a65ffc7ea69211025d3ac63d0f4fceb05998944157800bbe8a90387dd7c9
7
- data.tar.gz: 9f6e4042b82fd43f27d7d9d0df22b9d30743d2490529197042b1a36c20422be75940810a7cbff3b574b63b338ebeb34010e2db3f0cd7fe835c795881e33ab6d2
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 urabus",
29
- :long => "--application urabus",
30
- :default => 'urabus',
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
- # browser.link(:text =>"SumoMe Production").click
93
- browser.link(:text =>config[:app]).click
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumo-check-sumo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr. Ogg