-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis check should not have a default host and port #200
Comments
But we should have a default host/port in the config, right? Maybe just commented out? On Sep 25, 2012, at 3:01 PM, Matt Singleton wrote:
|
I agree that it should support default host and port. The real problem is how this check is enabled or disabled. Every check On Wed, Sep 26, 2012 at 10:13 AM, olidb2 notifications@github.com wrote:
|
Already the case.
|
The enabled/disabled part is standard for every check? |
I think he was responding to Oli's thing. As far as having an enabled/disabled part, I'm fine with that. Although, I had always thought whether or not you had a config file would say if something was enabled/disabled. |
Removing the config should remove the check for good, but in the heat of an operational crisis, it's a bit harder to remove a file with chef as opposed to just flipping a config value. I'm not sure I'm right, but just a feeling. |
My vote goes to sticking with commenting things in and out (as is the
*Alexis Lê-Quôc *+1-917-512-6452 Try Datadog for free (http://goo.gl/swO1h) http://goo.gl/swO1h no cc |
Yeah I think that makes sense. So to "disable" something, you'd comment out the instances for that check. If there are no instances, then the check won't be run. |
see: https://github.com/DataDog/dd-agent/blob/master/checks/db/redisDb.py#L98
The check is enabled based on whether or not 'redis' can be imported, which is probably wrong to begin with. Either way, it shouldn't assume a port and host if one isn't given.
The text was updated successfully, but these errors were encountered: