LogMonitor

LogMonitor.__init__(fetch=scp_fetch, parse=json_parse, freq=100.0, fetch_params=[], parse_params=[])
Create a log monitor with specified methods to get and parse logs (with lists to hold function-specific parameters), a specified frequency to check
LogMonitor.check()
Run a check for the monitor once
LogMonitor.start()
Async run a check for the monitor every freq seconds
LogMonitor.scp_fetch()
get the file through scp; expecting host, path, and and username in fetch_params
LogMonitor.json_parse()
parse the log file using json; expecting parent and unique id in parse_params