Package DataCollector :: Module Plugins
[hide private]
[frames] | no frames]

Module Plugins

source code

Classes [hide private]
  pluginImportError
Capture extra data from plugin exceptions
  PluginLoader
Class to load plugins
Functions [hide private]
 
_plfilter(f)
Return a filtered list of plugins
source code
list
_loadPluginDir(pdir)
Load the Zenoss default collector plugins
source code
list
loadPlugins(dmd)
Load plugins from the Zenoss plugin directory and from the plugin directory from each ZenPack.
source code
Variables [hide private]
  __doc__ = """Plug...
  log = logging.getLogger('zen.plugins')
  _pluginskip = "CollectorPlugin.py", "DataMaps.py"
Function Details [hide private]

_plfilter(f)

source code 
Return a filtered list of plugins
Parameters:
  • f (string) - plugin name

_loadPluginDir(pdir)

source code 
Load the Zenoss default collector plugins
Parameters:
  • pdir (string) - plugin path parent directory
Returns: list
list of loadable plugins

loadPlugins(dmd)

source code 
Load plugins from the Zenoss plugin directory and from the plugin directory from each ZenPack. Returns them as a list of PluginLoader instances.
Parameters:
  • dmd (dmd object) - Device Management Database (DMD) reference
Returns: list
list of loadable plugins

Variables Details [hide private]

__doc__

Value:
"""Plugins
Load plugins from standard locations and from ZenPacks
"""