Commit graph

168 commits

Author SHA1 Message Date
0c2c0917b2 Directory structure and filename refactoring. (0.20.5) 2023-02-23 10:26:44 +01:00
16d7ef94f3 requirements.txt update (0.20.4) 2023-02-22 22:48:34 +01:00
e4ad0bc5d5 Refactoring! Removed all unused code and made stuff consistent! (0.20.4) 2023-02-22 22:39:51 +01:00
3078d125e8 Use signal.pause() instead of while True to keep Linspector running. A while True loop starts using 100% of one CPU when there is no sleep() inserted. That's not a good way to keep a program running. (0.20.3) 2023-02-22 17:14:02 +01:00
7360ab1936 Some small improvements and refactoring. 2023-02-22 16:55:06 +01:00
a4053a0db3 Missed to remove a comment (0.20.1). 2023-02-22 15:28:57 +01:00
c8fa991478 First commit with working service execution and a defined log output (0.20). 2023-02-22 15:25:58 +01:00
be78e5e031 Just a typo fix. 2023-02-21 15:54:05 +01:00
b8282dd4eb monitor_identifier fix in monitors.py 2023-02-21 03:36:23 +01:00
4b57efd734 Some core task design changes and renamed the monitor identifier. 2023-02-21 03:15:34 +01:00
41047b743a .gitignore and README update. 2023-02-21 02:33:39 +01:00
c8b76cda37 Forgot to add the database stub/template files/mariadb.sql on the weekend. 2023-02-20 11:09:41 +01:00
8cc68910e5 Added README files to etc/ and etc.dev/ . 2023-02-20 09:27:47 +01:00
c5c9340e4d Added README files to etc/ and etc.dev/ . 2023-02-20 07:59:13 +01:00
da06e670d4 Only some fixes and cleanups. 2023-02-20 07:55:42 +01:00
2922cc930c Added etc.dev/ for development. All implemented options should go over to etc/ with full description. 2023-02-20 07:53:09 +01:00
6c8598c752 Just more ideas... 2023-02-12 09:46:09 +01:00
484ad6e3b3 Many cleanups, additions and new ideas. 2023-02-12 06:31:35 +01:00
b308068617 Automatic code cleanups and import optimizations. 2023-02-12 03:31:52 +01:00
b414997545 Added some more testing stuff and tried different cong values. Some ideas added to comments too. 2023-02-11 03:06:46 +01:00
956cfbfaa9 requirements.txt update and added a full "pip freeze" as requirements.freeze from venv updated to most recent versions. 2023-02-10 23:14:43 +01:00
f3f3537d92 Added uvicorn to requirements.txt. 2023-02-03 04:55:53 +01:00
d7192913e0 Tons of fixes, improvements and ideas... 2023-02-03 04:17:40 +01:00
c7b276056c Added Splunk task and some more interesting libraries to requirements.txt. 2023-02-03 03:24:22 +01:00
4da46438cc Added Syslog Task and renamed FileLogger Task to File. 2023-01-23 19:16:46 +01:00
a405aea503 timezone can be set in each monitor and overrides other settings. 2022-10-11 07:26:42 +02:00
e45d617488 Added loguru to requirements.txt as I believe it will become the logger module in Linspector. 2022-10-11 06:39:14 +02:00
a3f7f4adfb Completely disabled file based logging as it is broken by design. 2022-10-11 06:15:26 +02:00
29114cb7cb Just more logging inline information. 2022-10-11 06:11:30 +02:00
48bb65e1d5 Logging needs completely to be rewritten. Look in inline comments for more information. 2022-10-11 05:48:18 +02:00
48a3e5e88f The logger is still not multiprocess capable! This needs to be fixed.
I added comments with more information.
2022-10-11 05:25:17 +02:00
a2fcec6054 Added some logging ideas as inline comments. 2022-10-11 03:34:36 +02:00
985b38f7e0 Removed inline comments from requirements.txt. This must be documented in README. 2022-10-11 03:14:27 +02:00
e5cc2a4596 Made the logger an object to be multiprocessing compatible.
The initialization of the Configuration() object can not log anymore since the Log() object initialization requires the Configuration(). Maybe I will find a better solution in the future. For now, it fixes bugs and makes my life easier.
2022-10-11 02:57:13 +02:00
4ae153f3be Added process name and thread ID to logging. 2022-10-11 01:14:24 +02:00
35edb0204e README fixes. 2022-10-07 03:03:37 +02:00
bd690df12e Added [%(name)s] to stdout logging. 2022-10-07 00:42:42 +02:00
c00dcc050d README fixes. 2022-10-07 00:40:08 +02:00
4dddcf0666 requirements.txt and README update. 2022-10-07 00:37:15 +02:00
cc1916bd94 Added fritzconnection to libraries in README. 2022-10-07 00:26:01 +02:00
f6c6ce30c2 README typo fix. 2022-10-07 00:16:17 +02:00
2843343c2d README update. 2022-10-07 00:12:41 +02:00
44596bd9b8 Just a newline fix in core.configuration.py. 2022-10-07 00:01:26 +02:00
8a2bc8046b Moved lish plugin to bin/lish since it should not be part of the core.
Lish can be used when the RPC plugin is loaded. Renamed Lish plugin to RPC. It is better to make Lish a own program since it would not work in daemon mode.
2022-10-06 23:51:53 +02:00
851505bff3 Some more configuration changes and inline comments. 2022-10-06 23:40:36 +02:00
ec39acfb02 Small logging fixes and more inline comments to explain this feature in detail. 2022-10-06 23:28:55 +02:00
7806511884 Reverted some of the last commit. Megabytes make sense for log_file_size. 2022-10-06 23:20:37 +02:00
d179e478eb Some logging configuration fixes.
log_file_size is now in bytes only. megabytes are obsolete since we all have a calculator... ;)
2022-10-06 23:14:28 +02:00
e5dbdc7264 Some more config stuff for better debugging in identifier test_test1. 2022-10-06 22:56:17 +02:00
1fc684c7e0 renamed get() to create() in plugins and added the log to args. 2022-10-06 22:42:31 +02:00