Comments (8)
We've replied to anaxgorous via http://community.opscode.com/cookbooks/newrelic/comments - it seems that the issue is caused by custom modifications to /recipes/server-monitor.rb.
from newrelic.
We've updated the thread at http://community.opscode.com/cookbooks/newrelic/comments - we will close the issue.
from newrelic.
Thanks for the quick update. I've uploaded version 0.4.0 and executed it after updating my license keys:
[2012-12-03T03:29:39+00:00] INFO: Processing package[newrelic-sysmond] action install (newrelic::server-monitor line 9)
Error executing action install
on resource 'package[newrelic-sysmond]'
Chef::Exceptions::Package
No version specified, and no candidate version available for newrelic-sysmond
Resource Declaration:
In /var/cache/chef/cookbooks/newrelic/recipes/server-monitor.rb
9: package "newrelic-sysmond" do
10: action :install
11: end
12:
Compiled Resource:
Declared in /var/cache/chef/cookbooks/newrelic/recipes/server-monitor.rb:9:in `from_file'
package("newrelic-sysmond") do
recipe_name "server-monitor"
cookbook_name "newrelic"
retry_delay 2
action [:install]
package_name "newrelic-sysmond"
retries 0
end
Look like the same issue: No version specified, and no candidate version available for newrelic-sysmond
from newrelic.
Hi @amorcomb,
thanks for your feedback. Hmmm - that is indeed the same issue you were getting before...
What OS are you running? And: what chef-client version? (chef-client --version)
Thanks in advance!
Kind regards,
David
from newrelic.
This is Amazon Linux AMI instance hosted in EC2, essentially CentOS 5.
"The Amazon Linux AMI is based on RHEL 5.x and parts of RHEL6. One of our goals is binary compatibility with RHEL 5.x, and therefore CentOS5.x."
Chef: 10.16.2
from newrelic.
Hi,
could you try adding "amazon" to line 45 of recipes/install.rb and see how that goes?
So, edit recipes/install.rb:
when "redhat", "centos", "fedora", "scientific"
...becomes...
when "redhat", "centos", "fedora", "scientific", "amazon"
Upload the cookbook to your chef server, delete your chef cache (/var/cache/chef - always good) on the client (Amazon instance) and run chef-client again.
Thanks in advance for your feedback!
Kind regards,
David
from newrelic.
Brilliant! You nailed it. Just spun up an instance and executed recipe[newrelic]:
newrelic 5922 0.0 0.0 23152 348 ? Ss 20:13 0:00 /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/newrelic/nrsysmond.pid
newrelic 5924 0.0 0.1 103384 2528 ? Sl 20:13 0:02 /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/newrelic/nrsysmond.pid
Will you be releasing a new version with this patch? Much Thanks.
from newrelic.
Great!
I'll try to add amazon support in tomorrow morning and then I'll release the updated version to the Opscode community.
Glad we got to the bottom of it!
Have a great evening!
David
from newrelic.
Related Issues (20)
- Newrelic dot APM agent doesnot upgrade HOT 4
- doesn't support strip_command_line parameter HOT 2
- Every node attribute used a default value to a property needs a `lazy { }` around it. HOT 6
- Cannot overwrite windows newrelic-infra agent source HOT 1
- Cloning resource attributes for service[newrelic-daemon] from prior resource HOT 1
- [agent_dotnet] Add support for enabling distributed tracing on the newrelic.config.erb template HOT 1
- Error executing action `enable` on resource 'newrelic_agent_infrastructure[Install]' is failing on debian7
- Default value of 'windows_checksum' in newrelic/resources/agent_infrastructure.rb does not match computed checksum HOT 1
- Recipe newrelic::java_agent fails install with the `Error executing action run on resource execute[newrelic_install_newrelic.jar]` HOT 2
- hello-world
- Hi world HOT 1
- Distributed Tracing feature in PHP Agent cookbook doesn't work
- add max_procs for newrelic_infra.yml
- Saleem A. H
- Compile Error on server_monitor.rb HOT 2
- "platform?" bug after ugprading newrelic version HOT 2
- Adding add event_queue_depth attribute to newrelic-infra.yml file is not there
- Cookbook failed on chef-client 17.8.25 HOT 2
- Hello World
- Please add Ubuntu 22.04 support, Ubuntu 20.04 fails with malformed repository line
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic.