- Jan 27, 2025
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Jan 25, 2025
-
-
Adam Wujek authored
-Get process group ID (pgid) instead of process ID. It didn't work when it was called from cron. -pgrep should accept full path. Without "-f" pgrep accepts "ntpd", but not "/usr/sbin/ntpd" Because of the two reasons above the system_clock_monitor script was not killing ntpd correctly. In practice, the ntp will be killed after 10s, instead of default timeout from ntpd 50s. Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Jan 20, 2025
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- May 08, 2023
-
-
Adam Wujek authored
Add wrsSystemClockDriftUs (in microseconds) as int32. There is no need to export this value as int64, with greater values of the offset the exact information about the offset is not needed. Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Feb 06, 2023
-
-
Adam Wujek authored
Don't kill other ntpd instances. Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Nov 18, 2022
-
-
Adam Wujek authored
Reduce the possible range in Kconfig to the half of the possible range. E.g. setting job to be run every 40minutes is not trivial and */40 will not work. Instead it will run the job at minute 0, then 40, then again at 0 (after 40min, then after 20min). Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- May 20, 2020
-
-
Some deamons/etc that log messages to syslog do not specify facility.level in their messages. The logger is configured to parse the message looking for facility.level (option: --prio-prefix). If the message does not include If no facility.priority is specified, the logger will use the one specified after -p, this is now provided. For example, PPSi does not specify facility.priority in messages (hopefully, this will change), without "-p daemon.info", it was reported as user.info. If user wishes to, he/she can override. This is the default config
-
-
- Aug 02, 2019
-
-
Jean-Claude BAU authored
Some scripts write to files to pass information to SNMP. To avoid read access failure from SNMP, the previous file is copied to a .old file then the new one is created.
-
- Jul 03, 2019
-
-
Jean-Claude BAU authored
The system clock monitor measures the offset between the local time and the NTP time. If this offset exceed a given threshold an alarm will be raised .
-