Add server_address to initializer, allow for unix path (starts with /) or hostname:port address

This commit is contained in:
Pim van Pelt
2021-09-11 08:13:21 +00:00
parent 0c0e4fc14a
commit 842bce9d6e
4 changed files with 13 additions and 10 deletions

View File

@ -29,8 +29,6 @@ def setup_logging(debug=False):
logger.addHandler(ch)
SOCKET_PATH = "/var/agentx/master"
AGENTX_EMPTY_PDU = 1
AGENTX_OPEN_PDU = 1
AGENTX_CLOSE_PDU = 2