Thank you, that would make sense!

On Mon, Jul 26, 2021, 5:16 PM Adam Armstrong via observium <observium@observium.org> wrote:
function get_local_id() {
  // http://0pointer.de/blog/projects/ids.html
  switch (PHP_OS) {
    case 'Linux':
      // Note. system-uuid is good, but available only for root
      if (is_file('/etc/machine-id')) {
        // 1d56dd4b3c334a20bff1fc4878b9e1ee
        return trim(file_get_contents('/etc/machine-id'));
      }
      if (is_file('/var/lib/dbus/machine-id')) {
        return trim(file_get_contents('/var/lib/dbus/machine-id'));
      }
      break;
.....
   }
}


-----Original Message-----
From: observium <observium-bounces@observium.org> On Behalf Of Brad Bendy via observium
Sent: 27 July 2021 00:28
To: Observium Network Observation System <observium@observium.org>
Cc: Brad Bendy <brad.bendy@gmail.com>
Subject: [Observium] host_id in pollers table

Hi,

We have a image we have been deploying at remote sites for the poller.
This was a clone and added a new site and running into issues. Looking at the poller table I see the hostid in not different across some of the hosts, assuming his because we cloned the image.

What is this hostid referenced from? We made new SSH keys on each host but there must be something else this from and not really sure how to change it.

Thanks
_______________________________________________
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