class BaseMonitor: """Base interface for platform monitor plugins.""" monitor_type = "base" def __init__(self, store, state_store=None): self.store = store self.state_store = state_store def start(self): raise NotImplementedError def stop(self): raise NotImplementedError def run_once(self): raise NotImplementedError