Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 340 Bytes
from .connections import parse_connection
TITLE = 'VNC CONNECTED {source}'
BODY = 'To: {user} {process} ({pid}) on {target}'
def parse(line, source=None):
conn = parse_connection(line, source)
if conn:
return ('alert',
TITLE.format(**conn),
BODY.format(**conn),
)
return (None, '', '')
You can’t perform that action at this time.