36 Commits

Author SHA1 Message Date
56ac283544 Refactored code to match code-style 2021-12-02 13:40:56 +01:00
d14e469ef4 Removed error-logging from RegexBlockStream FIXME 2021-11-29 15:35:53 +01:00
99a3e13d77 Added further exception to error-event from tcpdump 2021-11-29 15:35:36 +01:00
86d2b8c1cf Added event for SIGTERM and SIGINT 2021-11-29 15:34:19 +01:00
16388c73e5 Added additional check for packetStream 2021-11-29 15:11:14 +01:00
8211f55b89 Added check for tcpdump-process stdout 2021-11-29 15:10:42 +01:00
c28bbaaada Moved Stream-creations outside 2021-11-29 15:09:59 +01:00
1bf761970f Added error-handling for regexBlockStream 2021-11-29 13:45:36 +01:00
5a0118aedd Added error-handling for process 2021-11-29 13:45:15 +01:00
0709db0ddf Changed exit-log to debug 2021-11-29 13:44:37 +01:00
c27761322c Catch start-error from tcpdump
tcpdump writes to stderr at the beginning
2021-11-29 13:18:29 +01:00
45a11753de Add own logger for tcpdump 2021-11-29 13:16:23 +01:00
a681bbd2d2 Removed sudo as container runs as root anyways 2021-11-29 13:11:11 +01:00
e39ebaac23 Fixed Regex codesmell 2021-11-29 09:23:08 +01:00
ca3c37be0f Activating strict-mode 2021-11-29 09:16:49 +01:00
96b52e63a0 Add exit-handler with error-detection 2021-11-29 09:16:39 +01:00
3c5e941cba Creating & Attaching streams / Error-logger 2021-11-29 09:15:49 +01:00
a468d7a57b Start tcpdump process 2021-11-29 09:14:50 +01:00
b0bbf0c71a Fixed wrong option-subname 2021-11-26 19:06:55 +01:00
c5e1bb4c64 Added info-log "ok" 2021-11-26 18:37:55 +01:00
3c29ed2000 Implemented CheckWriteApi by writing and then deleting a TestPoint 2021-11-26 18:37:34 +01:00
3a927688d0 Changed fatal to error and added error handling to promise catch in main 2021-11-26 18:36:35 +01:00
c51cfc1b14 Fixed missing require 2021-11-26 18:35:51 +01:00
e1b2a7e016 Added influx checkBucket 2021-11-26 18:03:14 +01:00
fc5900b0ba Added influx checkHealth 2021-11-26 17:55:51 +01:00
d10e9bb2c6 Create influx-client 2021-11-26 17:43:42 +01:00
e715cc1cac Removed unused env-vars for now 2021-11-25 13:59:45 +01:00
cc8b106157 Added logger-setup-module 2021-11-24 13:10:41 +01:00
8ee189f52b Fixed wrong capitalisation 2021-11-24 01:16:37 +01:00
79efcc3951 Fixed missing import 2021-11-24 01:12:13 +01:00
1b6721d242 Implemented env defaults and checking 2021-11-24 01:07:29 +01:00
d13df7b03d Add comment for logger 2021-11-24 01:06:44 +01:00
34c73c82c8 Gave logger name 2021-11-24 01:06:29 +01:00
93f78aafe0 Changed || to ?? to detect undefined env 2021-11-24 01:06:09 +01:00
7562ff2268 Added module log4js 2021-11-23 17:05:43 +01:00
f862c362fe npm init 2021-11-23 15:09:53 +01:00