sensu-plugins/sensu-plugins-rabbitmq

View on GitHub
bin/check-rabbitmq-stomp-alive.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method vhost_alive? has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def vhost_alive?
    if config[:ini]
      ini = IniFile.load(config[:ini])
      section = ini['auth']
      username = section['username']
Severity: Minor
Found in bin/check-rabbitmq-stomp-alive.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status