Hi Adam
We wee requests in the 'observium_actions' table.
We do not have the "discovery.php -new" cron job.
Lars
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong via observium Sent: 24. maj 2022 16:52 To: 'Observium' observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] Pollers not picking up orders
The adding-via-cronjob thing was only added recently, and is probably only used by a couple of people, so might well have design problems that we haven't found/fixed yet.
Mike will probably have questions about the setup.
Can you see the requests to add the devices in the `observium_actions` table in the database?
Do you have the discovery.php -new cron job? This is the process that runs the device_add jobs.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Lars Joergensen via observium Sent: 24 May 2022 15:38 To: Observium observium@observium.org Cc: Lars Joergensen DKLARJ@chr-hansen.com Subject: Re: [Observium] Pollers not picking up orders
Hi Martin
We do not need to add that large amount of devices, and people here prefer using the GUI. We can continue to add them to the main instance and then change poller afterwards.
It just seems counterintuitive that I'm able to choose a poller when adding a device when it doesn't work. I still suspect I'm missing a minor detail like a cronjob on the poller.
Lars
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Martin via observium Sent: 24. maj 2022 14:30 To: Lars Joergensen via observium observium@observium.org Cc: Martin martin@moens.nu Subject: Re: [Observium] Pollers not picking up orders
Hi Lars,
We just use add_device.php from the CLI to add devices. Works without any issue. No idea if there might be issues with adding via GUI. Are you using cli or gui to add devices? After adding a new device, you should see in the devices table the poller_id set to the corret poller_id. That is enough for the poller to pick up that device. Running about 10 pollers each with 100-300 devices. No cron jobs needed.
Regards,
Martin
On 24/05/2022 07:50, Lars Joergensen via observium wrote:
Hi Martin
Yeah, we have all that. Poller 2 works just fine, looking at around 300 devices at the moment. Only problem is we can't create new hosts in it. We have to create them on the main instance and then assign them to poller 2 afterwards. Not world-breaking, but people tend to forget.
I'm guessing there's supposed to be a cronjob on poller 2 picking up on pending actions from the database?
Lars
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Martin via observium Sent: 20. maj 2022 04:47 To: observium@observium.org Cc: Martin martin@moens.nu Subject: Re: [Observium] Pollers not picking up orders
Hi Lars,
I assume you have the config.php for your poller2 correct?
// define poller name $config['poller_name'] = 'poller2';
And your definition in the database is also correct?
MariaDB [observium]> select poller_id, poller_name from pollers; +-----------+--------------+ | poller_id | poller_name | +-----------+--------------+ | 4 | poller2 | +-----------+--------------+
This is basically all the config that is needed.
Regards,
Martin
On 19/05/2022 09:42, Lars Joergensen via observium wrote:
Hey list
I think we discussed this before, but I forget the answer and my searching skills fail me.
We have several pollers returning data to a main instance. When we create new devices and tell them to be handled by for example "poller2", we can see that the order to do so is created in the database. But it's never picked up by the poller. Is there a cronjob I need to set up to fix this?
Best regards
*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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. chr-hansen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-ha n sen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C89d9c49978c045d4a33fee27 5 c523232%7C0%7C0%7C637886116335232711%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi M C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7 C %7C&sdata=G110AetjCrvRQ%2BtDKxHpd4bVaR6H64QVOJbxZ2IOVT0%3D&re s erved=0
observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpost m an.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05 % 7C01%7Cdklarj%40chr-hansen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637886116335232711%7CUnknown % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JLOot4xttJ7jh1VdQTAHEPuW2NQBUA85 y O1z7bEODrA%3D&reserved=0
observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostm an.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05% 7C01%7Cdklarj%40chr-hansen.com%7C9e49c254d4274cce5c5d08da3d8134f7%7C89 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown% 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8EA %2Fc7Pe5lSo5tQ%3D&reserved=0 ________________________________ 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. chr-hansen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-han sen.com%7C9e49c254d4274cce5c5d08da3d8134f7%7C89d9c49978c045d4a33fee275 c523232%7C0%7C0%7C637889922396186093%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C %7C&sdata=nao4lcHS4E2HccRcnAkhE15gVC7QzBWJZqfZSinVbZw%3D&reser ved=0 _______________________________________________ observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostm an.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05% 7C01%7Cdklarj%40chr-hansen.com%7C9e49c254d4274cce5c5d08da3d8134f7%7C89 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown% 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8EA %2Fc7Pe5lSo5tQ%3D&reserved=0
_______________________________________________ observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem... ________________________________ 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.chr-ha... _______________________________________________ observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem...
_______________________________________________ observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem... ________________________________ 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