vaping.plugins.command

Classes


CommandProbe

CommandProbe(vaping.plugins.TimedProbe)

Probe type plugin that allows you to run an arbitrary command for each host and return the command output as data

Config

  • command (str): command to run (use {host} to reference the host)
  • interval (float): time between probes

Instanced Attributes

These attributes / properties will be available on instances of the class

  • command (str): command to run

Methods

init

def init(self)

called after the plugin is initialized, plugin may define this for any other initialization code


probe

def probe(self)

probe for data, return a list of dicts