Will it allow multiple concurrent processes?
*do not* auto-kill a poller process like this, it’ll just result in a bunch of decices never being polled :D
Adam.
From: observium observium-bounces@observium.org On Behalf Of Torstein Eide via observium Sent: 24 January 2020 12:34 To: Observium observium@observium.org Cc: Torstein Eide torsteine@gmail.com Subject: Re: [Observium] Systemd files
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 mailto: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 mailto: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