No, I think.
I had one device hang during polling on several occasions. And the time will wait (before the runetimemax) , og I logged the "the Poller duration exceeded 300s... ", and the timer waited for the old procces.
In my experience only the device that hangs, is the only one not polled. But I currently only up to 120 sec totalt time.
But a setting for like 150% * normal avg for a device, log warning. And 300% * normal avg with log error and kill sub- procces. Would make it possible to not allow one device, making trouble for others.
fre. 24. jan. 2020, 16:50 skrev Adam Armstrong via observium < observium@observium.org>:
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>:
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
--
Torstein Eide Torsteine@gmail.com _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium