Two devices with the same oid how the mib polling is working on discovery?

====================================
Component Version
LibreNMS 1.32-4-ga1d7826
DB Schema 209
PHP 7.0.23
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Tue, 03 Oct 2017 20:38:40 +0000

Have two different devices but they both have the same OID
Will it work?
When i am making such request at db
SELECT * FROM device_oids WHERE device_id = xx;
shows vars;
but for the second device this table is empty

ok that what i have already found. When you calling /tag=mib/ route it makes ajax request to ajax_table.php
return {
id: “device_oids”,
device_id: ‘<?php echo htmlspecialchars($device['device_id']); ?>’,
};
then:
device_oids.inc.php
$params = array(
$_POST[‘device_id’],
);
// start of sql definition
$sql = 'SELECT * FROM device_oids‘;
$wheresql = ’ WHERE device_id = ?’;

also have found that device oids is saving to db when includes/snmp.inc.php is called function
function save_mibs($device, $mibname, $oids, $mibdef, &$graphs)
{

// update database
$columns = array(‘device_id’, ‘oid’, ‘module’, ‘mib’, ‘object_type’, ‘value’, ‘numvalue’);
update_db_table(‘device_oids’, $columns, 2, $deviceoids);
} // save_mibs

but did not understand who and when is calling snmp.inc.php? is it called when discovery started?

Mib polling all happens from ./includes/polling/mib.inc.php and should support the same OID across multiple devices fine.