Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metric collection problem #3

Open
Meibella opened this issue Oct 11, 2016 · 0 comments
Open

metric collection problem #3

Meibella opened this issue Oct 11, 2016 · 0 comments

Comments

@Meibella
Copy link

Hi,
I have tried to use the plugin (running from a windows machine)
but it does not seem to work.
double checked the config with correct license key/access credental/bucket name
(btw, do we need to use bucket name or endpoint url here?)
thx

newrelic:

Update with your New Relic account license key:

license_key: '1234567'

Set to '1' for verbose output, remove for normal output.

All output goes to stdout/stderr.

verbose: 1

Proxy configuration:

#proxy:

address: localhost

port: 8080

user: nil

password: nil

Use this shared block if all your buckets use the same AWS

credentials. Can use other values for each bucket, though.

s3_creds: &s3_creds
access_key_id: yyyyyyyyyyy
secret_access_key: yyyyyyyyy

Agent Configuration:

agents:
s3:
- bucket_name: xxxxxxxxx
region: us-east-1
<<: *s3_creds

2016-10-11 20:47:49 UTC] DEBUG: Stacktrace:
C:/Ruby23-x64/lib/ruby/2.3.0/net/http.rb:933:in connect_nonblock' C:/Ruby23-x64/lib/ruby/2.3.0/net/http.rb:933:inconnect'
C:/Ruby23-x64/lib/ruby/2.3.0/net/http.rb:863:in do_start' C:/Ruby23-x64/lib/ruby/2.3.0/net/http.rb:858:instart'
C:/Ruby23-x64/lib/ruby/2.3.0/delegate.rb:83:in method_missing' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/net_http/connection_pool.rb:281:instart_session'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/net_http/connection_pool.rb:93:in session_for' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/net_http/handler.rb:116:insession'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/net_http/handler.rb:68:in transmit' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/net_http/handler.rb:42:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/plugins/content_length.rb:12:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_request_signer.rb:88:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_request_signer.rb:23:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/xml/error_handler.rb:8:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/helpful_socket_errors.rb:10:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_request_signer.rb:65:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_redirects.rb:15:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:87:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:118:in retry_request' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:101:inretry_if_possible'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:89:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:118:inretry_request'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:101:in retry_if_possible' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:89:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:118:in retry_request' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:101:inretry_if_possible'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/retry_errors.rb:89:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_dualstack.rb:31:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_accelerate.rb:42:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_md5s.rb:31:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb:21:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb:12:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_bucket_dns.rb:31:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/rest/handler.rb:7:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/user_agent.rb:12:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/plugins/endpoint.rb:41:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb:39:in manage_keys' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb:31:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/param_validator.rb:21:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/plugins/raise_response_errors.rb:14:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_sse_cpk.rb:19:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_dualstack.rb:23:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/s3_accelerate.rb:33:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/param_converter.rb:20:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/aws-sdk-core/plugins/response_paging.rb:26:in call' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/plugins/response_target.rb:21:incall'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/request.rb:70:in send_request' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.6/lib/seahorse/client/base.rb:207:inblock (2 levels) in define_operation_methods'
newrelic_s3_agent:25:in poll_cycle' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/agent.rb:139:inrun'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:143:in block in run_agent_data_collection' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:ineach'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in run_agent_data_collection' C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:127:inloop_forever'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:in setup_and_run' newrelic_s3_agent:50:inmodule:S3Agent'
newrelic_s3_agent:9:in `

'
[2016-10-11 20:47:49 UTC] DEBUG: Finished collecting agent data for poll cycle
[2016-10-11 20:47:49 UTC] DEBUG: Component with name "xxxxxxxxx" and guid "io.adstage.newrelic-s3-plugin" had no metrics
[2016-10-11 20:47:49 UTC] DEBUG: JSON payload: {"agent":{"version":"1.0.1"},"components":[]}
[2016-10-11 20:47:49 UTC] WARN: HTTP Connection Error: #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[2016-10-11 20:47:49 UTC] INFO: Gathered 0 statistics from 0 components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant