rackspace-cookbooks / rackspace_cloud_monitoring

DEPRECATED, use https://github.com/rackspace-cookbooks/rackspace_monitoring instead
Other
1 stars 1 forks source link

Should monitoring work on non-cloud servers? #11

Open seeafish opened 9 years ago

seeafish commented 9 years ago

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?

martinb3 commented 9 years ago

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

seeafish commented 9 years ago

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 https://github.com/rackspace-cookbooks/rackspace_cloud_monitoring/issues/11#issuecomment-75962479 .

jujugrrr commented 9 years ago

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

mburns commented 9 years ago

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.

jujugrrr commented 9 years ago

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!