mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Merge pull request #2797 from BarbarossaTM/issue-386-v2
Ability to use ifIndex,ifName and ifDescr to create and update port rrd files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE IF NOT EXISTS `port_association_mode` (pom_id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, name varchar(12) NOT NULL);
|
||||
INSERT INTO port_association_mode (pom_id, name) values (1, 'ifIndex');
|
||||
INSERT INTO port_association_mode (name) values ('ifName');
|
||||
INSERT INTO port_association_mode (name) values ('ifDescr');
|
||||
ALTER TABLE devices ADD port_association_mode int(11) NOT NULL DEFAULT 1;
|
||||
Reference in New Issue
Block a user