Giter VIP home page Giter VIP logo

newrelic_freeradius_agent's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

newrelic_freeradius_agent's Issues

undefined method `[]' for nil:NilClass

Hi,

I am trying to use your plugin with New Relic.
Unfortunately I keep getting this error:

/usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:21:in initialize': undefined method[]' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:11:in new' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:11:insetup_and_run'
from ./newrelic_freeradius_agent:133

I am running Ruby 1.8.7 on Debian 7.2 and have the gems installed with bundler.
Any ideas?

Thanks!

newrelic_freeradius_agent on Ubuntu 10.04

Hi

Im having trouble starting the newrelic_freeradius_agent on a Ubuntu 10.04 vpc thats running ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

*** LOCAL GEMS ***
bundler (1.5.1)
daemons (1.1.9)
json (1.8.0)
newrelic_plugin (1.2.1)

I can confirm that radclient is installed & works with the same hostname and secret (same in newrelic_plugin.yml)

When running ./newrelic_elasticsearch_agent i get:

[Mon Jan 06 23:06:32 UTC 2014] WARN: SSL is disabled by default when using Ruby 1.8.x
[Mon Jan 06 23:06:32 UTC 2014] INFO: Using Ruby SDK version: 1.2.1
[Mon Jan 06 23:06:32 UTC 2014] INFO: Agent FreeRADIUS is at version 0.0.1
[Mon Jan 06 23:06:32 UTC 2014] DEBUG: Start collecting agent data for poll cycle
[Mon Jan 06 23:06:32 UTC 2014] ERROR: Error occurred in poll cycle: undefined local variable or method `poll_cycle' for #<ElasticsearchStatsAgent::Agent:0xb70dc110>
[Mon Jan 06 23:06:32 UTC 2014] DEBUG: Finished collecting agent data for poll cycle
/usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/component.rb:14:in `key': undefined method `+' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:98:in `build_metrics_hash'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:89:in `build_components_array'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:84:in `each'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:84:in `build_components_array'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:69:in `build_request_data_structure'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_platform_binding/request.rb:16:in `deliver'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_plugin/run.rb:128:in `loop_forever'
    from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.2.1/lib/newrelic_plugin/run.rb:15:in `setup_and_run'
    from ./newrelic_elasticsearch_agent:25

Summary view always show 0

Hi.
Your plugin works great. The only thing that I have problems with is that the Summary view shows 0 for Access Requests, Access Challenges‚ Access Accepts, Access Rejects. When I click on a server and enter the Dashboard then I can see that both Access Requests and Access Accepts are > 100 / minute.

Let me know if it would be helpful if I give any details about my setup or if you want to see any logs etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.