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?
[cid:image001.png@01D86B97.036B3160]
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://www.chr-hansen.com/en/legal-notice
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://www.chr-hansen.com/en/legal-notice
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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-han sen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C89d9c49978c045d4a33fee275 c523232%7C0%7C0%7C637886116335232711%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C %7C&sdata=G110AetjCrvRQ%2BtDKxHpd4bVaR6H64QVOJbxZ2IOVT0%3D&res erved=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%7C1b819a17789a49a2783a08da3a0b08ff%7C89 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637886116335232711%7CUnknown% 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JLOot4xttJ7jh1VdQTAHEPuW2NQBUA85y O1z7bEODrA%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://www.chr-hansen.com/en/legal-notice
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-han sen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C89d9c49978c045d4a33fee275 c523232%7C0%7C0%7C637886116335232711%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C %7C&sdata=G110AetjCrvRQ%2BtDKxHpd4bVaR6H64QVOJbxZ2IOVT0%3D&res erved=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%7C1b819a17789a49a2783a08da3a0b08ff%7C89 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637886116335232711%7CUnknown% 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JLOot4xttJ7jh1VdQTAHEPuW2NQBUA85y O1z7bEODrA%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://www.chr-hansen.com/en/legal-notice _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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://www.chr-hansen.com/en/legal-notice
Lars,
As I mentioned before, there are NO cron jobs involved in the poller setup. Only important thing for distributed polling is the correct setting of the poller_id field in the devices table and the correct setting of the pollername in both the pollers table and the poller config. No other magic needed.
Martin
On 24/05/2022 10:37, Lars Joergensen via observium wrote:
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://www.chr-hansen.com/en/legal-notice _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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://www.chr-hansen.com/en/legal-notice _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Thanks for correcting me Adam, I was not aware of this recent addition. Is there somewhere a description of the working of this "adding-via-cronjob thing"? Does this mean that the "old" method of adding via cli on the poller does not work any longer?
Regards,
Martin
On 24/05/2022 10:52, Adam Armstrong via observium wrote:
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://www.chr-hansen.com/en/legal-notice _______________________________________________ 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
No, the web ui new device queue is an addition. I'd probably still add via CLI if it was just me. The nature of the queue system makes it much messier.
If you add a device with a different poller selected, it'll be added to a queue that'll be picked up by the "discovery.php -new" cronjob and the add function will be run there. It's disconnected/delayed, but it's easier than logging into the remote poller.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Martin via observium Sent: 24 May 2022 16:41 To: observium@observium.org Cc: Martin martin@moens.nu Subject: Re: [Observium] Pollers not picking up orders
Thanks for correcting me Adam, I was not aware of this recent addition. Is there somewhere a description of the working of this "adding-via-cronjob thing"? Does this mean that the "old" method of adding via cli on the poller does not work any longer?
Regards,
Martin
On 24/05/2022 10:52, Adam Armstrong via observium wrote:
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-h a n sen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C89d9c49978c045d4a33fee2 7 5 c523232%7C0%7C0%7C637886116335232711%7CUnknown%7CTWFpbGZsb3d8eyJWIjo i M C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C% 7 C %7C&sdata=G110AetjCrvRQ%2BtDKxHpd4bVaR6H64QVOJbxZ2IOVT0%3D&r e s erved=0
observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpos t m an.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=0 5 % 7C01%7Cdklarj%40chr-hansen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C 8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637886116335232711%7CUnknow n % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC J X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JLOot4xttJ7jh1VdQTAHEPuW2NQBUA8 5 y O1z7bEODrA%3D&reserved=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%7C9e49c254d4274cce5c5d08da3d8134f7%7C8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8E A %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-ha n sen.com%7C9e49c254d4274cce5c5d08da3d8134f7%7C89d9c49978c045d4a33fee27 5 c523232%7C0%7C0%7C637889922396186093%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi M C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7 C %7C&sdata=nao4lcHS4E2HccRcnAkhE15gVC7QzBWJZqfZSinVbZw%3D&rese r ved=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%7C9e49c254d4274cce5c5d08da3d8134f7%7C8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8E A %2Fc7Pe5lSo5tQ%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://www.chr-hansen.com/en/legal-notice _______________________________________________ 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
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Though, there are still no /additional/ cronjob involved in this. It just re-uses the existing discovery -new job.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Martin via observium Sent: 24 May 2022 16:41 To: observium@observium.org Cc: Martin martin@moens.nu Subject: Re: [Observium] Pollers not picking up orders
Thanks for correcting me Adam, I was not aware of this recent addition. Is there somewhere a description of the working of this "adding-via-cronjob thing"? Does this mean that the "old" method of adding via cli on the poller does not work any longer?
Regards,
Martin
On 24/05/2022 10:52, Adam Armstrong via observium wrote:
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-h a n sen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C89d9c49978c045d4a33fee2 7 5 c523232%7C0%7C0%7C637886116335232711%7CUnknown%7CTWFpbGZsb3d8eyJWIjo i M C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C% 7 C %7C&sdata=G110AetjCrvRQ%2BtDKxHpd4bVaR6H64QVOJbxZ2IOVT0%3D&r e s erved=0
observium mailing list observium@observium.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpos t m an.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=0 5 % 7C01%7Cdklarj%40chr-hansen.com%7C1b819a17789a49a2783a08da3a0b08ff%7C 8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637886116335232711%7CUnknow n % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC J X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JLOot4xttJ7jh1VdQTAHEPuW2NQBUA8 5 y O1z7bEODrA%3D&reserved=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%7C9e49c254d4274cce5c5d08da3d8134f7%7C8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8E A %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-ha n sen.com%7C9e49c254d4274cce5c5d08da3d8134f7%7C89d9c49978c045d4a33fee27 5 c523232%7C0%7C0%7C637889922396186093%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi M C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7 C %7C&sdata=nao4lcHS4E2HccRcnAkhE15gVC7QzBWJZqfZSinVbZw%3D&rese r ved=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%7C9e49c254d4274cce5c5d08da3d8134f7%7C8 9 d9c49978c045d4a33fee275c523232%7C0%7C0%7C637889922396186093%7CUnknown % 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ X VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uuplp8C5zt5f%2FcDdfDmpXKbrGXFG8E A %2Fc7Pe5lSo5tQ%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://www.chr-hansen.com/en/legal-notice _______________________________________________ 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
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
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
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Lars Joergensen via observium Sent: 31. maj 2022 13:02 To: Observium observium@observium.org Cc: Lars Joergensen DKLARJ@chr-hansen.com Subject: Re: [Observium] Pollers not picking up orders
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.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium
Sent: 24. maj 2022 16:52
To: 'Observium' <observium@observium.orgmailto:observium@observium.org>
Cc: Adam Armstrong <adama@observium.orgmailto: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.orgmailto:observium-bounces@observium.org> On Behalf Of Lars Joergensen via observium
Sent: 24 May 2022 15:38
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
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.orgmailto:observium-bounces@observium.org> On Behalf Of Martin via observium
Sent: 24. maj 2022 14:30
To: Lars Joergensen via observium <observium@observium.orgmailto:observium@observium.org>
Cc: Martin <martin@moens.numailto: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.orgmailto:observium-bounces@observium.org> On Behalf Of Martin
via observium
Sent: 20. maj 2022 04:47
To: observium@observium.orgmailto:observium@observium.org
Cc: Martin <martin@moens.numailto: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.orgmailto: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.orgmailto: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.orgmailto: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.orgmailto: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.orgmailto:observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem...
_______________________________________________
observium mailing list
observium@observium.orgmailto: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.orgmailto: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
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
-----Original Message----- From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of Lars Joergensen via observium Sent: 31. maj 2022 13:02 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Lars Joergensen <DKLARJ@chr-hansen.com mailto:DKLARJ@chr-hansen.com > Subject: Re: [Observium] Pollers not picking up orders
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 < mailto:observium-bounces@observium.org observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium
Sent: 24. maj 2022 16:52
To: 'Observium' < mailto:observium@observium.org observium@observium.org>
Cc: Adam Armstrong < mailto:adama@observium.org 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 < mailto:observium-bounces@observium.org observium-bounces@observium.org> On Behalf Of Lars Joergensen via observium
Sent: 24 May 2022 15:38
To: Observium < mailto:observium@observium.org observium@observium.org>
Cc: Lars Joergensen < mailto:DKLARJ@chr-hansen.com 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 < mailto:observium-bounces@observium.org observium-bounces@observium.org> On Behalf Of Martin via observium
Sent: 24. maj 2022 14:30
To: Lars Joergensen via observium < mailto:observium@observium.org observium@observium.org>
Cc: Martin < mailto:martin@moens.nu 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 < mailto:observium-bounces@observium.org
observium-bounces@observium.org> On Behalf Of Martin
via observium
Sent: 20. maj 2022 04:47
To: mailto:observium@observium.org observium@observium.org
Cc: Martin < mailto:martin@moens.nu 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
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
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpost
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
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostm
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
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
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostm
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
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.me metic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdkla rj%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33 fee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&am p;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem etic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklar j%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33f ee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C& ;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%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-h ansen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-hansen.com%7C6 983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7 C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JEtmYGAHEJXuDrK 0nYKzvPmrE1zAgzTmhACQxWglhgo%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.chr-ha nsen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-hansen.com%7C69 83e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C 637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JEtmYGAHEJXuDrK0 nYKzvPmrE1zAgzTmhACQxWglhgo%3D&reserved=0
_______________________________________________
observium mailing list
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.me metic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdkla rj%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33 fee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&am p;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem etic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklar j%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33f ee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C& ;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%3D&reserved=0
_______________________________________________
observium mailing list
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.me metic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdkla rj%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33 fee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&am p;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem etic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklar j%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33f ee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C& ;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%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-h ansen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-hansen.com%7C6 983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7 C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JEtmYGAHEJXuDrK 0nYKzvPmrE1zAgzTmhACQxWglhgo%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.chr-ha nsen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-hansen.com%7C69 83e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C 637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JEtmYGAHEJXuDrK0 nYKzvPmrE1zAgzTmhACQxWglhgo%3D&reserved=0
_______________________________________________
observium mailing list
mailto:observium@observium.org observium@observium.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.me metic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdkla rj%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33 fee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&am p;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.mem etic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklar j%40chr-hansen.com%7C6983e1edb54e4e593fb308da42f519ab%7C89d9c49978c045d4a33f ee275c523232%7C0%7C0%7C637895917715043443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C& ;sdata=rQnSe4pGIIRqnjTWWznFfP5jU5rEH1KDbZmzjW0iQgY%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://www.chr-hansen.com/en/legal-notice
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
Hi, can you show me observium cronjobs on "poller2"
And send me debug output (from that poller) for:
./discovery.php -d -h new
Lars Joergensen via observium wrote on 19.05.2022 16:42:
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://www.chr-hansen.com/en/legal-notice
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Lars,
if you want help, please do not ignore my mails ;)
On 20.05.2022 15:49, Mike Stupalov via observium wrote:
Hi, can you show me observium cronjobs on "poller2"
And send me debug output (from that poller) for:
./discovery.php -d -h new
Lars Joergensen via observium wrote on 19.05.2022 16:42:
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://www.chr-hansen.com/en/legal-notice
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov, Discord channel: https://discord.gg/GjpNXKWm8W Observium Limited, https://observium.org
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Mike
Sorry, I missed your mail. This is the cronjobs on the poller:
# 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
I believe we might need a "-new" switch on the poller thing?
Lars
From: observium observium-bounces@observium.org On Behalf Of Mike Stupalov via observium Sent: 24. maj 2022 16:52 To: Observium observium@observium.org Cc: Mike Stupalov mike@observium.org Subject: Re: [Observium] Pollers not picking up orders
Hi Lars,
if you want help, please do not ignore my mails ;) On 20.05.2022 15:49, Mike Stupalov via observium wrote: Hi, can you show me observium cronjobs on "poller2"
And send me debug output (from that poller) for:
./discovery.php -d -h new
Lars Joergensen via observium wrote on 19.05.2022 16:42:
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://www.chr-hansen.com/en/legal-noticehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.chr-hansen.com%2Fen%2Flegal-notice&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378291943%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fHTzeFofbBtmJ4GCTeRZNrg3rZZyrWQh0H4HwUr9HNA%3D&reserved=0
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttps://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378291943%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZIrD%2FRTrNGt850%2B6hXpjGDS5fHsKrq8HPujVFNtNssY%3D&reserved=0
-- Mike Stupalov, Discord channel: https://discord.gg/GjpNXKWm8Whttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscord.gg%2FGjpNXKWm8W&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378291943%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Zdeu39h2WDSuwlSKSBBZE2mhQlqNjzYtmkC1A2AVWJQ%3D&reserved=0 Observium Limited, https://observium.orghttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fobservium.org%2F&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378291943%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=52kOXqMsYpzi6QVGDH%2FsNrPs%2FFMpBR0pHrOmmHaKkLo%3D&reserved=0
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttps://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378448178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cLTX23Yb5UhpN5UoJ9DhK4SxwssHQp7fjFojJVgOPb8%3D&reserved=0
--
Mike Stupalov,
Discord channel: https://discord.gg/GjpNXKWm8Whttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscord.gg%2FGjpNXKWm8W&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378448178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2F6T50y29nKqz3GANqlhURWM6q6LCKJ7U7mv4f5jLFUA%3D&reserved=0
Observium Limited, https://observium.orghttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fobservium.org%2F&data=05%7C01%7Cdklarj%40chr-hansen.com%7C76c6e28eb7a2466943aa08da3d94fdf7%7C89d9c49978c045d4a33fee275c523232%7C0%7C0%7C637890007378448178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FpN%2B6%2BCllz3nsxKS6j2ULHLyiyQ95O2OE8QJgGn0zww%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://www.chr-hansen.com/en/legal-notice
participants (4)
-
Adam Armstrong
-
Lars Joergensen
-
Martin
-
Mike Stupalov