Python collectd.register_init() Examples
The following are 1
code examples of collectd.register_init().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
collectd
, or try the search function
.
Example #1
Source File: plugin.py From vitrage with Apache License 2.0 | 5 votes |
def __init__(self, name=None): self.name = name if name: collectd.register_config(self.configure, name=self.name) else: collectd.register_config(self.configure) collectd.register_init(self.initialize) collectd.register_shutdown(self.shutdown)