rackspace-cookbooks/rackspace_cloud_monitoring

Should monitoring work on non-cloud servers?

Opened this issue · 5 comments

Running a local converge with this library (on vagrant), makes it stall because at one point, the monitoring agents prompts the user to enter an option on how to register the entity.

       In order to execute checks, the agent must be associated with a Cloud Monitoring Entity.

       Please select the Entity that corresponds to this server:
         1. Create a new Entity for this server (Entities can be viewed within Rackspace Intelligence - https://intelligence.rackspace.com)
         2. Do not associate with an Entity

       Select Option (e.g., 1, 2)

This means that if we ever wanted to use this library on non-cloud servers, they would in effect have the same problem.

I'm asking if we should limit the support of this library to Rackspace cloud servers or expand it to support any servers anywhere?

This feels like a question for the cloud monitoring teams; I think we should automate what they support, but not beyond that.

The agent supports it but we need to make the provider pass input (or skip)
when it prompts.

On Wed, 25 Feb 2015 13:52 Martin Smith notifications@github.com wrote:

This feels like a question for the cloud monitoring teams; I think we
should automate what they support, but not beyond that.


Reply to this email directly or view it on GitHub
#11 (comment)
.

The agent supports it but we need to make the provider pass input (or skip)
when it prompts.

Then the next question is, how often do we need it? It it worth it, then we can work on changing the agent so it accepts parameters for the entity during install

Then the next question is, how often do we need it?

Hi! Talked briefly with Julien out-of-band and volunteered to add support for non-cloud hosts, so that this cookbook can be used to monitor all the things on all the boxen. A number of Rackspace teams would benefit from this.

we can work on changing the agent so it accepts parameters for the entity during install

To that end, I'm talking with @rphillips on how best the Agent could handle this situation and avoid prompting for user input. Once that's decided, I can submit a PR to this cookbook to wire it up.

To that end, I'm talking with @rphillips on how best the Agent could handle this situation and avoid prompting for user input. Once that's decided, I can submit a PR to this cookbook to wire it up.

Awesome!