I’ve deployed 2 pollers and adjusted the cronjobs on them and see in the Observium.log that half of the devices are polled from one and the other half from the second poller. On the device’s ‘General device settings’ tab there is dropdown for assigning(?) a poller but it’s greyed out with default poller. What do I miss to get that enabled and assign devices to a specific poller instance or that they stick with the poller they were added? Haven’t added anything poller related to the cofig file (also didn’t find anything documented) and noticed there is a table named pollers in the db but it’s empty.
Thanks, Alex
From: observium observium-bounces@observium.org On Behalf Of Luca Sasdelli via observium Sent: Freitag, 05. April 2019 15:48 To: 'Observium' observium@observium.org Cc: Luca Sasdelli luca@sasdelli.it; 'Adam Armstrong' adama@memetic.org Subject: Re: [Observium] Distributed Poller
Hi,
what if a poller already has collected lots of local hosts and relevant data? How could I transfer those data to the master (if possible)? Should they be merged with the master data, or do they have separate tables?
Thanks! Luca
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: Thursday, April 4, 2019 10:47 PM To: Ron Culler via observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> Subject: Re: [Observium] Distributed Poller
If you add devices from the cli of the poller, it'll be automatically added to that poller, using the poller_id defined in that install's config.php (that's why the poller_id is in the config, rather than being a command line option)
It doesn't really make much sense to add it from the central system, since it (often) can't do tests and initial poll/discover.
Adding from the UI might come in the future, I have a plan for that.
adam.
On 2019-04-04 21:05:55, Ron Culler via observium <observium@observium.orgmailto:observium@observium.org> wrote: I know in a standard install with a single server the poller_id is 0 in the DB. For a distributed poller setup do we need to specify $config[poller_id] in the config.php file on each poller? And how do we specify the poller_id when devices are added to the system? Thanks
Ron Culler
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium