sensu-plugins/sensu-plugins-vmstats

View on GitHub
bin/metrics-vmstat.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method run has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run
    result = convert_integers(`vmstat 1 2|tail -n1`.split(' '))
    timestamp = Time.now.to_i
    metrics = {
      procs: {
Severity: Minor
Found in bin/metrics-vmstat.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status