Knowledge
English
Search
⌃K
Links

How does the UNIX_SOCKET scenario work?

Here is an example of a UNIX_SOCKET scenario and attached is a small python program that writes data to the socket. The Ardexa Agent will create the socket which the python script can then connect to.
unix_socket:
- table: socket_events
source: first_device
file: /var/run/input.sock
expect: integer
meta:
units: kB
socket-test-simple.py.txt
2KB
Text
UNIX Socket example python script