Hemna
10d023dd7b
Fixed failure with fetch-stats
...
This patch fails nicely with the fetch-stats if it can't connect
with the rpc server on the other end.
2024-03-12 10:37:17 -04:00
Hemna
5383b698ea
Change how fetch-stats gets it's defaults
...
The defaults come from the aprsd.conf CONF attributes now.
2023-07-22 17:05:11 -04:00
Hemna
cbef93b327
Ensure fetch-stats ip is a string
2023-07-22 16:41:54 -04:00
Hemna
35d41582ee
Moved logging to log for wsgi.py
...
Added wsgi.py to be used with gunicorn to start aprsd's web admin
interface.
gunicorn -b :8080 "aprsd.wsgi:app"
2023-07-16 16:32:39 -04:00
Hemna
005675cb46
Fixed pep8 errors
2023-07-10 11:01:41 -04:00
Hemna
191e1ff552
Populate stats object with threads info
...
This patch adds the thread names and state to the stats object
so the aprsd fetch-stats command can show it.
2023-07-10 10:44:24 -04:00
Hemna
0a14b07fae
added counts to the fetch-stats table
2023-07-09 21:29:29 -04:00
Hemna
b2e621da4b
Added the fetch-stats command
...
You can now fetch and view the stats of a live running aprsd server
if it has enabled the rpc server in the config file's rpc_settings
block.
You just have to match the magic word as specified in the config file to
authorize against the rpc server.
aprsd fetch-stats --ip-address <ip of aprsd> --port <port> --magic-word
<magic word>
2023-07-09 21:06:57 -04:00