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