bin/mongodb-graphite-agent.rb in mongodb-graphite-agent-0.1.0 vs bin/mongodb-graphite-agent.rb in mongodb-graphite-agent-0.1.1
- old
+ new
@@ -6,10 +6,10 @@
require 'mongodb/graphite/agent'
opts = Trollop::options do
opt :mongodb_username, "MongoDB username", :type => :string
opt :mongodb_host, "MongoDB host", :type => :string, :default => "localhost"
- opt :mongodb_post, "MongoDB host", :type => :int, :default => 27017
+ opt :mongodb_post, "MongoDB port", :type => :int, :default => 27017
opt :mongodb_password, "MongoDB password", :type => :string
opt :graphite_host, "Graphite host", :type => :string
opt :graphite_port, "Graphite port", :type => :string
opt :graphite_metrics_prefix, "Graphite metrics prefix", :type => :string, :default => Socket.gethostname
opt :dry_run, "Dry run", :type => :boolean, :default => false
\ No newline at end of file