How can I store config settings in database?
A. Config settings can be stored in XML file, database, or other datasources. You just need to create a sub class of DefaultAgentConfig.java and implement all the abstract methods. We provide a reference implementation of storing config settings in dababase at DbConfig.java. Config settings are stored in 8 tables: properties, trapsink, snmpv3trapsink, proxy, trapproxy, user, v3group, view. The column names are the same as the ones in the XML config file. The data types of all those columns are varchar for simplicity considerations.