Hi Adam
We didn’t have any historical add jobs in the database, because I cleared them out (from the MySQL CLI).
The jobs did not disappear from the queue if the hosts had already been added elsewhere (if I understand your question correctly). That’s why I manually deleted them.
Lars
From: Adam Armstrong <adama@observium.org>
Sent: 31. maj 2022 17:18
To: 'Observium' <observium@observium.org>
Cc: Lars Joergensen <DKLARJ@chr-hansen.com>
Subject: RE: [Observium] Pollers not picking up orders
This should immediately pick up all of the historical “add” jobs in the database.
Did the jobs disappear from the queue, if they’d already been added elsewhere?
Adam.
From: observium <observium-bounces@observium.org>
On Behalf Of Lars Joergensen via observium
Sent: 31 May 2022 12:45
To: Observium <observium@observium.org>
Cc: Lars Joergensen <DKLARJ@chr-hansen.com>
Subject: Re: [Observium] Pollers not picking up orders
So, in summary, and after reading your various comments, this is what the crontab on the poller looks like now:
# Run automated discovery of newly added devices every 5 minutes
*/5 * * * * observium /opt/observium/discovery.php -h new >> /dev/null 2>&1
# Run a complete discovery of all devices once every 6 hours
33 */6 * * * observium /opt/observium/observium-wrapper discovery >> /dev/null 2>&1
# Run multithreaded poller wrapper every 5 minutes
*/5 * * * * observium /opt/observium/observium-wrapper poller >> /dev/null 2>&1
Now we just wait for someone to add a device. Thank you for pointing us in the right direction.
Lars