The "RuntimeMaxSec=290", will kill the process after 290 seconds. You can read about it her: https://www.freedesktop.org/software/systemd/man/systemd.service.html
It is better that is handled by the script, but i don't know how to add it, to the poller.php scipt.
fre. 24. jan. 2020 kl. 13:28 skrev Markus Klock via observium < observium@observium.org>:
Cool! How does it handle when poller or discovery is still running when its time to start a new process? Like when polling takes more than 5min for some reason?
/Markus
Den fre 24 jan. 2020 kl 12:17 skrev Torstein Eide via observium < observium@observium.org>:
Hi I have made systemd files for Observium. This makes it simplare to log from poller or discovery. It also adds a Max runtime control. It should probably be a max runtime per device.
https://github.com/Eideen/Observium-systemdfiles
-- Torstein Eide Torsteine@gmail.com _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium