eksoverzero / newrelic_freeradius_agent Goto Github PK
View Code? Open in Web Editor NEWFreeRADIUS monitoring through New Relic
License: MIT License
FreeRADIUS monitoring through New Relic
License: MIT License
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:in
setup_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!
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.