-
Notifications
You must be signed in to change notification settings - Fork 120
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
Adding monitoring of an RDS instance #109
Conversation
Delightful. Thanks, @peterneubauer :) |
Adding monitoring of an RDS instance
opt :access_key, "AWS access key", :type => String | ||
opt :secret_key, "Secret access key", :type => String | ||
opt :region, "AWS region", :type => String, :default => 'eu-west-1' | ||
opt :dbinstance_identifier, "DBInstanceIdentifier", :type => String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a default here? Won't you get a .metric_name at https://github.com/aphyr/riemann-tools/pull/109/files#diff-91de02aa50aadb39fa72dbbc2344eae3R35 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or possible a fail if not specified? What's the behavior if you don't specify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should fail. You need ot know what RDS instance to run against. Didn't know how to do it :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add something like this to initialize:
abort "FATAL: specify a DB instance name, see --help for usage" unless opts[:dbinstance_identifier]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, PR coming!
No description provided.