Files
monitor/__pycache__/addEvent.cpython-312.pyc
T

13 lines
1.1 KiB
Plaintext
Raw Normal View History

2025-03-24 21:33:34 +00:00
Ë
™¸ï_rãóždZddlZddlZdZedk(r;eej «dkDr%eej djd««yyy)zˆ
send a text to the local event-log
usage as library or from the CLI:
python3 addEvent.py "ERROR,key,timeout,count, text"
éNcóìd}d}tjtjtj«}|j||f«|j t |d««|j
«y)z
text must be a str
Ú localhostiÒúutf-8N)ÚsocketÚAF_INETÚ SOCK_STREAMÚconnectÚsendallÚbytesÚclose)ÚtextÚhostÚportÚss ú /opt/Monitor/monitor/addEvent.pyÚ
send_eventr
sVð
€DØ €DÜ