Giter Club home page Giter Club logo

Comments (13)

blkperl avatar blkperl commented on June 30, 2024

Would you be willing to submit a pull request?

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

I am in the process of making a plugin; will only support varnish 3 though as v2 had issues with system libraries and collectd requiring manual building

Sent from my iPhone

On Jan 17, 2014, at 6:37 PM, William Van Hevelingen [email protected] wrote:

Would you be willing to submit a pull request?


Reply to this email directly or view it on GitHub.

from puppet-collectd.

blkperl avatar blkperl commented on June 30, 2024

Sounds good

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

I have the plugin written, but it doesn't appear to install the required package. How would I go about doing that? In the previous plugins I've written the packages are already installed with collectd. I've looked over the apache plugin, but it isn't obvious how it requests the package installation.

from puppet-collectd.

blkperl avatar blkperl commented on June 30, 2024

Are you referring to varnish or a collectd varnish plugin package? If the latter add a package resource in the class. I'm guessing the apache one doesn't handle that case.

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

The collectd-varnish package. I will add the declaration; the interesting part will be potentially different package names across package managers. Thanks!

Sent from my iPhone

On Jan 21, 2014, at 12:24 PM, William Van Hevelingen [email protected] wrote:

Are you referring to varnish or a collectd varnish plugin package? If the latter add a package resource in the class. I'm guessing the apache one doesn't handle that case.


Reply to this email directly or view it on GitHub.

from puppet-collectd.

blkperl avatar blkperl commented on June 30, 2024

Make sure to add the package name in params.pp so we can handle it across multiple platforms.

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

In unbutu, it comes in collectd-core ... how would you prefer the check on this? A conditional in the varnish.pp checking on $::osfamily? What are the thoughts about including the os name in the collected::params to is can be accessed via collectd::params::osname?

from puppet-collectd.

blkperl avatar blkperl commented on June 30, 2024

Hmm collectd-core doesn't seem very plugin specific how do the other platforms behave?

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

From my understanding, collectd-core includes the vast majority of plugins, but I don't have an ubuntu box to test on (I guess I could spin one up...); RHEL/CentOS/Fedora use collectd-< plugin_name > i.e. collectd-varnish.

However, I just ran into an issue that I've spent most of the day resolving. collectd-varnish crashes collectd version 5.3.1. Installing collectd 5.4.0 resolves the issue so I will have to make it a dependency to the plugin; at least for RHEL flavors.

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

It appears this plugin may have to be put on hold for official release as most repos do not have a 5.4.0 package for collectd or collectd-varnish yet. I can build some, but it doesn't do anyone else any good.

from puppet-collectd.

blkperl avatar blkperl commented on June 30, 2024

You can submit the pull request without the package support and we can worry about the packages later.

from puppet-collectd.

Spechal avatar Spechal commented on June 30, 2024

PR submit with package support; willing to remove it and resubmit.

from puppet-collectd.

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.