mentat.daemon.component.filter module

Daemon component capable of filtering incoming messages with complex filtering rules.

It is dependent on services of following modules:

The implementation is based on pyzenkit.zendaemon.ZenDaemonComponent.

class mentat.daemon.component.filter.FilterDaemonComponent(**kwargs)[source]

Bases: ZenDaemonComponent

Implementation of ZenDaemonComponent encapsulating pynspect library.

EVENT_MSG_PROCESS = 'message_process'
cbk_event_message_process(daemon, args)[source]

Print the message contents into the log.

get_events()[source]

Get the list of event names and their appropriate callback handlers.

setup(daemon)[source]

Perform component setup.