Commit graph

75 commits

Author SHA1 Message Date
3add308d05 Added more comments to etc/linspector.conf. (0.28.2) 2023-09-02 21:43:49 +02:00
c5fdd1cc4a Added more customizable error logging and bug fixes! (0.28.0) 2023-09-02 19:54:46 +02:00
d2098a542f Added logfile_error to example configuration. (0.27.1) 2023-09-02 14:16:52 +02:00
362b1dfb7c Removed logging to stdout & stderr to be prepared for Lish. (0.27.0) 2023-09-01 17:05:15 +02:00
83827e8070 Reverted databases back to be tasks again. This is more native to the API of Linspector. (0.26.0) 2023-08-31 22:30:05 +02:00
f6c42040bb Added developer configuration file. It contains a lot of ideas of future features. (0.25.1) 2023-08-22 01:26:01 +02:00
c429619040 Finished MySQL database module as early release. (0.25.0) 2023-08-22 00:00:16 +02:00
3042225ff9 Added MySQL support and first code for testing the connection. (0.24.1) 2023-08-21 19:08:19 +02:00
52b0c6b509 Moved databases from tasks to own concept because they need persistent connections. Tasks do now allow this. (0.24.0) 2023-08-21 15:05:42 +02:00
681475f274 Tons of refactoring and implemented basic task execution. There are lot of bugs and features not working anymore. DO NOT USE!. (0.22.0) 2023-08-20 22:51:39 +02:00
70aeccfe76 Some configuration files update for testing and requirements.txt update. (0.21.6) 2023-07-15 00:39:53 +02:00
cd978108b0 Implemented timezone setting corretly and requirements.txt update. (0.21.6) 2023-05-30 02:44:52 +02:00
4f30af83db More logging adjustments and improvements. (0.21.1) 2023-02-24 01:45:15 +01:00
e4ad0bc5d5 Refactoring! Removed all unused code and made stuff consistent! (0.20.4) 2023-02-22 22:39:51 +01:00
7360ab1936 Some small improvements and refactoring. 2023-02-22 16:55:06 +01:00
c8fa991478 First commit with working service execution and a defined log output (0.20). 2023-02-22 15:25:58 +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
c7b276056c Added Splunk task and some more interesting libraries to requirements.txt. 2023-02-03 03:24:22 +01:00
a405aea503 timezone can be set in each monitor and overrides other settings. 2022-10-11 07:26:42 +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
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
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
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
04e30b3301 Changes the name of a monitors job_id to monitor_id.
The job id should be only part of the job to not be confused.
2022-10-06 22:32:34 +02:00
ddc20342d6 Some more logging stuff. 2022-10-06 05:30:05 +02:00
5d99640480 Some more logging stuff. 2022-10-06 05:05:41 +02:00
390f768172 Added a default job interval if not configured in core or monitor configuration. 2022-10-06 04:08:19 +02:00
a2fe8e8196 Some more error handling and logging. 2022-10-06 03:24:16 +02:00
fc925d1d82 Made the monitor interval optional and set 300 seconds to default. 2022-10-06 03:08:16 +02:00
7e228a3196 Some more logging stuff. log is now a global function as argument.
Don't know if it is good, but it made things easier to me.
2022-10-06 02:42:15 +02:00
e665933bfb Some more logging stuff... 2022-10-05 05:50:13 +02:00
60d4cd9dd8 Added log_file_size_bytes to configuration. It can be used when log_file_size is not set. 2022-10-04 23:23:36 +02:00
5ca94ec14b Added FritzboxPhoneStatusService service and some cosmetic changes. 2022-10-04 22:59:04 +02:00
dfedaa5d2e Configuration and monitor configuration update. 2022-10-04 02:19:18 +02:00
6b89907ee7 Some more inline comments and cosmetic changes. 2022-10-03 12:31:47 +02:00
118445404f Some more scheduling config stuff in core/linspector.py. 2022-10-03 05:28:30 +02:00
f4e3b9c01b Cosmetic changes and some more inline comments. 2022-10-01 22:02:32 +02:00