odstranění snmp community write

verze3
Michal 2026-08-27 22:47:40 +02:00
parent d7c763ea56
commit e69e307c09
2 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,7 @@ public class SnmpDao extends AbstractDao {
rs.getString("name"),
rs.getInt("version"),
rs.getString("port"),
rs.getString("communityRead"),
rs.getString("communityWrite")
rs.getString("communityRead")
);
});
}

View File

@ -0,0 +1,2 @@
ALTER TABLE snmpProfile DROP COLUMN communityWrite;
INSERT INTO snmpProfile (name, communityRead) VALUES ('public', 'public');