-
Notifications
You must be signed in to change notification settings - Fork 813
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
Directory check #581
Directory check #581
Conversation
Cool, thanks for this check Brett, I've wanted to do this for a while but never got around to it. One small thing before merging, we try to stay compatible with python 2.4, do you think you can switch the .format() string formatting to %-style formatting? |
@clofresh no problem, done. |
Cool! One more small recommendation. Can we prefix the dirs with |
@clutchski what do you mean? prefix the metric names with |
Yes, exactly. Sorry that wasn't super clear ;) |
@clutchski no problem, just wanted to make sure I got it right :) |
Merging. Thanks @brettlangdon! |
Not sure if this is the most useful check for you guys to have, but we intend to use it for alerts.
basically we have directories which have log files that are rotates every so often and then they get uploaded to s3 and deleted. We want to use a check like this to setup alerts for when the age of a file is too old or when there are more files than expected in a directory.