Need Help Here Please

Please help me… im still new in librenms
I have a issue regarding about port association mode ifIndex. It seem like not appear in the box. When i try to force add device its says invalid port association mode…

Hello,

Please run . /validate.php and pastebin the output.

And can you post a screenshot of what you are trying to do?

Thank you

2 posts were split to a new topic: Help with adding host

I am having the same issue

This is what we did… we tried to switch from daily to monthly and things got a little out of whack. All of the sudden, we couldn’t add new devices because the port_association_mode table was empty. I found a cached copy of 4-17-2017 where some changed to daily or validate were being made and laf recommended these commands:

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’);
INSERT INTO port_association_mode (name) values (‘ifAlias’);
ALTER TABLE port_association_mode DEFAULT CHARSET=utf8 COLLATE utf8_unicode_ci;
ALTER TABLE port_association_mode CHANGE name name VARCHAR(12) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;

…then we could add devices again

FYI, if you get this error, your database is up-to-date and your code is not!

Please check your install and correct the issue.

That table was removed from the database on purpose and the code adjusted to not use it.