diff options
author | Micael Karlberg <[email protected]> | 2011-02-25 10:49:13 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-02-25 10:49:13 +0100 |
commit | 03014788307572cf1920ddc82bfae0d8d1faf74b (patch) | |
tree | 79b8902483f200220b673a865d58a1b7183a55e1 /lib/snmp/test/test_config/sys-agent.config.src | |
parent | 8d66da63859f1dae9339d1b13f37b0982c052133 (diff) | |
parent | ae806f1663d47569876b3abc0998ee3387c7abd2 (diff) | |
download | otp-03014788307572cf1920ddc82bfae0d8d1faf74b.tar.gz otp-03014788307572cf1920ddc82bfae0d8d1faf74b.tar.bz2 otp-03014788307572cf1920ddc82bfae0d8d1faf74b.zip |
[agent] Added a "complete" set of (snmp) table and variable
print functions, for each mib handled by the SNMP (agent)
application. This will be usefull when debugging a running
agent. See snmpa:print_mib_info/0, snmpa:print_mib_tables/0
and snmpa:print_mib_variables/0 for more info.
Merge branch 'bmk/snmp/add_snmp_table_print/OTP-8977' into bmk/snmp/snmp419_integration/OTP-9068
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/app/snmp.appup.src
lib/snmp/vsn.mk
Diffstat (limited to 'lib/snmp/test/test_config/sys-agent.config.src')
-rw-r--r-- | lib/snmp/test/test_config/sys-agent.config.src | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lib/snmp/test/test_config/sys-agent.config.src b/lib/snmp/test/test_config/sys-agent.config.src new file mode 100644 index 0000000000..46a458203d --- /dev/null +++ b/lib/snmp/test/test_config/sys-agent.config.src @@ -0,0 +1,43 @@ +%% This is an example sys config file for starting the snmp application +%% with only a agent running. +[{snmp, + [ + {agent, + [ + {priority, normal}, + {versions, [v1,v2,v3]}, + {db_dir, "%DIR%/agent/db"}, + {mib_storage, ets}, +%% {agent_mib_storage, volatile}, + {agent_mib_storage, persistent}, + {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, trace}, + {audit_trail_log, [{type, read}, + {dir, "%DIR%/agent/log"}, + {size, {10240,10}}]}, + {config, [{dir, "%DIR%/agent/conf"}, + {force_load, true}, + {verbosity, trace}]}, + {multi_threaded, true}, + {mib_server, [{mibentry_override, false}, + {trapentry_override, false}, + {cache, true}, + {verbosity, trace}]}, + {note_store, [{timeout,30000}, {verbosity,silence}]}, + {supervisor, [{verbosity,silence}]}, + {net_if, [{module, snmpa_net_if}, + {verbosity, silence}, + {options, [{bind_to, true}, + {no_reuse, false}, + {req_limit, infinity}, + {sndbuf, 32000}, + {recbuf, 32000}]}]} + ] + } + ] + } +]. |