PortMonitor¶
-
PortMonitor.
__init__
(host="127.0.0.1",freq=10.0, ports=[80,22])¶ -
Create a port monitor for a specified host with a specified list of ports to scan and a specified frequency to check
-
PortMonitor.
check
()¶ -
Run a check for the monitor once
-
PortMonitor.
start
()¶ -
Async run a check for the monitor every freq seconds