Hello. I run NTP servers on RouterOS for a few years and now I gotta try to add monitors. Most staple place do deploy monitor that I have for now it’s a debian system inside container on my main RouterOS. I try, but I can’t! Package ntppool-agent when it gotta be configured catch an error “System has not been booted with systemd as init system (PID 1). Can’t operate.”
I can’t use barebone installed system for now for monitors.
Is this limitation have any purpose? And can I bypass it somehow?
Hi. The apt post-install script tries to detect systemd to configure the package correctly. I think what happens is that systemd is detected but not active (because you are in a container).
You can try the docker image that the CI/CD system builds:
docker run --rm -ti --entrypoint /app/ntppool-agent harbor.ntppool.org/ntppool/monitor-api:latest setup -e test
Try to use that container, but it return errors like this: msg=“failed to create state directory” env=test dir=/bin/sh/.config/ntppool-agent/test err=“mkdir /bin/sh: not a directory”