Commit Graph

29 Commits

Author SHA1 Message Date
spacefreak d67917c958 read args to commands synchronous, async is not faster in this case 2024-11-04 13:11:00 +01:00
spacefreak 1aee330230 improve sub-proc handling / killing 2024-11-04 10:40:50 +01:00
spacefreak 1c0b61eae2 change comment about wait function 2024-11-04 10:33:56 +01:00
spacefreak b37bc30549 just handle rc of wait instead of comparing bash version 2024-11-04 10:27:42 +01:00
spacefreak e84310932e fix only wait for sub-procs on bash versions 5.1 or above 2024-11-04 10:16:15 +01:00
spacefreak d5d807c7c3 change log messages 2024-11-02 14:13:12 +01:00
spacefreak 6ec4c02e40 improve handling / killing of hanging background procs 2024-11-02 01:07:11 +01:00
spacefreak ce2daf9749 start data gathering funcs asynchronously to prevent daemon locks 2024-11-02 00:42:34 +01:00
spacefreak 201456a056 send data and ENDOFDATA to main depending on rc and data availability 2024-11-01 21:56:45 +01:00
spacefreak add8e44e4f validate reception of ENDOFDATA from data gathering functions 2024-11-01 20:24:14 +01:00
spacefreak 7d4029fd06 prevent time shift when scheduling 2024-10-31 22:25:23 +01:00
spacefreak 3aecda95ba also log the invalid line 2024-10-15 16:36:22 +02:00
spacefreak 48346d02e7 log error if cache receives invalid line 2024-10-15 15:34:03 +02:00
spacefreak ae0f0aa745 remove test.sh 2024-10-04 16:39:03 +02:00
spacefreak bec584b42d exit if daemon receives invalid command 2024-10-04 16:37:25 +02:00
spacefreak 75cac1c93b fix issue when receiving partial lines 2024-09-30 15:19:53 +02:00
spacefreak 59dabc3565 read complete line immediately if partial line is received 2024-09-30 14:55:20 +02:00
spacefreak df9b79f931 skip debug log on partial lines if buffer length is 0 2024-09-30 13:34:26 +02:00
spacefreak 95c8c276ac add debug log for partial received lines 2024-09-30 13:29:07 +02:00
spacefreak 8af91ec36a send error log message to stderr 2024-09-30 12:44:36 +02:00
spacefreak e8b2555b6b fix typo 2024-09-30 09:08:26 +02:00
spacefreak b73dda4496 fix log message 2024-09-30 08:59:20 +02:00
spacefreak 79855cfbca set executable bit on snmpd-oid-daemon.sh 2024-09-30 01:01:39 +02:00
spacefreak c851ff14e0 cleanup 2024-09-30 00:58:31 +02:00
spacefreak eda4d2725b Change README.md 2024-09-30 00:55:09 +02:00
spacefreak 5bcda90b06 add debug log message to clear_cached_oid function 2024-09-30 00:31:28 +02:00
spacefreak 22b6c9c751 Change README.md 2024-09-29 23:09:25 +02:00
spacefreak d4679c4c78 Initial commit of snmpd-oid-daemon.sh 2024-09-29 23:08:59 +02:00
spacefreak 85269f5dfe Initial commit 2024-09-29 22:36:46 +02:00