Skip to content

Commit

Permalink
Merge pull request sensu#562 from svanzoest/patch-1
Browse files Browse the repository at this point in the history
Update rabbitmq management port to > 3.0 default
  • Loading branch information
kalabiyau committed Apr 27, 2014
2 parents ecafb92 + 0daaf1c commit fc252c2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/rabbitmq/check-rabbitmq-messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
:description => "RabbitMQ management API port",
:long => "--port PORT",
:proc => proc { |p| p.to_i },
:default => 55672
:default => 15672

option :user,
:description => "RabbitMQ management API user",
Expand Down
2 changes: 1 addition & 1 deletion plugins/rabbitmq/check-rabbitmq-queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
:description => "RabbitMQ management API port",
:long => "--port PORT",
:proc => proc { |p| p.to_i },
:default => 55672
:default => 15672

option :ssl,
:description => "Enable SSL for connection to the API",
Expand Down
2 changes: 1 addition & 1 deletion plugins/rabbitmq/rabbitmq-alive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CheckRabbitMQ < Sensu::Plugin::Check::CLI
:description => "RabbitMQ API port",
:short => '-P',
:long => '--port PORT',
:default => '55672'
:default => '15672'

def run
res = vhost_alive?
Expand Down
2 changes: 1 addition & 1 deletion plugins/rabbitmq/rabbitmq-overview-metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class RabbitMQMetrics < Sensu::Plugin::Metric::CLI::Graphite
:description => "RabbitMQ management API port",
:long => "--port PORT",
:proc => proc {|p| p.to_i},
:default => 55672
:default => 15672

option :user,
:description => "RabbitMQ management API user",
Expand Down
2 changes: 1 addition & 1 deletion plugins/rabbitmq/rabbitmq-queue-metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class RabbitMQMetrics < Sensu::Plugin::Metric::CLI::Graphite
:description => "RabbitMQ management API port",
:long => "--port PORT",
:proc => proc {|p| p.to_i},
:default => 55672
:default => 15672

option :user,
:description => "RabbitMQ management API user",
Expand Down

0 comments on commit fc252c2

Please sign in to comment.