Skip to content
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

Merged
merged 7 commits into from
Feb 23, 2015
Merged

Conversation

peterneubauer
Copy link

No description provided.

@aphyr
Copy link
Collaborator

aphyr commented Feb 23, 2015

Delightful. Thanks, @peterneubauer :)

aphyr added a commit that referenced this pull request Feb 23, 2015
Adding monitoring of an RDS instance
@aphyr aphyr merged commit badd3cc into riemann:master Feb 23, 2015
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
Copy link
Member

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 ?

Copy link
Member

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?

Copy link
Author

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 :/

Copy link
Member

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]

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, PR coming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants