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
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
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
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
1fc684c7e0
renamed get() to create() in plugins and added the log to args.
2022-10-06 22:42:31 +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
220079e64b
Some more logging fixes in linspectord.py.
2022-10-06 05:38:34 +02:00
5d99640480
Some more logging stuff.
2022-10-06 05:05:41 +02:00
af4d26ea80
Some more debug logging in core.linspector.py.
2022-10-06 04:22:28 +02:00
390f768172
Added a default job interval if not configured in core or monitor configuration.
2022-10-06 04:08:19 +02:00
2d26fb54f0
Just an alphabetical order fix in args in job_function.
2022-10-06 03:25:57 +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
5ca94ec14b
Added FritzboxPhoneStatusService service and some cosmetic changes.
2022-10-04 22:59:04 +02:00
6b89907ee7
Some more inline comments and cosmetic changes.
2022-10-03 12:31:47 +02:00
db41e7ee0b
Only optimizations.
2022-10-03 05:57:10 +02:00
0f8faee63d
Small optimization.
2022-10-03 05:52:51 +02:00
381b790d11
Inline comments update.
2022-10-03 05:47:13 +02:00
1201da64f8
Enhanced the delta_range for job execution.
2022-10-03 05:31:59 +02:00
118445404f
Some more scheduling config stuff in core/linspector.py.
2022-10-03 05:28:30 +02:00
9a631e237a
Bug fixes.
2022-10-02 22:53:30 +02:00
f50f6cf4d8
Comments update.
2022-10-02 05:04:31 +02:00
f4e3b9c01b
Cosmetic changes and some more inline comments.
2022-10-01 22:02:32 +02:00
9c9274f0b4
Mostly cleanups and added comments to the config files.
2022-10-01 10:25:42 +02:00
60752e1a4b
Mostly cleanups and a TODO update.
2022-10-01 09:14:42 +02:00
2a0f507f31
Moved singleton.py from utils/ to core/. It really is a core class.
2022-10-01 08:50:36 +02:00
d57fd97fbd
Moved kwargs from __init__ to execute() in services, optimized logging and a lot of bug fixes and refactoring. Bug fixes too.
2022-10-01 08:43:19 +02:00
6036ab6462
Bug fixes. There are still more in monitor.py!
2022-10-01 06:27:04 +02:00
70e59f571c
Bug fixes. There are still more in monitor.py!
2022-10-01 06:18:08 +02:00
2178452f39
Simplified logging, enabled start_date in monitor configuration and enabled timezone configuration.
2022-10-01 06:05:30 +02:00
549510c3a4
Lot of bug fixing, optimizations and refactoring.
2022-10-01 04:37:35 +02:00
ee423c01bb
Backup commit. Many internally changes. Known issues still need to be fixed.
2022-09-30 05:43:35 +02:00
8808b657c4
Basic scheduling works now but execution of services is not available. Lot of stuff done...
2022-09-30 02:14:36 +02:00
f340fb0ca2
Added period classes from old Linspector.
2022-09-29 22:23:56 +02:00
ca6b424473
Added basic scheduler code.
2022-09-29 22:21:31 +02:00
d2c28076d9
Added CSV task.
2022-09-29 14:47:25 +02:00
665b70ed7d
Just playing around with logging... ;)
2022-09-29 03:33:28 +02:00
dbb0e23091
Added file logging and a new parameter (-s) for logging to stdout.
2022-09-29 02:59:40 +02:00
b104698a90
Simplified the daemon code and added stop and restart parameters to the linpector program.
2022-09-28 23:29:51 +02:00
0e8118a2c0
linspectord is now the daemon, not subclassed like before... makes sense because I never need an abstract layer here.
2022-09-28 08:50:10 +02:00