58 Commits

Author SHA1 Message Date
d236fa27d2 md, not rst 1.0 2024-07-07 16:48:40 +02:00
f5af413c2f Remove files from before move... 2024-07-07 16:44:59 +02:00
c0e13f9c8d Move things into directories making more sense for packaging 2024-07-07 16:44:04 +02:00
e6f5b7bfa6 Add python3 as a dependency, 3.7 as minimum version. Add verbose and pybuild related env in debian/rules 2024-07-07 16:42:37 +02:00
73ea6018ed Remove temporary file 2024-07-07 16:29:42 +02:00
8f74b2a0fa Debian packaging and pyproject.toml 2024-07-07 16:24:35 +02:00
7aad78755f Cleanliness 2024-07-06 17:31:55 +02:00
5bbb7c30b9 Refactor out things from filefetcher, improve error messages 2024-07-06 17:25:38 +02:00
ebbf066707 Increase discoverability by telling user both the filename and the directories searched if config file is missing 2024-07-06 16:47:03 +02:00
6f36d49215 And the same thing for _client.py 2024-07-04 18:46:53 +02:00
4f4c2dcdac Same thing for _httpd.py 2024-07-04 18:45:33 +02:00
913ab3531d Make it show help for all arguments, not only the first two.. 2024-07-04 18:42:19 +02:00
9e7425dbe6 Add info line on every 1000 lines 2024-07-03 20:40:08 +02:00
f04c10b4b4 use mixed killmode, since we handle destruction of our own children just fine. 2024-07-03 20:33:28 +02:00
8fc9fd861f Handle dead/killed/interrupted (sub)processes better 2024-07-03 20:32:42 +02:00
c72fa2f5d4 Amend most pylint complaints 2024-07-03 19:27:24 +02:00
dcbdf4feca Remedy all the complaints from pylint 2024-07-03 18:51:10 +02:00
f24b186ef6 Silence the non-sensical error:) 2024-07-03 18:44:57 +02:00
72bf13539d Remedy all the pylint-errors 2024-07-03 18:42:19 +02:00
8247be605e Add rrdtool to whitelist 2024-07-03 18:41:59 +02:00
6f6b52b5f0 -h is not allowed:) 2024-07-03 17:51:18 +02:00
f2f8152c5a Add config file instead of arguments for everything.. 2024-07-03 17:40:44 +02:00
8d93c299c7 Tabs are valid, just frown upon:) 2024-07-03 17:39:18 +02:00
f5caa01fc5 add config file 2024-07-02 23:14:29 +02:00
450c46ff20 Add support for ConnectionResetError in login 2024-07-02 19:17:48 +02:00
b64e270247 We can time out, that's fine:) 2024-06-30 23:14:04 +02:00
57bd4f0cf0 Add systemd service for collector 2024-06-30 17:24:15 +02:00
770b122ece Remove unused imports, and add VAR_DIR const, to place position and dump.pickle somewhere outside CWD in preparation for running this as a service:) 2024-06-30 17:15:53 +02:00
3be6d5bcfe Probably a good idea to tell the admin this too:) 2024-06-09 22:58:13 +02:00
34ba10be03 Add passwd_file as last argument 2024-06-09 22:57:19 +02:00
74d1d7771c Pass in passwd-file as an argument 2024-06-09 21:08:28 +02:00
36582e4854 More debugging 2024-06-09 21:01:26 +02:00
a79ea39192 Add login-support 2024-06-09 20:47:58 +02:00
fe4edbb27d FreeBSD rc files 2024-05-20 18:57:08 +02:00
650f458be8 Renamed to routerstats_httpd.py 2024-05-20 18:56:43 +02:00
5c4389c05e Shitty handling of arguments, but needed for initial version of rc-scripts... 2024-05-20 18:50:06 +02:00
fd23236d49 Add wrapper, so we can get an __init__ in that does what I expect:) 2024-05-20 17:52:29 +02:00
285e725e98 Use the right variable works better.. 2024-05-20 17:21:51 +02:00
85097d5d0f Add support for passing in rrdfilename as argument 2024-05-20 16:38:12 +02:00
4da81276d5 Rename to make more sense 2024-05-20 16:30:35 +02:00
e6ecf5e76d Don't crash if we can't parse lines.. This shouldn't happen often, but may or may not happen, no reason to get the pants in a twist.. 2024-05-07 21:17:08 +02:00
a69c0c9cf4 Average makes more sense than max 2024-05-07 21:12:49 +02:00
730e95d89b Add keyboardinterrupt, for less output if using ctrl+c:) 2024-05-07 17:21:26 +02:00
9b627f9570 Remove some debug logging, and set loglevel to info.. 2024-04-17 19:17:17 +02:00
3ef6430096 Change hardcoded rrd to "test.rrd" in current directory.. 2024-04-17 19:14:59 +02:00
89c30c9c5a Initial test for http-server.. 2024-04-16 20:44:13 +02:00
1d0bad7292 Move to INFO, and add TimeoutError and friends to failures 2024-04-16 20:43:44 +02:00
8c78ca7ff7 Accept timestamp within one second.. Probably our fault it's off anyway:)
Actually quit if we don't get the required arguments....
2024-04-16 20:42:32 +02:00
ef0205f866 No string = splitting on as many spacecharacters as needed, ' ' = only one... 2024-04-16 00:52:01 +02:00
6e0b7e3e70 Add host/ip and port as arguments, be more verbose about error situations when it comes to timestamps, and handle-ish rrd-locking errors 2024-04-16 00:29:33 +02:00