Skip to content
Snippets Groups Projects
  1. Jan 27, 2025
  2. Jan 25, 2025
    • Adam Wujek's avatar
      rootfs/etc/init.d/system_clock_monitor: fix killing ntpd with pgid · fee88de0
      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: default avatarAdam Wujek <dev_public@wujek.eu>
      fee88de0
  3. Jan 20, 2025
  4. May 08, 2023
  5. Feb 06, 2023
  6. Nov 18, 2022
  7. May 20, 2020
  8. Aug 02, 2019
    • Jean-Claude BAU's avatar
      Protect SNMP for read file access · 328b9f52
      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.
      328b9f52
  9. Jul 03, 2019
    • Jean-Claude BAU's avatar
      New feature: System clock monitor · d61ae7bc
      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 .
      d61ae7bc