lib/naplug.rb
def exec!(tag = default_plugin.tag)
      t = Benchmark.realtime do
        exec tag
        eval tag
      end
    #  @plugins[tag].perfdata! "monitoring.#{File.basename($0)}.#{tag}", t if @plugins[tag].meta.benchmark
      exit tag
    end
# Execute, evaluate and exit the plugin according to the plugin status, outputting the plugin's text output (and performance data, if applicable)
# @param tag [Symbol] a plugin tag
Execute, evaluate and exit the plugin according to the plugin status, outputting the plugin's text output (and performance data, if applicable)
Execute evaluate and exit the plugin according to the plugin status outputting the plugin ' s text output ( and performance data if applicable )
def exec!(tag = default_plugin.tag)
      t = Benchmark.realtime do
        exec tag
        eval tag
      end
      exit tag
    end
def exec! ( tag = default_plugin . tag ) t = Benchmark . realtime do exec tag eval tag end exit tag end
Execute, evaluate and exit the plugin according to the plugin status, outputting the plugin's text output (and performance data, if applicable)
Execute evaluate and exit the plugin according to the plugin status outputting the plugin ' s text output ( and performance data if applicable )
#  @plugins[tag].perfdata! "monitoring.#{File.basename($0)}.#{tag}", t if @plugins[tag].meta.benchmark
tag
a plugin tag
a plugin tag
default_plugin