1%% This is an example sys config file for starting the snmp application 2%% with both an agent and a manager running. 3[{snmp, 4 [ 5 {agent, 6 [ 7 {priority, normal}, 8 {versions, [v1,v2,v3]}, 9 {db_dir, "%DIR%/agent/db"}, 10 {mib_storage, ets}, 11 {agent_mib_storage, volatile}, 12 {target_cache, [{verbosity,silence}]}, 13 {symbolic_store, [{verbosity,silence}]}, 14 {local_db, [{repair,true},{auto_save,5000},{verbosity,silence}]}, 15 {error_report_module, snmpa_error_logger}, 16 {agent_type, master}, 17 {agent_verbosity, silence}, 18 {audit_trail_log, [{type, read}, 19 {dir, "%DIR%/agent/log"}, 20 {size, {10240,10}}]}, 21 {config, [{dir, "%DIR%/agent/conf"}, 22 {force_load, true}, 23 {verbosity, silence}]}, 24 {multi_threaded, false}, 25 {mib_server, [{mibentry_override, false}, 26 {trapentry_override, false}, 27 {verbosity, silence}]}, 28 {note_store, [{timeout,30000},{verbosity,silence}]}, 29 {net_if, [{module, snmpa_net_if}, 30 {verbosity, silence}, 31 {options, [{bind_to, true}, 32 {no_reuse, false}, 33 {req_limit, infinity}, 34 {sndbuf, 32000}, 35 {recbuf, 32000}]}]} 36 ] 37 }, 38 {manager, 39 [ 40 {priority, normal}, 41 {versions, [v1,v2,v3]}, 42 {config, [{dir, "%DIR%/manager/conf"}, 43 {verbosity, silence}, 44 {db_dir, "%DIR%/manager/db"}, 45 {repair, true}, 46 {auto_save, 5000}]}, 47 {inform_request_behaviour, auto}, 48 {mibs, []}, 49 {server, [{timeout, 30000}, 50 {verbosity, silence}]}, 51 {note_store, [{timeout, 30000}, 52 {verbosity, silence}]}, 53 {audit_trail_log, [{type, read}, 54 {dir, "%DIR%/manager/log"}, 55 {size, {10240,10}}]}, 56 {net_if, [{module,snmpm_net_if}, 57 {verbosity, silence}, 58 {options, [{bind_to, true}, 59 {no_reuse, false}, 60 {recbuf, 33000}, 61 {sndbuf, 34000}]}]}, 62 {def_user_mod, snmpm_user_default}, 63 {def_user_data, undefined} 64 ] 65 } 66 ] 67 } 68]. 69