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.orgmailto:observium-bounces@observium.org> On Behalf Of Lars Joergensen via observium Sent: 31 May 2022 12:45 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Lars Joergensen <DKLARJ@chr-hansen.commailto: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
________________________________ Disclaimer: This e-mail, including any attachments, is for the intended recipient only. If you have received this e-mail by mistake please notify the sender immediately by return e-mail and delete this e-mail and any attachments, without opening the attachments, from your system. Access, disclosure, copying, distribution or reliance on any part of this e-mail by anyone else is prohibited. This e-mail is confidential and may be legally privileged. Chr. Hansen does not represent and/or warrant that the information sent and/or received by or with this e-mail is correct and does not accept any liability for damages related thereto. https://www.chr-hansen.com/en/legal-notice