Giter Site home page Giter Site logo

Comments (8)

djoos avatar djoos commented on August 16, 2024

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.

djoos avatar djoos commented on August 16, 2024

We've updated the thread at http://community.opscode.com/cookbooks/newrelic/comments - we will close the issue.

from newrelic.

amorcomb avatar amorcomb commented on August 16, 2024

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.

djoos avatar djoos commented on August 16, 2024

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.

amorcomb avatar amorcomb commented on August 16, 2024

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.

djoos avatar djoos commented on August 16, 2024

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.

amorcomb avatar amorcomb commented on August 16, 2024

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.

djoos avatar djoos commented on August 16, 2024

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)

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.