<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- snmpa</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/snmp-4.22.1.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Simple Network Management Protocol (SNMP)</strong><br><strong>Reference Manual</strong><br><small>Version 4.22.1</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Table of Contents</strong></small></p> <ul class="flipMenu"> <li id="no" title="snmp " expanded="false">snmp<ul> <li><a href="snmp.html"> Top of manual page </a></li> <li title="config-0"><a href="snmp.html#config-0">config/0</a></li> <li title="start-0"><a href="snmp.html#start-0">start/0</a></li> <li title="start-1"><a href="snmp.html#start-1">start/1</a></li> <li title="start_agent-0"><a href="snmp.html#start_agent-0">start_agent/0</a></li> <li title="start_agent-1"><a href="snmp.html#start_agent-1">start_agent/1</a></li> <li title="start_manager-0"><a href="snmp.html#start_manager-0">start_manager/0</a></li> <li title="start_manager-1"><a href="snmp.html#start_manager-1">start_manager/1</a></li> <li title="date_and_time-0"><a href="snmp.html#date_and_time-0">date_and_time/0</a></li> <li title="date_and_time_to_universal_time_dst-1"><a href="snmp.html#date_and_time_to_universal_time_dst-1">date_and_time_to_universal_time_dst/1</a></li> <li title="date_and_time_to_string-1"><a href="snmp.html#date_and_time_to_string-1">date_and_time_to_string/1</a></li> <li title="date_and_time_to_string-2"><a href="snmp.html#date_and_time_to_string-2">date_and_time_to_string/2</a></li> <li title="date_and_time_to_string2-1"><a href="snmp.html#date_and_time_to_string2-1">date_and_time_to_string2/1</a></li> <li title="local_time_to_date_and_time_dst-1"><a href="snmp.html#local_time_to_date_and_time_dst-1">local_time_to_date_and_time_dst/1</a></li> <li title="universal_time_to_date_and_time-1"><a href="snmp.html#universal_time_to_date_and_time-1">universal_time_to_date_and_time/1</a></li> <li title="validate_date_and_time-1"><a href="snmp.html#validate_date_and_time-1">validate_date_and_time/1</a></li> <li title="validate_date_and_time-2"><a href="snmp.html#validate_date_and_time-2">validate_date_and_time/2</a></li> <li title="passwd2localized_key-3"><a href="snmp.html#passwd2localized_key-3">passwd2localized_key/3</a></li> <li title="octet_string_to_bits-1"><a href="snmp.html#octet_string_to_bits-1">octet_string_to_bits/1</a></li> <li title="bits_to_octet_string-1"><a href="snmp.html#bits_to_octet_string-1">bits_to_octet_string/1</a></li> <li title="read_mib-1"><a href="snmp.html#read_mib-1">read_mib/1</a></li> <li title="log_to_txt-5"><a href="snmp.html#log_to_txt-5">log_to_txt/5</a></li> <li title="log_to_txt-6"><a href="snmp.html#log_to_txt-6">log_to_txt/6</a></li> <li title="log_to_txt-7"><a href="snmp.html#log_to_txt-7">log_to_txt/7</a></li> <li title="log_to_io-4"><a href="snmp.html#log_to_io-4">log_to_io/4</a></li> <li title="log_to_io-5"><a href="snmp.html#log_to_io-5">log_to_io/5</a></li> <li title="log_to_io-6"><a href="snmp.html#log_to_io-6">log_to_io/6</a></li> <li title="change_log_size-2"><a href="snmp.html#change_log_size-2">change_log_size/2</a></li> <li title="print_version_info-0"><a href="snmp.html#print_version_info-0">print_version_info/0</a></li> <li title="print_version_info-1"><a href="snmp.html#print_version_info-1">print_version_info/1</a></li> <li title="versions1-0"><a href="snmp.html#versions1-0">versions1/0</a></li> <li title="versions2-0"><a href="snmp.html#versions2-0">versions2/0</a></li> <li title="print_versions-1"><a href="snmp.html#print_versions-1">print_versions/1</a></li> <li title="print_versions-2"><a href="snmp.html#print_versions-2">print_versions/2</a></li> <li title="enable_trace-0"><a href="snmp.html#enable_trace-0">enable_trace/0</a></li> <li title="disable_trace-0"><a href="snmp.html#disable_trace-0">disable_trace/0</a></li> <li title="set_trace-1"><a href="snmp.html#set_trace-1">set_trace/1</a></li> <li title="reset_trace-1"><a href="snmp.html#reset_trace-1">reset_trace/1</a></li> <li title="set_trace-2"><a href="snmp.html#set_trace-2">set_trace/2</a></li> </ul> </li> <li title="snmp (App)"><a href="snmp_app.html">snmp (App) </a></li> <li id="loadscrollpos" title="snmpa " expanded="true">snmpa<ul> <li><a href="snmpa.html"> Top of manual page </a></li> <li title="add_agent_caps-2"><a href="snmpa.html#add_agent_caps-2">add_agent_caps/2</a></li> <li title="del_agent_caps-1"><a href="snmpa.html#del_agent_caps-1">del_agent_caps/1</a></li> <li title="get_agent_caps-0"><a href="snmpa.html#get_agent_caps-0">get_agent_caps/0</a></li> <li title="get-2"><a href="snmpa.html#get-2">get/2</a></li> <li title="get-3"><a href="snmpa.html#get-3">get/3</a></li> <li title="get_next-2"><a href="snmpa.html#get_next-2">get_next/2</a></li> <li title="get_next-3"><a href="snmpa.html#get_next-3">get_next/3</a></li> <li title="backup-1"><a href="snmpa.html#backup-1">backup/1</a></li> <li title="backup-2"><a href="snmpa.html#backup-2">backup/2</a></li> <li title="info-0"><a href="snmpa.html#info-0">info/0</a></li> <li title="info-1"><a href="snmpa.html#info-1">info/1</a></li> <li title="old_info_format-1"><a href="snmpa.html#old_info_format-1">old_info_format/1</a></li> <li title="load_mibs-1"><a href="snmpa.html#load_mibs-1">load_mibs/1</a></li> <li title="load_mibs-2"><a href="snmpa.html#load_mibs-2">load_mibs/2</a></li> <li title="unload_mibs-1"><a href="snmpa.html#unload_mibs-1">unload_mibs/1</a></li> <li title="unload_mibs-2"><a href="snmpa.html#unload_mibs-2">unload_mibs/2</a></li> <li title="which_mibs-0"><a href="snmpa.html#which_mibs-0">which_mibs/0</a></li> <li title="which_mibs-1"><a href="snmpa.html#which_mibs-1">which_mibs/1</a></li> <li title="whereis_mib-1"><a href="snmpa.html#whereis_mib-1">whereis_mib/1</a></li> <li title="whereis_mib-2"><a href="snmpa.html#whereis_mib-2">whereis_mib/2</a></li> <li title="current_request_id-0"><a href="snmpa.html#current_request_id-0">current_request_id/0</a></li> <li title="current_context-0"><a href="snmpa.html#current_context-0">current_context/0</a></li> <li title="current_community-0"><a href="snmpa.html#current_community-0">current_community/0</a></li> <li title="current_address-0"><a href="snmpa.html#current_address-0">current_address/0</a></li> <li title="enum_to_int-2"><a href="snmpa.html#enum_to_int-2">enum_to_int/2</a></li> <li title="enum_to_int-3"><a href="snmpa.html#enum_to_int-3">enum_to_int/3</a></li> <li title="int_to_enum-2"><a href="snmpa.html#int_to_enum-2">int_to_enum/2</a></li> <li title="int_to_enum-3"><a href="snmpa.html#int_to_enum-3">int_to_enum/3</a></li> <li title="name_to_oid-1"><a href="snmpa.html#name_to_oid-1">name_to_oid/1</a></li> <li title="name_to_oid-2"><a href="snmpa.html#name_to_oid-2">name_to_oid/2</a></li> <li title="oid_to_name-1"><a href="snmpa.html#oid_to_name-1">oid_to_name/1</a></li> <li title="oid_to_name-2"><a href="snmpa.html#oid_to_name-2">oid_to_name/2</a></li> <li title="which_aliasnames-0"><a href="snmpa.html#which_aliasnames-0">which_aliasnames/0</a></li> <li title="which_tables-0"><a href="snmpa.html#which_tables-0">which_tables/0</a></li> <li title="which_variables-0"><a href="snmpa.html#which_variables-0">which_variables/0</a></li> <li title="which_notifications-0"><a href="snmpa.html#which_notifications-0">which_notifications/0</a></li> <li title="log_to_txt-1"><a href="snmpa.html#log_to_txt-1">log_to_txt/1</a></li> <li title="log_to_txt-2"><a href="snmpa.html#log_to_txt-2">log_to_txt/2</a></li> <li title="log_to_txt-3"><a href="snmpa.html#log_to_txt-3">log_to_txt/3</a></li> <li title="log_to_txt-4"><a href="snmpa.html#log_to_txt-4">log_to_txt/4</a></li> <li title="log_to_txt-5"><a href="snmpa.html#log_to_txt-5">log_to_txt/5</a></li> <li title="log_to_txt-6"><a href="snmpa.html#log_to_txt-6">log_to_txt/6</a></li> <li title="log_to_txt-7"><a href="snmpa.html#log_to_txt-7">log_to_txt/7</a></li> <li title="log_to_io-1"><a href="snmpa.html#log_to_io-1">log_to_io/1</a></li> <li title="log_to_io-2"><a href="snmpa.html#log_to_io-2">log_to_io/2</a></li> <li title="log_to_io-3"><a href="snmpa.html#log_to_io-3">log_to_io/3</a></li> <li title="log_to_io-4"><a href="snmpa.html#log_to_io-4">log_to_io/4</a></li> <li title="log_to_io-5"><a href="snmpa.html#log_to_io-5">log_to_io/5</a></li> <li title="log_to_io-6"><a href="snmpa.html#log_to_io-6">log_to_io/6</a></li> <li title="change_log_size-1"><a href="snmpa.html#change_log_size-1">change_log_size/1</a></li> <li title="set_log_type-1"><a href="snmpa.html#set_log_type-1">set_log_type/1</a></li> <li title="set_log_type-2"><a href="snmpa.html#set_log_type-2">set_log_type/2</a></li> <li title="mib_of-1"><a href="snmpa.html#mib_of-1">mib_of/1</a></li> <li title="mib_of-2"><a href="snmpa.html#mib_of-2">mib_of/2</a></li> <li title="me_of-1"><a href="snmpa.html#me_of-1">me_of/1</a></li> <li title="me_of-2"><a href="snmpa.html#me_of-2">me_of/2</a></li> <li title="invalidate_mibs_cache-0"><a href="snmpa.html#invalidate_mibs_cache-0">invalidate_mibs_cache/0</a></li> <li title="invalidate_mibs_cache-1"><a href="snmpa.html#invalidate_mibs_cache-1">invalidate_mibs_cache/1</a></li> <li title="enable_mibs_cache-0"><a href="snmpa.html#enable_mibs_cache-0">enable_mibs_cache/0</a></li> <li title="enable_mibs_cache-1"><a href="snmpa.html#enable_mibs_cache-1">enable_mibs_cache/1</a></li> <li title="disable_mibs_cache-0"><a href="snmpa.html#disable_mibs_cache-0">disable_mibs_cache/0</a></li> <li title="disable_mibs_cache-1"><a href="snmpa.html#disable_mibs_cache-1">disable_mibs_cache/1</a></li> <li title="which_mibs_cache_size-0"><a href="snmpa.html#which_mibs_cache_size-0">which_mibs_cache_size/0</a></li> <li title="which_mibs_cache_size-1"><a href="snmpa.html#which_mibs_cache_size-1">which_mibs_cache_size/1</a></li> <li title="gc_mibs_cache-0"><a href="snmpa.html#gc_mibs_cache-0">gc_mibs_cache/0</a></li> <li title="gc_mibs_cache-1"><a href="snmpa.html#gc_mibs_cache-1">gc_mibs_cache/1</a></li> <li title="gc_mibs_cache-1"><a href="snmpa.html#gc_mibs_cache-1">gc_mibs_cache/1</a></li> <li title="gc_mibs_cache-2"><a href="snmpa.html#gc_mibs_cache-2">gc_mibs_cache/2</a></li> <li title="gc_mibs_cache-2"><a href="snmpa.html#gc_mibs_cache-2">gc_mibs_cache/2</a></li> <li title="gc_mibs_cache-3"><a href="snmpa.html#gc_mibs_cache-3">gc_mibs_cache/3</a></li> <li title="enable_mibs_cache_autogc-0"><a href="snmpa.html#enable_mibs_cache_autogc-0">enable_mibs_cache_autogc/0</a></li> <li title="enable_mibs_cache_autogc-1"><a href="snmpa.html#enable_mibs_cache_autogc-1">enable_mibs_cache_autogc/1</a></li> <li title="disable_mibs_cache_autogc-0"><a href="snmpa.html#disable_mibs_cache_autogc-0">disable_mibs_cache_autogc/0</a></li> <li title="disable_mibs_cache_autogc-1"><a href="snmpa.html#disable_mibs_cache_autogc-1">disable_mibs_cache_autogc/1</a></li> <li title="update_mibs_cache_age-1"><a href="snmpa.html#update_mibs_cache_age-1">update_mibs_cache_age/1</a></li> <li title="update_mibs_cache_age-2"><a href="snmpa.html#update_mibs_cache_age-2">update_mibs_cache_age/2</a></li> <li title="update_mibs_cache_gclimit-1"><a href="snmpa.html#update_mibs_cache_gclimit-1">update_mibs_cache_gclimit/1</a></li> <li title="update_mibs_cache_gclimit-2"><a href="snmpa.html#update_mibs_cache_gclimit-2">update_mibs_cache_gclimit/2</a></li> <li title="register_notification_filter-3"><a href="snmpa.html#register_notification_filter-3">register_notification_filter/3</a></li> <li title="register_notification_filter-4"><a href="snmpa.html#register_notification_filter-4">register_notification_filter/4</a></li> <li title="register_notification_filter-4"><a href="snmpa.html#register_notification_filter-4">register_notification_filter/4</a></li> <li title="register_notification_filter-5"><a href="snmpa.html#register_notification_filter-5">register_notification_filter/5</a></li> <li title="unregister_notification_filter-1"><a href="snmpa.html#unregister_notification_filter-1">unregister_notification_filter/1</a></li> <li title="unregister_notification_filter-2"><a href="snmpa.html#unregister_notification_filter-2">unregister_notification_filter/2</a></li> <li title="which_notification_filter-0"><a href="snmpa.html#which_notification_filter-0">which_notification_filter/0</a></li> <li title="which_notification_filter-1"><a href="snmpa.html#which_notification_filter-1">which_notification_filter/1</a></li> <li title="set_request_limit-1"><a href="snmpa.html#set_request_limit-1">set_request_limit/1</a></li> <li title="set_request_limit-2"><a href="snmpa.html#set_request_limit-2">set_request_limit/2</a></li> <li title="register_subagent-3"><a href="snmpa.html#register_subagent-3">register_subagent/3</a></li> <li title="unregister_subagent-2"><a href="snmpa.html#unregister_subagent-2">unregister_subagent/2</a></li> <li title="send_notification2-3"><a href="snmpa.html#send_notification2-3">send_notification2/3</a></li> <li title="send_notification-3"><a href="snmpa.html#send_notification-3">send_notification/3</a></li> <li title="send_notification-4"><a href="snmpa.html#send_notification-4">send_notification/4</a></li> <li title="send_notification-5"><a href="snmpa.html#send_notification-5">send_notification/5</a></li> <li title="send_notification-6"><a href="snmpa.html#send_notification-6">send_notification/6</a></li> <li title="send_notification-7"><a href="snmpa.html#send_notification-7">send_notification/7</a></li> <li title="discovery-2"><a href="snmpa.html#discovery-2">discovery/2</a></li> <li title="discovery-3"><a href="snmpa.html#discovery-3">discovery/3</a></li> <li title="discovery-3"><a href="snmpa.html#discovery-3">discovery/3</a></li> <li title="discovery-4"><a href="snmpa.html#discovery-4">discovery/4</a></li> <li title="discovery-4"><a href="snmpa.html#discovery-4">discovery/4</a></li> <li title="discovery-5"><a href="snmpa.html#discovery-5">discovery/5</a></li> <li title="discovery-6"><a href="snmpa.html#discovery-6">discovery/6</a></li> <li title="convert_config-1"><a href="snmpa.html#convert_config-1">convert_config/1</a></li> <li title="restart_worker-0"><a href="snmpa.html#restart_worker-0">restart_worker/0</a></li> <li title="restart_worker-1"><a href="snmpa.html#restart_worker-1">restart_worker/1</a></li> <li title="restart_set_worker-0"><a href="snmpa.html#restart_set_worker-0">restart_set_worker/0</a></li> <li title="restart_set_worker-1"><a href="snmpa.html#restart_set_worker-1">restart_set_worker/1</a></li> <li title="print_mib_info-0"><a href="snmpa.html#print_mib_info-0">print_mib_info/0</a></li> <li title="print_mib_tables-0"><a href="snmpa.html#print_mib_tables-0">print_mib_tables/0</a></li> <li title="print_mib_variables-0"><a href="snmpa.html#print_mib_variables-0">print_mib_variables/0</a></li> <li title="verbosity-2"><a href="snmpa.html#verbosity-2">verbosity/2</a></li> </ul> </li> <li id="no" title="snmpa_conf " expanded="false">snmpa_conf<ul> <li><a href="snmpa_conf.html"> Top of manual page </a></li> <li title="agent_entry-2"><a href="snmpa_conf.html#agent_entry-2">agent_entry/2</a></li> <li title="write_agent_config-2"><a href="snmpa_conf.html#write_agent_config-2">write_agent_config/2</a></li> <li title="write_agent_config-3"><a href="snmpa_conf.html#write_agent_config-3">write_agent_config/3</a></li> <li title="append_agent_config-2"><a href="snmpa_conf.html#append_agent_config-2">append_agent_config/2</a></li> <li title="read_agent_config-1"><a href="snmpa_conf.html#read_agent_config-1">read_agent_config/1</a></li> <li title="standard_entry-2"><a href="snmpa_conf.html#standard_entry-2">standard_entry/2</a></li> <li title="write_standard_config-2"><a href="snmpa_conf.html#write_standard_config-2">write_standard_config/2</a></li> <li title="write_standard_config-3"><a href="snmpa_conf.html#write_standard_config-3">write_standard_config/3</a></li> <li title="append_standard_config-2"><a href="snmpa_conf.html#append_standard_config-2">append_standard_config/2</a></li> <li title="read_standard_config-1"><a href="snmpa_conf.html#read_standard_config-1">read_standard_config/1</a></li> <li title="context_entry-1"><a href="snmpa_conf.html#context_entry-1">context_entry/1</a></li> <li title="write_context_config-2"><a href="snmpa_conf.html#write_context_config-2">write_context_config/2</a></li> <li title="write_context_config-3"><a href="snmpa_conf.html#write_context_config-3">write_context_config/3</a></li> <li title="append_context_config-2"><a href="snmpa_conf.html#append_context_config-2">append_context_config/2</a></li> <li title="read_context_config-1"><a href="snmpa_conf.html#read_context_config-1">read_context_config/1</a></li> <li title="community_entry-1"><a href="snmpa_conf.html#community_entry-1">community_entry/1</a></li> <li title="community_entry-5"><a href="snmpa_conf.html#community_entry-5">community_entry/5</a></li> <li title="write_community_config-2"><a href="snmpa_conf.html#write_community_config-2">write_community_config/2</a></li> <li title="write_community_config-3"><a href="snmpa_conf.html#write_community_config-3">write_community_config/3</a></li> <li title="append_community_config-2"><a href="snmpa_conf.html#append_community_config-2">append_community_config/2</a></li> <li title="read_community_config-1"><a href="snmpa_conf.html#read_community_config-1">read_community_config/1</a></li> <li title="target_addr_entry-5"><a href="snmpa_conf.html#target_addr_entry-5">target_addr_entry/5</a></li> <li title="target_addr_entry-6"><a href="snmpa_conf.html#target_addr_entry-6">target_addr_entry/6</a></li> <li title="target_addr_entry-8"><a href="snmpa_conf.html#target_addr_entry-8">target_addr_entry/8</a></li> <li title="target_addr_entry-10"><a href="snmpa_conf.html#target_addr_entry-10">target_addr_entry/10</a></li> <li title="target_addr_entry-11"><a href="snmpa_conf.html#target_addr_entry-11">target_addr_entry/11</a></li> <li title="write_target_addr_config-2"><a href="snmpa_conf.html#write_target_addr_config-2">write_target_addr_config/2</a></li> <li title="write_target_addr_config-3"><a href="snmpa_conf.html#write_target_addr_config-3">write_target_addr_config/3</a></li> <li title="append_target_addr_config-2"><a href="snmpa_conf.html#append_target_addr_config-2">append_target_addr_config/2</a></li> <li title="read_target_addr_config-1"><a href="snmpa_conf.html#read_target_addr_config-1">read_target_addr_config/1</a></li> <li title="target_params_entry-2"><a href="snmpa_conf.html#target_params_entry-2">target_params_entry/2</a></li> <li title="target_params_entry-4"><a href="snmpa_conf.html#target_params_entry-4">target_params_entry/4</a></li> <li title="target_params_entry-5"><a href="snmpa_conf.html#target_params_entry-5">target_params_entry/5</a></li> <li title="write_target_params_config-2"><a href="snmpa_conf.html#write_target_params_config-2">write_target_params_config/2</a></li> <li title="write_target_params_config-3"><a href="snmpa_conf.html#write_target_params_config-3">write_target_params_config/3</a></li> <li title="append_target_params_config-2"><a href="snmpa_conf.html#append_target_params_config-2">append_target_params_config/2</a></li> <li title="read_target_params_config-1"><a href="snmpa_conf.html#read_target_params_config-1">read_target_params_config/1</a></li> <li title="vacm_s2g_entry-3"><a href="snmpa_conf.html#vacm_s2g_entry-3">vacm_s2g_entry/3</a></li> <li title="vacm_acc_entry-8"><a href="snmpa_conf.html#vacm_acc_entry-8">vacm_acc_entry/8</a></li> <li title="vacm_vtf_entry-2"><a href="snmpa_conf.html#vacm_vtf_entry-2">vacm_vtf_entry/2</a></li> <li title="vacm_vtf_entry-4"><a href="snmpa_conf.html#vacm_vtf_entry-4">vacm_vtf_entry/4</a></li> <li title="write_vacm_config-2"><a href="snmpa_conf.html#write_vacm_config-2">write_vacm_config/2</a></li> <li title="write_vacm_config-3"><a href="snmpa_conf.html#write_vacm_config-3">write_vacm_config/3</a></li> <li title="append_vacm_config-2"><a href="snmpa_conf.html#append_vacm_config-2">append_vacm_config/2</a></li> <li title="read_vacm_config-1"><a href="snmpa_conf.html#read_vacm_config-1">read_vacm_config/1</a></li> <li title="usm_entry-1"><a href="snmpa_conf.html#usm_entry-1">usm_entry/1</a></li> <li title="usm_entry-13"><a href="snmpa_conf.html#usm_entry-13">usm_entry/13</a></li> <li title="write_usm_config-2"><a href="snmpa_conf.html#write_usm_config-2">write_usm_config/2</a></li> <li title="write_usm_config-3"><a href="snmpa_conf.html#write_usm_config-3">write_usm_config/3</a></li> <li title="append_usm_config-2"><a href="snmpa_conf.html#append_usm_config-2">append_usm_config/2</a></li> <li title="read_usm_config-1"><a href="snmpa_conf.html#read_usm_config-1">read_usm_config/1</a></li> <li title="notify_entry-3"><a href="snmpa_conf.html#notify_entry-3">notify_entry/3</a></li> <li title="write_notify_config-2"><a href="snmpa_conf.html#write_notify_config-2">write_notify_config/2</a></li> <li title="write_notify_config-3"><a href="snmpa_conf.html#write_notify_config-3">write_notify_config/3</a></li> <li title="append_notify_config-2"><a href="snmpa_conf.html#append_notify_config-2">append_notify_config/2</a></li> <li title="read_notify_config-1"><a href="snmpa_conf.html#read_notify_config-1">read_notify_config/1</a></li> </ul> </li> <li id="no" title="snmpa_discovery_handler " expanded="false">snmpa_discovery_handler<ul> <li><a href="snmpa_discovery_handler.html"> Top of manual page </a></li> <li title="stage1_finish-3"><a href="snmpa_discovery_handler.html#stage1_finish-3">stage1_finish/3</a></li> </ul> </li> <li id="no" title="snmpa_error_report " expanded="false">snmpa_error_report<ul> <li><a href="snmpa_error_report.html"> Top of manual page </a></li> <li title="config_err-2"><a href="snmpa_error_report.html#config_err-2">config_err/2</a></li> <li title="user_err-2"><a href="snmpa_error_report.html#user_err-2">user_err/2</a></li> </ul> </li> <li id="no" title="snmpa_error " expanded="false">snmpa_error<ul> <li><a href="snmpa_error.html"> Top of manual page </a></li> <li title="config_err-2"><a href="snmpa_error.html#config_err-2">config_err/2</a></li> <li title="user_err-2"><a href="snmpa_error.html#user_err-2">user_err/2</a></li> </ul> </li> <li id="no" title="snmpa_error_io " expanded="false">snmpa_error_io<ul> <li><a href="snmpa_error_io.html"> Top of manual page </a></li> <li title="config_err-2"><a href="snmpa_error_io.html#config_err-2">config_err/2</a></li> <li title="user_err-2"><a href="snmpa_error_io.html#user_err-2">user_err/2</a></li> </ul> </li> <li id="no" title="snmpa_error_logger " expanded="false">snmpa_error_logger<ul> <li><a href="snmpa_error_logger.html"> Top of manual page </a></li> <li title="config_err-2"><a href="snmpa_error_logger.html#config_err-2">config_err/2</a></li> <li title="user_err-2"><a href="snmpa_error_logger.html#user_err-2">user_err/2</a></li> </ul> </li> <li id="no" title="snmpa_local_db " expanded="false">snmpa_local_db<ul> <li><a href="snmpa_local_db.html"> Top of manual page </a></li> <li title="dump-0"><a href="snmpa_local_db.html#dump-0">dump/0</a></li> <li title="match-2"><a href="snmpa_local_db.html#match-2">match/2</a></li> <li title="print-0"><a href="snmpa_local_db.html#print-0">print/0</a></li> <li title="print-1"><a href="snmpa_local_db.html#print-1">print/1</a></li> <li title="print-2"><a href="snmpa_local_db.html#print-2">print/2</a></li> <li title="table_create-1"><a href="snmpa_local_db.html#table_create-1">table_create/1</a></li> <li title="table_create_row-3"><a href="snmpa_local_db.html#table_create_row-3">table_create_row/3</a></li> <li title="table_delete-1"><a href="snmpa_local_db.html#table_delete-1">table_delete/1</a></li> <li title="table_delete_row-2"><a href="snmpa_local_db.html#table_delete_row-2">table_delete_row/2</a></li> <li title="table_exists-1"><a href="snmpa_local_db.html#table_exists-1">table_exists/1</a></li> <li title="table_get_row-2"><a href="snmpa_local_db.html#table_get_row-2">table_get_row/2</a></li> </ul> </li> <li id="no" title="snmpa_mpd " expanded="false">snmpa_mpd<ul> <li><a href="snmpa_mpd.html"> Top of manual page </a></li> <li title="init-1"><a href="snmpa_mpd.html#init-1">init/1</a></li> <li title="process_packet-6"><a href="snmpa_mpd.html#process_packet-6">process_packet/6</a></li> <li title="process_packet-7"><a href="snmpa_mpd.html#process_packet-7">process_packet/7</a></li> <li title="generate_response_msg-5"><a href="snmpa_mpd.html#generate_response_msg-5">generate_response_msg/5</a></li> <li title="generate_response_msg-6"><a href="snmpa_mpd.html#generate_response_msg-6">generate_response_msg/6</a></li> <li title="generate_msg-5"><a href="snmpa_mpd.html#generate_msg-5">generate_msg/5</a></li> <li title="generate_msg-6"><a href="snmpa_mpd.html#generate_msg-6">generate_msg/6</a></li> <li title="discarded_pdu-1"><a href="snmpa_mpd.html#discarded_pdu-1">discarded_pdu/1</a></li> </ul> </li> <li id="no" title="snmpa_network_interface " expanded="false">snmpa_network_interface<ul> <li><a href="snmpa_network_interface.html"> Top of manual page </a></li> <li title="start_link-4"><a href="snmpa_network_interface.html#start_link-4">start_link/4</a></li> <li title="info-1"><a href="snmpa_network_interface.html#info-1">info/1</a></li> <li title="verbosity-2"><a href="snmpa_network_interface.html#verbosity-2">verbosity/2</a></li> <li title="get_log_type-1"><a href="snmpa_network_interface.html#get_log_type-1">get_log_type/1</a></li> <li title="set_log_type-2"><a href="snmpa_network_interface.html#set_log_type-2">set_log_type/2</a></li> </ul> </li> <li id="no" title="snmpa_network_interface_filter " expanded="false">snmpa_network_interface_filter<ul> <li><a href="snmpa_network_interface_filter.html"> Top of manual page </a></li> <li title="accept_recv-2"><a href="snmpa_network_interface_filter.html#accept_recv-2">accept_recv/2</a></li> <li title="accept_send-2"><a href="snmpa_network_interface_filter.html#accept_send-2">accept_send/2</a></li> <li title="accept_recv_pdu-3"><a href="snmpa_network_interface_filter.html#accept_recv_pdu-3">accept_recv_pdu/3</a></li> <li title="accept_send_pdu-2"><a href="snmpa_network_interface_filter.html#accept_send_pdu-2">accept_send_pdu/2</a></li> </ul> </li> <li id="no" title="snmpa_notification_delivery_info_receiver " expanded="false">snmpa_notification_delivery_info_receiver<ul> <li><a href="snmpa_notification_delivery_info_receiver.html"> Top of manual page </a></li> <li title="delivery_targets-3"><a href="snmpa_notification_delivery_info_receiver.html#delivery_targets-3">delivery_targets/3</a></li> <li title="delivery_info-4"><a href="snmpa_notification_delivery_info_receiver.html#delivery_info-4">delivery_info/4</a></li> </ul> </li> <li id="no" title="snmpa_notification_filter " expanded="false">snmpa_notification_filter<ul> <li><a href="snmpa_notification_filter.html"> Top of manual page </a></li> <li title="handle_notification-2"><a href="snmpa_notification_filter.html#handle_notification-2">handle_notification/2</a></li> </ul> </li> <li id="no" title="snmpa_supervisor " expanded="false">snmpa_supervisor<ul> <li><a href="snmpa_supervisor.html"> Top of manual page </a></li> <li title="start_sub_sup-1"><a href="snmpa_supervisor.html#start_sub_sup-1">start_sub_sup/1</a></li> <li title="start_master_sup-1"><a href="snmpa_supervisor.html#start_master_sup-1">start_master_sup/1</a></li> <li title="start_sub_agent-3"><a href="snmpa_supervisor.html#start_sub_agent-3">start_sub_agent/3</a></li> <li title="stop_sub_agent-1"><a href="snmpa_supervisor.html#stop_sub_agent-1">stop_sub_agent/1</a></li> </ul> </li> <li id="no" title="snmp_community_mib " expanded="false">snmp_community_mib<ul> <li><a href="snmp_community_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_community_mib.html#configure-1">configure/1</a></li> <li title="reconfigure-1"><a href="snmp_community_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="add_community-5"><a href="snmp_community_mib.html#add_community-5">add_community/5</a></li> <li title="add_community-6"><a href="snmp_community_mib.html#add_community-6">add_community/6</a></li> <li title="delete_community-1"><a href="snmp_community_mib.html#delete_community-1">delete_community/1</a></li> </ul> </li> <li id="no" title="snmp_framework_mib " expanded="false">snmp_framework_mib<ul> <li><a href="snmp_framework_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_framework_mib.html#configure-1">configure/1</a></li> <li title="init-0"><a href="snmp_framework_mib.html#init-0">init/0</a></li> <li title="add_context-1"><a href="snmp_framework_mib.html#add_context-1">add_context/1</a></li> <li title="delete_context-1"><a href="snmp_framework_mib.html#delete_context-1">delete_context/1</a></li> </ul> </li> <li id="no" title="snmp_generic " expanded="false">snmp_generic<ul> <li><a href="snmp_generic.html"> Top of manual page </a></li> <li title="get_status_col-2"><a href="snmp_generic.html#get_status_col-2">get_status_col/2</a></li> <li title="get_status_col-2"><a href="snmp_generic.html#get_status_col-2">get_status_col/2</a></li> <li title="get_index_types-1"><a href="snmp_generic.html#get_index_types-1">get_index_types/1</a></li> <li title="get_table_info-2"><a href="snmp_generic.html#get_table_info-2">get_table_info/2</a></li> <li title="table_func-2"><a href="snmp_generic.html#table_func-2">table_func/2</a></li> <li title="table_func-4"><a href="snmp_generic.html#table_func-4">table_func/4</a></li> <li title="table_get_elements-3"><a href="snmp_generic.html#table_get_elements-3">table_get_elements/3</a></li> <li title="table_next-2"><a href="snmp_generic.html#table_next-2">table_next/2</a></li> <li title="table_row_exists-2"><a href="snmp_generic.html#table_row_exists-2">table_row_exists/2</a></li> <li title="table_set_elements-3"><a href="snmp_generic.html#table_set_elements-3">table_set_elements/3</a></li> <li title="variable_func-2"><a href="snmp_generic.html#variable_func-2">variable_func/2</a></li> <li title="variable_func-3"><a href="snmp_generic.html#variable_func-3">variable_func/3</a></li> <li title="variable_get-1"><a href="snmp_generic.html#variable_get-1">variable_get/1</a></li> <li title="variable_set-2"><a href="snmp_generic.html#variable_set-2">variable_set/2</a></li> </ul> </li> <li id="no" title="snmp_index " expanded="false">snmp_index<ul> <li><a href="snmp_index.html"> Top of manual page </a></li> <li title="delete-1"><a href="snmp_index.html#delete-1">delete/1</a></li> <li title="delete-2"><a href="snmp_index.html#delete-2">delete/2</a></li> <li title="get-2"><a href="snmp_index.html#get-2">get/2</a></li> <li title="get_last-1"><a href="snmp_index.html#get_last-1">get_last/1</a></li> <li title="get_next-2"><a href="snmp_index.html#get_next-2">get_next/2</a></li> <li title="insert-3"><a href="snmp_index.html#insert-3">insert/3</a></li> <li title="key_to_oid-2"><a href="snmp_index.html#key_to_oid-2">key_to_oid/2</a></li> <li title="new-1"><a href="snmp_index.html#new-1">new/1</a></li> </ul> </li> <li id="no" title="snmp_notification_mib " expanded="false">snmp_notification_mib<ul> <li><a href="snmp_notification_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_notification_mib.html#configure-1">configure/1</a></li> <li title="reconfigure-1"><a href="snmp_notification_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="add_notify-3"><a href="snmp_notification_mib.html#add_notify-3">add_notify/3</a></li> <li title="delete_notify-1"><a href="snmp_notification_mib.html#delete_notify-1">delete_notify/1</a></li> </ul> </li> <li id="no" title="snmp_pdus " expanded="false">snmp_pdus<ul> <li><a href="snmp_pdus.html"> Top of manual page </a></li> <li title="dec_message-1"><a href="snmp_pdus.html#dec_message-1">dec_message/1</a></li> <li title="dec_message_only-1"><a href="snmp_pdus.html#dec_message_only-1">dec_message_only/1</a></li> <li title="dec_pdu-1"><a href="snmp_pdus.html#dec_pdu-1">dec_pdu/1</a></li> <li title="dec_scoped_pdu-1"><a href="snmp_pdus.html#dec_scoped_pdu-1">dec_scoped_pdu/1</a></li> <li title="dec_scoped_pdu_data-1"><a href="snmp_pdus.html#dec_scoped_pdu_data-1">dec_scoped_pdu_data/1</a></li> <li title="dec_usm_security_parameters-1"><a href="snmp_pdus.html#dec_usm_security_parameters-1">dec_usm_security_parameters/1</a></li> <li title="enc_encrypted_scoped_pdu-1"><a href="snmp_pdus.html#enc_encrypted_scoped_pdu-1">enc_encrypted_scoped_pdu/1</a></li> <li title="enc_message-1"><a href="snmp_pdus.html#enc_message-1">enc_message/1</a></li> <li title="enc_message_only-1"><a href="snmp_pdus.html#enc_message_only-1">enc_message_only/1</a></li> <li title="enc_pdu-1"><a href="snmp_pdus.html#enc_pdu-1">enc_pdu/1</a></li> <li title="enc_scoped_pdu-1"><a href="snmp_pdus.html#enc_scoped_pdu-1">enc_scoped_pdu/1</a></li> <li title="enc_usm_security_parameters-1"><a href="snmp_pdus.html#enc_usm_security_parameters-1">enc_usm_security_parameters/1</a></li> </ul> </li> <li id="no" title="snmp_standard_mib " expanded="false">snmp_standard_mib<ul> <li><a href="snmp_standard_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_standard_mib.html#configure-1">configure/1</a></li> <li title="inc-1"><a href="snmp_standard_mib.html#inc-1">inc/1</a></li> <li title="inc-2"><a href="snmp_standard_mib.html#inc-2">inc/2</a></li> <li title="reconfigure-1"><a href="snmp_standard_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="reset-0"><a href="snmp_standard_mib.html#reset-0">reset/0</a></li> <li title="sys_up_time-0"><a href="snmp_standard_mib.html#sys_up_time-0">sys_up_time/0</a></li> </ul> </li> <li id="no" title="snmp_target_mib " expanded="false">snmp_target_mib<ul> <li><a href="snmp_target_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_target_mib.html#configure-1">configure/1</a></li> <li title="reconfigure-1"><a href="snmp_target_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="set_target_engine_id-2"><a href="snmp_target_mib.html#set_target_engine_id-2">set_target_engine_id/2</a></li> <li title="add_addr-10"><a href="snmp_target_mib.html#add_addr-10">add_addr/10</a></li> <li title="add_addr-11"><a href="snmp_target_mib.html#add_addr-11">add_addr/11</a></li> <li title="delete_addr-1"><a href="snmp_target_mib.html#delete_addr-1">delete_addr/1</a></li> <li title="add_params-5"><a href="snmp_target_mib.html#add_params-5">add_params/5</a></li> <li title="delete_params-1"><a href="snmp_target_mib.html#delete_params-1">delete_params/1</a></li> </ul> </li> <li id="no" title="snmp_user_based_sm_mib " expanded="false">snmp_user_based_sm_mib<ul> <li><a href="snmp_user_based_sm_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_user_based_sm_mib.html#configure-1">configure/1</a></li> <li title="reconfigure-1"><a href="snmp_user_based_sm_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="add_user-13"><a href="snmp_user_based_sm_mib.html#add_user-13">add_user/13</a></li> <li title="delete_user-1"><a href="snmp_user_based_sm_mib.html#delete_user-1">delete_user/1</a></li> </ul> </li> <li id="no" title="snmp_view_based_acm_mib " expanded="false">snmp_view_based_acm_mib<ul> <li><a href="snmp_view_based_acm_mib.html"> Top of manual page </a></li> <li title="configure-1"><a href="snmp_view_based_acm_mib.html#configure-1">configure/1</a></li> <li title="reconfigure-1"><a href="snmp_view_based_acm_mib.html#reconfigure-1">reconfigure/1</a></li> <li title="add_sec2group-3"><a href="snmp_view_based_acm_mib.html#add_sec2group-3">add_sec2group/3</a></li> <li title="delete_sec2group-1"><a href="snmp_view_based_acm_mib.html#delete_sec2group-1">delete_sec2group/1</a></li> <li title="add_access-8"><a href="snmp_view_based_acm_mib.html#add_access-8">add_access/8</a></li> <li title="delete_access-1"><a href="snmp_view_based_acm_mib.html#delete_access-1">delete_access/1</a></li> <li title="add_view_tree_fam-4"><a href="snmp_view_based_acm_mib.html#add_view_tree_fam-4">add_view_tree_fam/4</a></li> <li title="delete_view_tree_fam-1"><a href="snmp_view_based_acm_mib.html#delete_view_tree_fam-1">delete_view_tree_fam/1</a></li> </ul> </li> <li id="no" title="snmpc " expanded="false">snmpc<ul> <li><a href="snmpc.html"> Top of manual page </a></li> <li title="compile-1"><a href="snmpc.html#compile-1">compile/1</a></li> <li title="compile-2"><a href="snmpc.html#compile-2">compile/2</a></li> <li title="is_consistent-1"><a href="snmpc.html#is_consistent-1">is_consistent/1</a></li> <li title="mib_to_hrl-1"><a href="snmpc.html#mib_to_hrl-1">mib_to_hrl/1</a></li> </ul> </li> <li title="snmpc(command)"><a href="snmpc(command).html">snmpc(command)</a></li> <li id="no" title="snmpm " expanded="false">snmpm<ul> <li><a href="snmpm.html"> Top of manual page </a></li> <li title="monitor-0"><a href="snmpm.html#monitor-0">monitor/0</a></li> <li title="demonitor-1"><a href="snmpm.html#demonitor-1">demonitor/1</a></li> <li title="notify_started-1"><a href="snmpm.html#notify_started-1">notify_started/1</a></li> <li title="cancel_notify_started-1"><a href="snmpm.html#cancel_notify_started-1">cancel_notify_started/1</a></li> <li title="register_user-3"><a href="snmpm.html#register_user-3">register_user/3</a></li> <li title="register_user-4"><a href="snmpm.html#register_user-4">register_user/4</a></li> <li title="register_user_monitor-3"><a href="snmpm.html#register_user_monitor-3">register_user_monitor/3</a></li> <li title="register_user_monitor-4"><a href="snmpm.html#register_user_monitor-4">register_user_monitor/4</a></li> <li title="unregister_user-1"><a href="snmpm.html#unregister_user-1">unregister_user/1</a></li> <li title="which_users-0"><a href="snmpm.html#which_users-0">which_users/0</a></li> <li title="register_agent-3"><a href="snmpm.html#register_agent-3">register_agent/3</a></li> <li title="unregister_agent-2"><a href="snmpm.html#unregister_agent-2">unregister_agent/2</a></li> <li title="agent_info-2"><a href="snmpm.html#agent_info-2">agent_info/2</a></li> <li title="update_agent_info-3"><a href="snmpm.html#update_agent_info-3">update_agent_info/3</a></li> <li title="update_agent_info-4"><a href="snmpm.html#update_agent_info-4">update_agent_info/4</a></li> <li title="which_agents-0"><a href="snmpm.html#which_agents-0">which_agents/0</a></li> <li title="which_agents-1"><a href="snmpm.html#which_agents-1">which_agents/1</a></li> <li title="register_usm_user-3"><a href="snmpm.html#register_usm_user-3">register_usm_user/3</a></li> <li title="unregister_usm_user-2"><a href="snmpm.html#unregister_usm_user-2">unregister_usm_user/2</a></li> <li title="usm_user_info-3"><a href="snmpm.html#usm_user_info-3">usm_user_info/3</a></li> <li title="update_usm_user_info-4"><a href="snmpm.html#update_usm_user_info-4">update_usm_user_info/4</a></li> <li title="which_usm_users-0"><a href="snmpm.html#which_usm_users-0">which_usm_users/0</a></li> <li title="which_usm_users-1"><a href="snmpm.html#which_usm_users-1">which_usm_users/1</a></li> <li title="sync_get2-3"><a href="snmpm.html#sync_get2-3">sync_get2/3</a></li> <li title="sync_get2-4"><a href="snmpm.html#sync_get2-4">sync_get2/4</a></li> <li title="sync_get-3"><a href="snmpm.html#sync_get-3">sync_get/3</a></li> <li title="sync_get-4"><a href="snmpm.html#sync_get-4">sync_get/4</a></li> <li title="sync_get-4"><a href="snmpm.html#sync_get-4">sync_get/4</a></li> <li title="sync_get-5"><a href="snmpm.html#sync_get-5">sync_get/5</a></li> <li title="sync_get-6"><a href="snmpm.html#sync_get-6">sync_get/6</a></li> <li title="async_get2-3"><a href="snmpm.html#async_get2-3">async_get2/3</a></li> <li title="async_get2-4"><a href="snmpm.html#async_get2-4">async_get2/4</a></li> <li title="async_get-3"><a href="snmpm.html#async_get-3">async_get/3</a></li> <li title="async_get-4"><a href="snmpm.html#async_get-4">async_get/4</a></li> <li title="async_get-4"><a href="snmpm.html#async_get-4">async_get/4</a></li> <li title="async_get-5"><a href="snmpm.html#async_get-5">async_get/5</a></li> <li title="async_get-6"><a href="snmpm.html#async_get-6">async_get/6</a></li> <li title="sync_get_next2-3"><a href="snmpm.html#sync_get_next2-3">sync_get_next2/3</a></li> <li title="sync_get_next2-4"><a href="snmpm.html#sync_get_next2-4">sync_get_next2/4</a></li> <li title="sync_get_next-3"><a href="snmpm.html#sync_get_next-3">sync_get_next/3</a></li> <li title="sync_get_next-4"><a href="snmpm.html#sync_get_next-4">sync_get_next/4</a></li> <li title="sync_get_next-4"><a href="snmpm.html#sync_get_next-4">sync_get_next/4</a></li> <li title="sync_get_next-5"><a href="snmpm.html#sync_get_next-5">sync_get_next/5</a></li> <li title="sync_get_next-6"><a href="snmpm.html#sync_get_next-6">sync_get_next/6</a></li> <li title="async_get_next2-3"><a href="snmpm.html#async_get_next2-3">async_get_next2/3</a></li> <li title="async_get_next2-4"><a href="snmpm.html#async_get_next2-4">async_get_next2/4</a></li> <li title="async_get_next-3"><a href="snmpm.html#async_get_next-3">async_get_next/3</a></li> <li title="async_get_next-4"><a href="snmpm.html#async_get_next-4">async_get_next/4</a></li> <li title="async_get_next-4"><a href="snmpm.html#async_get_next-4">async_get_next/4</a></li> <li title="async_get_next-5"><a href="snmpm.html#async_get_next-5">async_get_next/5</a></li> <li title="async_get_next-6"><a href="snmpm.html#async_get_next-6">async_get_next/6</a></li> <li title="sync_set2-3"><a href="snmpm.html#sync_set2-3">sync_set2/3</a></li> <li title="sync_set2-4"><a href="snmpm.html#sync_set2-4">sync_set2/4</a></li> <li title="sync_set-3"><a href="snmpm.html#sync_set-3">sync_set/3</a></li> <li title="sync_set-4"><a href="snmpm.html#sync_set-4">sync_set/4</a></li> <li title="sync_set-4"><a href="snmpm.html#sync_set-4">sync_set/4</a></li> <li title="sync_set-5"><a href="snmpm.html#sync_set-5">sync_set/5</a></li> <li title="sync_set-6"><a href="snmpm.html#sync_set-6">sync_set/6</a></li> <li title="async_set2-3"><a href="snmpm.html#async_set2-3">async_set2/3</a></li> <li title="async_set2-4"><a href="snmpm.html#async_set2-4">async_set2/4</a></li> <li title="async_set-3"><a href="snmpm.html#async_set-3">async_set/3</a></li> <li title="async_set-4"><a href="snmpm.html#async_set-4">async_set/4</a></li> <li title="async_set-4"><a href="snmpm.html#async_set-4">async_set/4</a></li> <li title="async_set-5"><a href="snmpm.html#async_set-5">async_set/5</a></li> <li title="async_set-6"><a href="snmpm.html#async_set-6">async_set/6</a></li> <li title="sync_get_bulk2-5"><a href="snmpm.html#sync_get_bulk2-5">sync_get_bulk2/5</a></li> <li title="sync_get_bulk2-6"><a href="snmpm.html#sync_get_bulk2-6">sync_get_bulk2/6</a></li> <li title="sync_get_bulk-5"><a href="snmpm.html#sync_get_bulk-5">sync_get_bulk/5</a></li> <li title="sync_get_bulk-6"><a href="snmpm.html#sync_get_bulk-6">sync_get_bulk/6</a></li> <li title="sync_get_bulk-6"><a href="snmpm.html#sync_get_bulk-6">sync_get_bulk/6</a></li> <li title="sync_get_bulk-7"><a href="snmpm.html#sync_get_bulk-7">sync_get_bulk/7</a></li> <li title="sync_get_bulk-8"><a href="snmpm.html#sync_get_bulk-8">sync_get_bulk/8</a></li> <li title="async_get_bulk2-5"><a href="snmpm.html#async_get_bulk2-5">async_get_bulk2/5</a></li> <li title="async_get_bulk2-6"><a href="snmpm.html#async_get_bulk2-6">async_get_bulk2/6</a></li> <li title="async_get_bulk-5"><a href="snmpm.html#async_get_bulk-5">async_get_bulk/5</a></li> <li title="async_get_bulk-6"><a href="snmpm.html#async_get_bulk-6">async_get_bulk/6</a></li> <li title="async_get_bulk-6"><a href="snmpm.html#async_get_bulk-6">async_get_bulk/6</a></li> <li title="async_get_bulk-7"><a href="snmpm.html#async_get_bulk-7">async_get_bulk/7</a></li> <li title="async_get_bulk-8"><a href="snmpm.html#async_get_bulk-8">async_get_bulk/8</a></li> <li title="cancel_async_request-2"><a href="snmpm.html#cancel_async_request-2">cancel_async_request/2</a></li> <li title="log_to_txt-2"><a href="snmpm.html#log_to_txt-2">log_to_txt/2</a></li> <li title="log_to_txt-3"><a href="snmpm.html#log_to_txt-3">log_to_txt/3</a></li> <li title="log_to_txt-4"><a href="snmpm.html#log_to_txt-4">log_to_txt/4</a></li> <li title="log_to_txt-5"><a href="snmpm.html#log_to_txt-5">log_to_txt/5</a></li> <li title="log_to_txt-6"><a href="snmpm.html#log_to_txt-6">log_to_txt/6</a></li> <li title="log_to_txt-7"><a href="snmpm.html#log_to_txt-7">log_to_txt/7</a></li> <li title="log_to_io-1"><a href="snmpm.html#log_to_io-1">log_to_io/1</a></li> <li title="log_to_io-2"><a href="snmpm.html#log_to_io-2">log_to_io/2</a></li> <li title="log_to_io-2"><a href="snmpm.html#log_to_io-2">log_to_io/2</a></li> <li title="log_to_io-3"><a href="snmpm.html#log_to_io-3">log_to_io/3</a></li> <li title="log_to_io-4"><a href="snmpm.html#log_to_io-4">log_to_io/4</a></li> <li title="log_to_io-5"><a href="snmpm.html#log_to_io-5">log_to_io/5</a></li> <li title="log_to_io-6"><a href="snmpm.html#log_to_io-6">log_to_io/6</a></li> <li title="change_log_size-1"><a href="snmpm.html#change_log_size-1">change_log_size/1</a></li> <li title="set_log_type-1"><a href="snmpm.html#set_log_type-1">set_log_type/1</a></li> <li title="load_mib-1"><a href="snmpm.html#load_mib-1">load_mib/1</a></li> <li title="unload_mib-1"><a href="snmpm.html#unload_mib-1">unload_mib/1</a></li> <li title="which_mibs-0"><a href="snmpm.html#which_mibs-0">which_mibs/0</a></li> <li title="name_to_oid-1"><a href="snmpm.html#name_to_oid-1">name_to_oid/1</a></li> <li title="oid_to_name-1"><a href="snmpm.html#oid_to_name-1">oid_to_name/1</a></li> <li title="oid_to_type-1"><a href="snmpm.html#oid_to_type-1">oid_to_type/1</a></li> <li title="backup-1"><a href="snmpm.html#backup-1">backup/1</a></li> <li title="info-0"><a href="snmpm.html#info-0">info/0</a></li> <li title="verbosity-2"><a href="snmpm.html#verbosity-2">verbosity/2</a></li> <li title="format_reason-1"><a href="snmpm.html#format_reason-1">format_reason/1</a></li> <li title="format_reason-2"><a href="snmpm.html#format_reason-2">format_reason/2</a></li> </ul> </li> <li id="no" title="snmpm_conf " expanded="false">snmpm_conf<ul> <li><a href="snmpm_conf.html"> Top of manual page </a></li> <li title="manager_entry-2"><a href="snmpm_conf.html#manager_entry-2">manager_entry/2</a></li> <li title="write_manager_config-2"><a href="snmpm_conf.html#write_manager_config-2">write_manager_config/2</a></li> <li title="write_manager_config-3"><a href="snmpm_conf.html#write_manager_config-3">write_manager_config/3</a></li> <li title="append_manager_config-2"><a href="snmpm_conf.html#append_manager_config-2">append_manager_config/2</a></li> <li title="read_manager_config-1"><a href="snmpm_conf.html#read_manager_config-1">read_manager_config/1</a></li> <li title="users_entry-1"><a href="snmpm_conf.html#users_entry-1">users_entry/1</a></li> <li title="users_entry-2"><a href="snmpm_conf.html#users_entry-2">users_entry/2</a></li> <li title="users_entry-3"><a href="snmpm_conf.html#users_entry-3">users_entry/3</a></li> <li title="write_users_config-2"><a href="snmpm_conf.html#write_users_config-2">write_users_config/2</a></li> <li title="write_users_config-3"><a href="snmpm_conf.html#write_users_config-3">write_users_config/3</a></li> <li title="append_users_config-2"><a href="snmpm_conf.html#append_users_config-2">append_users_config/2</a></li> <li title="read_users_config-1"><a href="snmpm_conf.html#read_users_config-1">read_users_config/1</a></li> <li title="agents_entry-12"><a href="snmpm_conf.html#agents_entry-12">agents_entry/12</a></li> <li title="write_agents_config-2"><a href="snmpm_conf.html#write_agents_config-2">write_agents_config/2</a></li> <li title="write_agents_config-3"><a href="snmpm_conf.html#write_agents_config-3">write_agents_config/3</a></li> <li title="append_agents_config-2"><a href="snmpm_conf.html#append_agents_config-2">append_agents_config/2</a></li> <li title="read_agents_config-1"><a href="snmpm_conf.html#read_agents_config-1">read_agents_config/1</a></li> <li title="usm_entry-6"><a href="snmpm_conf.html#usm_entry-6">usm_entry/6</a></li> <li title="usm_entry-7"><a href="snmpm_conf.html#usm_entry-7">usm_entry/7</a></li> <li title="write_usm_config-2"><a href="snmpm_conf.html#write_usm_config-2">write_usm_config/2</a></li> <li title="write_usm_config-3"><a href="snmpm_conf.html#write_usm_config-3">write_usm_config/3</a></li> <li title="append_usm_config-2"><a href="snmpm_conf.html#append_usm_config-2">append_usm_config/2</a></li> <li title="read_usm_config-1"><a href="snmpm_conf.html#read_usm_config-1">read_usm_config/1</a></li> </ul> </li> <li id="no" title="snmpm_mpd " expanded="false">snmpm_mpd<ul> <li><a href="snmpm_mpd.html"> Top of manual page </a></li> <li title="init_mpd-1"><a href="snmpm_mpd.html#init_mpd-1">init_mpd/1</a></li> <li title="process_msg-7"><a href="snmpm_mpd.html#process_msg-7">process_msg/7</a></li> <li title="generate_msg-5"><a href="snmpm_mpd.html#generate_msg-5">generate_msg/5</a></li> <li title="generate_response_msg-4"><a href="snmpm_mpd.html#generate_response_msg-4">generate_response_msg/4</a></li> </ul> </li> <li id="no" title="snmpm_network_interface " expanded="false">snmpm_network_interface<ul> <li><a href="snmpm_network_interface.html"> Top of manual page </a></li> <li title="start_link-2"><a href="snmpm_network_interface.html#start_link-2">start_link/2</a></li> <li title="stop-1"><a href="snmpm_network_interface.html#stop-1">stop/1</a></li> <li title="send_pdu-7"><a href="snmpm_network_interface.html#send_pdu-7">send_pdu/7</a></li> <li title="inform_response-4"><a href="snmpm_network_interface.html#inform_response-4">inform_response/4</a></li> <li title="note_store-2"><a href="snmpm_network_interface.html#note_store-2">note_store/2</a></li> <li title="info-1"><a href="snmpm_network_interface.html#info-1">info/1</a></li> <li title="verbosity-2"><a href="snmpm_network_interface.html#verbosity-2">verbosity/2</a></li> <li title="get_log_type-1"><a href="snmpm_network_interface.html#get_log_type-1">get_log_type/1</a></li> <li title="set_log_type-2"><a href="snmpm_network_interface.html#set_log_type-2">set_log_type/2</a></li> </ul> </li> <li id="no" title="snmpm_user " expanded="false">snmpm_user<ul> <li><a href="snmpm_user.html"> Top of manual page </a></li> <li title="handle_error-3"><a href="snmpm_user.html#handle_error-3">handle_error/3</a></li> <li title="handle_agent-5"><a href="snmpm_user.html#handle_agent-5">handle_agent/5</a></li> <li title="handle_pdu-4"><a href="snmpm_user.html#handle_pdu-4">handle_pdu/4</a></li> <li title="handle_trap-3"><a href="snmpm_user.html#handle_trap-3">handle_trap/3</a></li> <li title="handle_inform-3"><a href="snmpm_user.html#handle_inform-3">handle_inform/3</a></li> <li title="handle_report-3"><a href="snmpm_user.html#handle_report-3">handle_report/3</a></li> </ul> </li> <li id="no" title="snmpm_network_interface_filter " expanded="false">snmpm_network_interface_filter<ul> <li><a href="snmpm_network_interface_filter.html"> Top of manual page </a></li> <li title="accept_recv-2"><a href="snmpm_network_interface_filter.html#accept_recv-2">accept_recv/2</a></li> <li title="accept_send-2"><a href="snmpm_network_interface_filter.html#accept_send-2">accept_send/2</a></li> <li title="accept_recv_pdu-3"><a href="snmpm_network_interface_filter.html#accept_recv_pdu-3">accept_recv_pdu/3</a></li> <li title="accept_send_pdu-3"><a href="snmpm_network_interface_filter.html#accept_send_pdu-3">accept_send_pdu/3</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <!-- refpage --><center><h1>snmpa</h1></center> <h3>MODULE</h3> <div class="REFBODY">snmpa</div> <h3>MODULE SUMMARY</h3> <div class="REFBODY">Interface Functions to the SNMP toolkit agent</div> <h3>DESCRIPTION</h3> <div class="REFBODY"><p> <p>The module <span class="code">snmpa</span> contains interface functions to the SNMP agent.</p> <a name="data_types"></a> </p></div> <h3><a name="id105393">DATA TYPES</a></h3> <div class="REFBODY"> <div class="example"><pre> oid() = [byte()] atl_type() = read | write | read_write notification_delivery_info() = #snmpa_notification_delivery_info{} </pre></div> <p>The <span class="code">oid()</span> type is used to represent an ASN.1 OBJECT IDENTIFIER. </p> <p>The record <span class="code">snmpa_notification_delivery_info</span> contains the following fields: </p> <dl> <dt><strong><span class="code">tag = term()</span></strong></dt> <dd> <p>A user defined identity representing this notification send operation.</p> </dd> <dt><strong><span class="code">mod = module()</span></strong></dt> <dd> <p>A module implementing the <span class="bold_code"><a href="snmpa_notification_delivery_info_receiver.html">snmpa_notification_delivery_info_receiver</a></span> behaviour. The info functions of this module will be called at various stages of delivery. </p> </dd> <dt><strong><span class="code">extra = term()</span></strong></dt> <dd> <p>This is any extra info the user wants to have supplied when the functions in the callback module is called. </p> </dd> </dl> <a name="add_agent_caps"></a> </div> <h3>EXPORTS</h3> <p><a name="add_agent_caps-2"><span class="bold_code">add_agent_caps(SysORID, SysORDescr) -> SysORIndex</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">SysORID = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SysORDescr = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SysORIndex = integer()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function can be used to add an AGENT-CAPABILITY statement to the sysORTable in the agent. The table is defined in the SNMPv2-MIB.</p> <a name="del_agent_caps"></a> </p></div> <p><a name="del_agent_caps-1"><span class="bold_code">del_agent_caps(SysORIndex) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">SysORIndex = integer()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function can be used to delete an AGENT-CAPABILITY statement to the sysORTable in the agent. This table is defined in the SNMPv2-MIB. </p> <a name="get_agent_caps"></a> </p></div> <p><a name="get_agent_caps-0"><span class="bold_code">get_agent_caps() -> [[SysORIndex, SysORID, SysORDescr, SysORUpTime]]</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">SysORIndex = integer()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SysORId = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SysORDescr = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SysORUpTime = integer()</span><br> </div> </div> <div class="REFBODY"><p> <p>Returns all AGENT-CAPABILITY statements in the sysORTable in the agent. This table is defined in the SNMPv2-MIB. </p> <a name="get"></a> </p></div> <p><a name="get-2"><span class="bold_code">get(Agent, Vars) -> Values | {error, Reason}</span></a><br><a name="get-3"><span class="bold_code">get(Agent, Vars, Context) -> Values | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Vars = [oid()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Values = [term()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = {atom(), oid()}</span><br> </div> </div> <div class="REFBODY"><p> <p>Performs a GET operation on the agent. All loaded MIB objects are visible in this operation. The agent calls the corresponding instrumentation functions just as if it was a GET request coming from a manager. </p> <p>Note that the request specific parameters (such as <span class="bold_code"><a href="#current_request_id">current_request_id</a></span>) are not accessible for the instrumentation functions if this function is used. </p> <a name="get_next"></a> </p></div> <p><a name="get_next-2"><span class="bold_code">get_next(Agent, Vars) -> Values | {error, Reason}</span></a><br><a name="get_next-3"><span class="bold_code">get_next(Agent, Vars, Context) -> Values | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Vars = [oid()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Values = [{oid(), term()}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = {atom(), oid()}</span><br> </div> </div> <div class="REFBODY"><p> <p>Performs a GET-NEXT operation on the agent. All loaded MIB objects are visible in this operation. The agent calls the corresponding instrumentation functions just as if it was a GET request coming from a manager. </p> <p>Note that the request specific parameters (such as <span class="code">snmpa:current_request_id/0</span> are not accessible for the instrumentation functions if this function is used. </p> <a name="backup"></a> </p></div> <p><a name="backup-1"><span class="bold_code">backup(BackupDir) -> ok | {error, Reason}</span></a><br><a name="backup-2"><span class="bold_code">backup(Agent, BackupDir) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">BackupDir = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = backup_in_progress | term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Backup persistent/permanent data handled by the agent (such as local-db, mib-data and vacm). </p> <p>Data stored by mnesia is not handled. </p> <p>BackupDir cannot be identical to DbDir. </p> <p>Simultaneous backup calls are <strong>not</strong> allowed. That is, two different processes cannot simultaneously successfully call this function. One of them will be first, and succeed. The second will fail with the error reason <span class="code">backup_in_progress</span>. </p> <a name="info"></a> </p></div> <p><a name="info-0"><span class="bold_code">info() -> [{Key, Value}]</span></a><br><a name="info-1"><span class="bold_code">info(Agent) -> [{Key, Value}]</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Returns a list (a dictionary) containing information about the agent. Information includes loaded MIBs, registered sub-agents, some information about the memory allocation. </p> <p>As of version 4.4 the format of the info has been changed. To convert the info to the old format, call the <span class="bold_code"><a href="#old_info_format">old_info_format</a></span> function. </p> <a name="old_info_format"></a> </p></div> <p><a name="old_info_format-1"><span class="bold_code">old_info_format(NewInfo) -> OldInfo</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">OldInfo = NewInfo = [{Key, Value}]</span><br> </div> </div> <div class="REFBODY"><p> <p>As of version 4.4 the format of the info has been changed. This function is used to convert to the old (pre-4.4) info format. </p> <a name="load_mibs"></a> </p></div> <p><a name="load_mibs-1"><span class="bold_code">load_mibs(Mibs) -> ok | {error, Reason}</span></a><br><a name="load_mibs-2"><span class="bold_code">load_mibs(Agent,Mibs) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mibs = [MibName]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Loads <span class="code">Mibs</span> into an agent. If the agent cannot load all MIBs, it will indicate where loading was aborted. The <span class="code">MibName</span> is the name of the Mib, including the path to where the compiled mib is found. For example,</p> <div class="example"><pre> Dir = code:priv_dir(my_app) ++ "/mibs/", snmpa:load_mibs(snmp_master_agent, [Dir ++ "MY-MIB"]). </pre></div> <a name="unload_mibs"></a> </p></div> <p><a name="unload_mibs-1"><span class="bold_code">unload_mibs(Mibs) -> ok | {error, Reason}</span></a><br><a name="unload_mibs-2"><span class="bold_code">unload_mibs(Agent,Mibs) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mibs = [MibName]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>Unloads MIBs into an agent. If it cannot unload all MIBs, it will indicate where unloading was aborted. </p> <a name="which_mibs"></a> </p></div> <p><a name="which_mibs-0"><span class="bold_code">which_mibs() -> Mibs</span></a><br><a name="which_mibs-1"><span class="bold_code">which_mibs(Agent) -> Mibs</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mibs = [{MibName, MibFile}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibFile = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>Retrieve the list of all the mibs loaded into this agent. Default is the master agent. </p> <a name="whereis_mib"></a> </p></div> <p><a name="whereis_mib-1"><span class="bold_code">whereis_mib(MibName) -> {ok, MibFile} | {error, Reason}</span></a><br><a name="whereis_mib-2"><span class="bold_code">whereis_mib(Agent, MibName) -> {ok, MibFile} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibFile = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Get the full path to the (compiled) mib-file. </p> <a name="current_request_id"></a> <a name="current_context"></a> <a name="current_community"></a> <a name="current_address"></a> </p></div> <p><a name="current_request_id-0"><span class="bold_code">current_request_id() -> {value, RequestId} | false</span></a><br><a name="current_context-0"><span class="bold_code">current_context() -> {value, Context} | false</span></a><br><a name="current_community-0"><span class="bold_code">current_community() -> {value, Community} | false</span></a><br><a name="current_address-0"><span class="bold_code">current_address() -> {value, Address} | false</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">RequestId = integer()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Community = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Address = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Get the request-id, context, community and address of the request currently being processed by the agent. </p> <p>Note that these functions is intended to be called by the instrumentation functions and <strong>only</strong> if they are executed in the context of the agent process (e.g. it does not work if called from a spawned process).</p> <a name="enum_to_int"></a> </p></div> <p><a name="enum_to_int-2"><span class="bold_code">enum_to_int(Name, Enum) -> {value, Int} | false</span></a><br><a name="enum_to_int-3"><span class="bold_code">enum_to_int(Db, Name, Enum) -> {value, Int} | false</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Db = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Name = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Enum = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Int = int()</span><br> </div> </div> <div class="REFBODY"><p> <p>Converts the symbolic value <span class="code">Enum</span> to the corresponding integer of the enumerated object or type <span class="code">Name</span> in a MIB. The MIB must be loaded. </p> <p><span class="code">false</span> is returned if the object or type is not defined in any loaded MIB, or if it does not define the symbolic value as enumerated. </p> <p><span class="code">Db</span> is a reference to the symbolic store database (retrieved by a call to <span class="code">get_symbolic_store_db/0</span>). </p> <a name="int_to_enum"></a> </p></div> <p><a name="int_to_enum-2"><span class="bold_code">int_to_enum(Name, Int) -> {value, Enum} | false</span></a><br><a name="int_to_enum-3"><span class="bold_code">int_to_enum(Db, Name, Int) -> {value, Enum} | false</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Db = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Name = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Int = int()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Enum = atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Converts the integer <span class="code">Int</span> to the corresponding symbolic value of the enumerated object or type <span class="code">Name</span> in a MIB. The MIB must be loaded. </p> <p><span class="code">false</span> is returned if the object or type is not defined in any loaded MIB, or if it does not define the symbolic value as enumerated. </p> <p><span class="code">Db</span> is a reference to the symbolic store database (retrieved by a call to <span class="code">get_symbolic_store_db/0</span>). </p> <a name="name_to_oid"></a> </p></div> <p><a name="name_to_oid-1"><span class="bold_code">name_to_oid(Name) -> {value, oid()} | false</span></a><br><a name="name_to_oid-2"><span class="bold_code">name_to_oid(Db, Name) -> {value, oid()} | false</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Db = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Name = atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Looks up the OBJECT IDENTIFIER of a MIB object, given the symbolic name. Note, the OBJECT IDENTIFIER is given for the object, not for an instance. </p> <p><span class="code">false</span> is returned if the object is not defined in any loaded MIB. </p> <p><span class="code">Db</span> is a reference to the symbolic store database (retrieved by a call to <span class="code">get_symbolic_store_db/0</span>). </p> <a name="oid_to_name"></a> </p></div> <p><a name="oid_to_name-1"><span class="bold_code">oid_to_name(OID) -> {value, Name} | false</span></a><br><a name="oid_to_name-2"><span class="bold_code">oid_to_name(Db, OID) -> {value, Name} | false</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Db = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">OID = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Name = atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Looks up the symbolic name of a MIB object, given OBJECT IDENTIFIER. </p> <p><span class="code">false</span> is returned if the object is not defined in any loaded MIB. </p> <p><span class="code">Db</span> is a reference to the symbolic store database (retrieved by a call to <span class="code">get_symbolic_store_db/0</span>). </p> <a name="which_aliasnames"></a> </p></div> <p><a name="which_aliasnames-0"><span class="bold_code">which_aliasnames() -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Result = [atom()]</span><br> </div> </div> <div class="REFBODY"><p> <p>Retrieve all alias-names known to the agent.</p> <a name="which_tables"></a> </p></div> <p><a name="which_tables-0"><span class="bold_code">which_tables() -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Result = [atom()]</span><br> </div> </div> <div class="REFBODY"><p> <p>Retrieve all tables known to the agent.</p> <a name="which_variables"></a> </p></div> <p><a name="which_variables-0"><span class="bold_code">which_variables() -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Result = [atom()]</span><br> </div> </div> <div class="REFBODY"><p> <p>Retrieve all variables known to the agent.</p> <a name="which_notifications"></a> </p></div> <p><a name="which_notifications-0"><span class="bold_code">which_notifications() -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Result = [{Name, MibName, Info}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Name = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Info = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Retrieve all notifications (and traps) known to the agent.</p> <a name="log_to_txt"></a> </p></div> <p><a name="log_to_txt-1"><span class="bold_code">log_to_txt(LogDir)</span></a><br><a name="log_to_txt-2"><span class="bold_code">log_to_txt(LogDir, Mibs)</span></a><br><a name="log_to_txt-3"><span class="bold_code">log_to_txt(LogDir, Mibs, OutFile) -> ok | {error, Reason}</span></a><br><a name="log_to_txt-4"><span class="bold_code">log_to_txt(LogDir, Mibs, OutFile, LogName) -> ok | {error, Reason}</span></a><br><a name="log_to_txt-5"><span class="bold_code">log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile) -> ok | {error, Reason}</span></a><br><a name="log_to_txt-6"><span class="bold_code">log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start) -> ok | {error, Reason}</span></a><br><a name="log_to_txt-7"><span class="bold_code">log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start, Stop) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">LogDir = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mibs = [MibName]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">OutFile = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">LogName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">LogFile = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()} </span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = disk_log_open_error() | file_open_error() | term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">disk_log_open_error() = {LogName, term()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">file_open_error() = {OutFile, term()}</span><br> </div> </div> <div class="REFBODY"><p> <p>Converts an Audit Trail Log to a readable text file. <span class="code">OutFile</span> defaults to "./snmpa_log.txt". <span class="code">LogName</span> defaults to "snmpa_log". <span class="code">LogFile</span> defaults to "snmpa.log". See <span class="bold_code"><a href="snmp.html#log_to_txt">snmp:log_to_txt</a></span> for more info.</p> <a name="log_to_io"></a> </p></div> <p><a name="log_to_io-1"><span class="bold_code">log_to_io(LogDir) -> ok | {error, Reason}</span></a><br><a name="log_to_io-2"><span class="bold_code">log_to_io(LogDir, Mibs) -> ok | {error, Reason}</span></a><br><a name="log_to_io-3"><span class="bold_code">log_to_io(LogDir, Mibs, LogName) -> ok | {error, Reason}</span></a><br><a name="log_to_io-4"><span class="bold_code">log_to_io(LogDir, Mibs, LogName, LogFile) -> ok | {error, Reason}</span></a><br><a name="log_to_io-5"><span class="bold_code">log_to_io(LogDir, Mibs, LogName, LogFile, Start) -> ok | {error, Reason}</span></a><br><a name="log_to_io-6"><span class="bold_code">log_to_io(LogDir, Mibs, LogName, LogFile, Start, Stop) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">LogDir = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mibs = [MibName]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">LogName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">LogFile = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()} </span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = disk_log_open_error() | file_open_error() | term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">disk_log_open_error() = {LogName, term()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">file_open_error() = {OutFile, term()}</span><br> </div> </div> <div class="REFBODY"><p> <p>Converts an Audit Trail Log to a readable format and prints it on stdio. <span class="code">LogName</span> defaults to "snmpa_log". <span class="code">LogFile</span> defaults to "snmpa.log". See <span class="bold_code"><a href="snmp.html#log_to_io">snmp:log_to_io</a></span> for more info.</p> <a name="change_log_size"></a> </p></div> <p><a name="change_log_size-1"><span class="bold_code">change_log_size(NewSize) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">NewSize = {MaxBytes, MaxFiles}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MaxBytes = integer()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MaxFiles = integer()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Changes the log size of the Audit Trail Log. The application must be configured to use the audit trail log function. Please refer to disk_log(3) in Kernel Reference Manual for a description of how to change the log size. </p> <p>The change is permanent, as long as the log is not deleted. That means, the log size is remembered across reboots. </p> <a name="set_log_type"></a> </p></div> <p><a name="set_log_type-1"><span class="bold_code">set_log_type(NewType) -> {ok, OldType} | {error, Reason}</span></a><br><a name="set_log_type-2"><span class="bold_code">set_log_type(Agent, NewType) -> {ok, OldType} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">NewType = OldType = atl_type()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Changes the run-time Audit Trail log type. </p> <p>Note that this has no effect on the application configuration as defined by configuration files, so a node restart will revert the config to whatever is in those files. </p> <p>This function is primarily useful in testing/debugging scenarios. </p> <a name="mib_of"></a> </p></div> <p><a name="mib_of-1"><span class="bold_code">mib_of(Oid) -> {ok, MibName} | {error, Reason}</span></a><br><a name="mib_of-2"><span class="bold_code">mib_of(Agent, Oid) -> {ok, MibName} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Oid = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">MibName = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Finds the mib corresponding to the <span class="code">Oid</span>. If it is a variable, the Oid must be <Oid for var>.0 and if it is a table, Oid must be <table>.<entry>.<col>.<any></p> <a name="me_of"></a> </p></div> <p><a name="me_of-1"><span class="bold_code">me_of(Oid) -> {ok, Me} | {error, Reason}</span></a><br><a name="me_of-2"><span class="bold_code">me_of(Agent, Oid) -> {ok, Me} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Oid = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Me = #me{}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Finds the mib entry corresponding to the <span class="code">Oid</span>. If it is a variable, the Oid must be <Oid for var>.0 and if it is a table, Oid must be <table>.<entry>.<col>.<any></p> <a name="invalidate_mibs_cache"></a> </p></div> <p><a name="invalidate_mibs_cache-0"><span class="bold_code">invalidate_mibs_cache() -> void()</span></a><br><a name="invalidate_mibs_cache-1"><span class="bold_code">invalidate_mibs_cache(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Invalidate the mib server cache. </p> <p>The entire contents of the cache will be deleted. </p> <a name="enable_mibs_cache"></a> </p></div> <p><a name="enable_mibs_cache-0"><span class="bold_code">enable_mibs_cache() -> void()</span></a><br><a name="enable_mibs_cache-1"><span class="bold_code">enable_mibs_cache(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Enable the mib server cache. </p> <a name="disable_mibs_cache"></a> </p></div> <p><a name="disable_mibs_cache-0"><span class="bold_code">disable_mibs_cache() -> void()</span></a><br><a name="disable_mibs_cache-1"><span class="bold_code">disable_mibs_cache(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Disable the mib server cache. </p> <a name="which_mibs_cache_size"></a> </p></div> <p><a name="which_mibs_cache_size-0"><span class="bold_code">which_mibs_cache_size() -> void()</span></a><br><a name="which_mibs_cache_size-1"><span class="bold_code">which_mibs_cache_size(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Retreive the size of the mib server cache. </p> <a name="gc_mibs_cache"></a> </p></div> <p><a name="gc_mibs_cache-0"><span class="bold_code">gc_mibs_cache() -> {ok, NumElementsGCed} | {error, Reason}</span></a><br><a name="gc_mibs_cache-1"><span class="bold_code">gc_mibs_cache(Agent) -> {ok, NumElementsGCed} | {error, Reason}</span></a><br><a name="gc_mibs_cache-1"><span class="bold_code">gc_mibs_cache(Age) -> {ok, NumElementsGCed} | {error, Reason}</span></a><br><a name="gc_mibs_cache-2"><span class="bold_code">gc_mibs_cache(Agent, Age) -> {ok, NumElementsGCed} | {error, Reason}</span></a><br><a name="gc_mibs_cache-2"><span class="bold_code">gc_mibs_cache(Age, GcLimit) -> {ok, NumElementsGCed} | {error, Reason}</span></a><br><a name="gc_mibs_cache-3"><span class="bold_code">gc_mibs_cache(Agent, Age, GcLimit) -> {ok, NumElementsGCed} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Age = integer() > 0</span><br> </div> <div class="REFTYPES"> <span class="bold_code">GcLimit = integer() > 0 | infinity</span><br> </div> <div class="REFTYPES"> <span class="bold_code">NumElementsGCed = integer() >= 0</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Perform mib server cache gc. </p> <p>Manually performs a mib server cache gc. This can be done regardless of the value of the <span class="code">autogc</span> option. The <span class="code">NumElementsGCed</span> value indicates how many elements where actually removed from the cache. </p> <a name="enable_mibs_cache_autogc"></a> </p></div> <p><a name="enable_mibs_cache_autogc-0"><span class="bold_code">enable_mibs_cache_autogc() -> void()</span></a><br><a name="enable_mibs_cache_autogc-1"><span class="bold_code">enable_mibs_cache_autogc(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Enable automatic gc of the mib server cache. </p> <a name="disable_mibs_cache_autogc"></a> </p></div> <p><a name="disable_mibs_cache_autogc-0"><span class="bold_code">disable_mibs_cache_autogc() -> void()</span></a><br><a name="disable_mibs_cache_autogc-1"><span class="bold_code">disable_mibs_cache_autogc(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Disable automatic gc of the mib server cache. </p> <a name="update_mibs_cache_age"></a> </p></div> <p><a name="update_mibs_cache_age-1"><span class="bold_code">update_mibs_cache_age(NewAge) -> ok | {error, Reason}</span></a><br><a name="update_mibs_cache_age-2"><span class="bold_code">update_mibs_cache_age(Agent, NewAge) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">NewAge = integer() > 0</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Change the mib server cache <span class="code">age</span> property. </p> <a name="update_mibs_cache_gclimit"></a> </p></div> <p><a name="update_mibs_cache_gclimit-1"><span class="bold_code">update_mibs_cache_gclimit(NewGcLimit) -> ok | {error, Reason}</span></a><br><a name="update_mibs_cache_gclimit-2"><span class="bold_code">update_mibs_cache_gclimit(Agent, NewGCLimit) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">NewGcLimit = integer() > 0 | infinity</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Change the mib server cache <span class="code">gclimit</span> property. </p> <a name="register_notification_filter"></a> </p></div> <p><a name="register_notification_filter-3"><span class="bold_code">register_notification_filter(Id, Mod, Data) -> ok | {error, Reason}</span></a><br><a name="register_notification_filter-4"><span class="bold_code">register_notification_filter(Agent, Id, Mod, Data) -> ok | {error, Reason}</span></a><br><a name="register_notification_filter-4"><span class="bold_code">register_notification_filter(Id, Mod, Data, Where) -> ok | {error, Reason}</span></a><br><a name="register_notification_filter-5"><span class="bold_code">register_notification_filter(Agent, Id, Mod, Data, Where) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Id = filter_id()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">filter_id() = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mod = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Data = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Where = filter_position()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">filter_position() = first | last | {insert_before, filter_id()} | {insert_after, filter_id()} </span><br> </div> </div> <div class="REFBODY"><p> <p>Registers a notification filter. </p> <p><span class="code">Mod</span> is a module implementing the <span class="code">snmpa_notification_filter</span> behaviour.</p> <p><span class="code">Data</span> will be passed on to the filter when calling the functions of the behaviour.</p> <a name="unregister_notification_filter"></a> </p></div> <p><a name="unregister_notification_filter-1"><span class="bold_code">unregister_notification_filter(Id) -> ok | {error, Reason}</span></a><br><a name="unregister_notification_filter-2"><span class="bold_code">unregister_notification_filter(Agent, Id) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Id = filter_id()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">filter_id() = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Unregister a notification filter. </p> <a name="which_notification_filter"></a> </p></div> <p><a name="which_notification_filter-0"><span class="bold_code">which_notification_filter() -> Filters</span></a><br><a name="which_notification_filter-1"><span class="bold_code">which_notification_filter(Agent) -> Filters</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Filters = [filter_id()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">filter_id() = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>List all notification filters in an agent.</p> <a name="set_request_limit"></a> </p></div> <p><a name="set_request_limit-1"><span class="bold_code">set_request_limit(NewLimit) -> {ok, OldLimit} | {error, Reason}</span></a><br><a name="set_request_limit-2"><span class="bold_code">set_request_limit(Agent, NewLimit) -> {ok, OldLimit} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">NewLimit = OldLimit = infinity | integer() >= 0</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Changes the request limit. </p> <p>Note that this has no effect on the application configuration as defined by configuration files, so a node restart will revert the config to whatever is in those files. </p> <p>This function is primarily useful in load regulation scenarios. </p> <a name="register_subagent"></a> </p></div> <p><a name="register_subagent-3"><span class="bold_code">register_subagent(Agent, SubTreeOid, Subagent) -> ok | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SubTreeOid = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SubAgent = pid()</span><br> </div> </div> <div class="REFBODY"><p> <p>Registers a sub-agent under a sub-tree of another agent. </p> <p>It is easy to make mistakes when registering sub-agents and this activity should be done carefully. For example, a strange behaviour would result from the following configuration:</p> <div class="example"><pre> snmp_agent:register_subagent(MAPid,[1,2,3,4],SA1), snmp_agent:register_subagent(SA1,[1,2,3], SA2). </pre></div> <p><span class="code">SA2</span> will not get requests starting with object identifier <span class="code">[1,2,3]</span> since <span class="code">SA1</span> does not. </p> <a name="unregister_subagent"></a> </p></div> <p><a name="unregister_subagent-2"><span class="bold_code">unregister_subagent(Agent, SubagentOidOrPid) -> ok | {ok, SubAgentPid} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SubTreeOidorPid = oid() | pid()</span><br> </div> </div> <div class="REFBODY"><p> <p>Unregister a sub-agent. If the second argument is a pid, then that sub-agent will be unregistered from all trees in <span class="code">Agent</span>. </p> <a name="send_notification2"></a> </p></div> <p><a name="send_notification2-3"><span class="bold_code">send_notification2(Agent, Notification, SendOpts) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Notification = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">SendOpts = [send_option()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">send_option() = {receiver, receiver()} | {name, notify_name()} | {context, context_name()} | {varbinds, varbinds()} | {local_engine_id, string()} | {extra, extra_info()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">receiver() = no_receiver | {tag(), tag_receiver()} | notification_delivery_info()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">tag() = term(()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">tag_receiver() = pid() | registered_name() | {Mod, Func, Args}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">registered_name() = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mod = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Func = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Args = list()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">notify_name() = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">context_name() = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbinds() = [varbind()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbind() = {variable(), value()} | {column(), row_index(), value()} | {oid(), value()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">variable() = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">value() = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">column() = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">row_index() = [int()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">extra_info() = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Send the notification <span class="code">Notification</span> to the management targets defined for notify-name (<span class="code">name</span>) in the <span class="code">snmpNotifyTable</span> in SNMP-NOTIFICATION-MIB from the specified <span class="code">context</span>. </p> <p>If no <span class="code">name</span> is specified (or if it is <span class="code">""</span>), the notification is sent to all management targets. </p> <p>If no <span class="code">context</span> is specified, the default context, <span class="code">""</span>, is used. </p> <p>The send option <span class="code">receiver</span> specifies where information about delivery of Inform-Requests should be sent. The agent sends Inform-Requests and waits for acknowledgments from the management targets. The <span class="code">receiver</span> can have three values: </p> <ul> <li> <p><span class="code">no_receiver</span> - No information is delivered. </p> </li> <li> <p><span class="code">notification_delivery_info()</span> - The information is delivered via a function call according to this data. See the <span class="bold_code"><a href="#data_types">DATA TYPES</a></span> section above for details. </p> </li> <li> <p><span class="code">{tag(), tag_receiver()}</span> - The information is delivered either via messages or via a function call according to the value of <span class="code">tag_receiver()</span>. </p> <p>Delivery is done differently depending on the value of <span class="code">tag_receiver()</span>: </p> <ul> <li> <p><span class="code">pid() | registered_name()</span> - The info will be delivered in the following messages: </p> <ul> <li> <p><span class="code">{snmp_targets, tag(), Addresses}</span></p> <p>This informs the user which target addresses the notification was sent to. </p> </li> <li> <p><span class="code">{snmp_notification, tag(), {got_response, Address}}</span></p> <p>This informs the user that this target address acknowledged the notification. </p> </li> <li> <p><span class="code">{snmp_notification, tag(), {no_response, Address}}</span></p> <p>This informs the user that this target address did not acknowledge the notification. </p> </li> </ul> <p>The notification is sent as an Inform-Request to each target address in <span class="code">Addresses</span> and if there are no targets for which an Inform-Request is sent, <span class="code">Addresses</span> is the empty list <span class="code">[]</span>. </p> <p>The <span class="code">tag_receiver()</span> will first be sent the <span class="code">snmp_targets</span> message, and then for each address in <span class="code">Addresses</span> list, one of the two <span class="code">snmp_notification</span> messages. </p> </li> <li> <p><span class="code">{Mod, Func, Args}</span> - The info will be delivered via the function call: </p> <p><span class="code">Mod:Func([Msg | Args])</span></p> <p>where <span class="code">Msg</span> has the same content and purpose as the messages descrived above.</p> </li> </ul> </li> </ul> <div class="note"> <div class="label">Note</div> <div class="content"><p> <p>The <span class="code">extra</span> info is not normally interpreted by the agent, instead it is passed through to the <span class="bold_code"><a href="snmp_agent_netif.html">net-if</a></span> process. It is up to the implementor of that process to make use of this data. </p> <p>The version of net-if provided by this application makes no use of this data, with one exception: Any tuple containing the atom <span class="code">snmpa_default_notification_extra_info</span> may be used by the agent and is therefor <strong>reserved</strong>. </p> <p>See the net-if incomming messages for sending a <span class="bold_code"><a href="snmp_agent_netif.html#im_send_pdu"> trap</a></span> and <span class="bold_code"><a href="snmp_agent_netif.html#im_send_pdu_req"> notification</a></span> for more info. </p> </p></div> </div> <a name="send_notification"></a> </p></div> <p><a name="send_notification-3"><span class="bold_code">send_notification(Agent, Notification, Receiver)</span></a><br><a name="send_notification-4"><span class="bold_code">send_notification(Agent, Notification, Receiver, Varbinds)</span></a><br><a name="send_notification-5"><span class="bold_code">send_notification(Agent, Notification, Receiver, NotifyName, Varbinds)</span></a><br><a name="send_notification-6"><span class="bold_code">send_notification(Agent, Notification, Receiver, NotifyName, ContextName, Varbinds) -> void() </span></a><br><a name="send_notification-7"><span class="bold_code">send_notification(Agent, Notification, Receiver, NotifyName, ContextName, Varbinds, LocalEngineID) -> void() </span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Notification = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Receiver = no_receiver | {Tag, Recv} | notification_delivery_info()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Tag = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Recv = receiver()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">receiver() = pid() | atom() | {Mod, Func, Args}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Mod = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Func = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Args = list()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">NotifyName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">ContextName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Varbinds = varbinds()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbinds() = [varbind()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbind() = {Variable, Value} | {Column, RowIndex, Value} | {OID, Value}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Variable = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Column = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">OID = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">RowIndex = [int()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">LocalEngineID = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>Sends the notification <span class="code">Notification</span> to the management targets defined for <span class="code">NotifyName</span> in the <span class="code">snmpNotifyTable</span> in SNMP-NOTIFICATION-MIB from the specified context. </p> <p>If no <span class="code">NotifyName</span> is specified (or if it is <span class="code">""</span>), the notification is sent to all management targets (<span class="code">Addresses</span> below). </p> <p>If no <span class="code">ContextName</span> is specified, the default <span class="code">""</span> context is used. </p> <p>The parameter <span class="code">Receiver</span> specifies where information about delivery of Inform-Requests should be sent. The agent sends Inform-Requests and waits for acknowledgments from the managers. <span class="code">Receiver</span> can have three values: </p> <ul> <li> <p><span class="code">no_receiver</span> - No information is delivered. </p> </li> <li> <p><span class="code">notification_delivery_info()</span> - The information is delivered via a function call according to this data. See the <span class="bold_code"><a href="#data_types">DATA TYPES</a></span> section above for details. </p> </li> <li> <p><span class="code">{Tag, Recv}</span> - The information is delivered either via messages or via a function call according to the value of <span class="code">Recv</span>. </p> </li> </ul> <p>If <span class="code">Receiver</span> has the value <span class="code">{Tag, Recv}</span>, the delivery is done according to <span class="code">Recv</span>: </p> <ul> <li> <p><span class="code">pid() | atom()</span> - The info will be delivered in the following messages: </p> <ul> <li> <p><span class="code">{snmp_targets, Tag, Addresses}</span></p> <p>This inform the user which target addresses the notification was sent to. </p> </li> <li> <p><span class="code">{snmp_notification, Tag, {got_response, Address}}</span></p> <p>This informs the user that this target address acknowledged the notification. </p> </li> <li> <p><span class="code">{snmp_notification, Tag, {no_response, Address}}</span></p> <p>This informs the user that this target address did not acknowledge notification. </p> </li> </ul> <p>The notification is sent as an Inform-Request to each target address in <span class="code">Addresses</span> and if there are no targets for which an Inform-Request is sent, <span class="code">Addresses</span> is the empty list <span class="code">[]</span>. </p> <p>The <span class="code">receiver</span> will first be sent the <span class="code">snmp_targets</span> message, and then for each address in <span class="code">Addresses</span> list, one of the two <span class="code">snmp_notification</span> messages. </p> </li> <li> <p><span class="code">{Mod, Func, Args}</span> - The info will be delivered via the function call: </p> <p><span class="code">Mod:Func([Msg | Args])</span></p> <p>where <span class="code">Msg</span> has the same content and purpose as the messages descrived above.</p> </li> </ul> <p><span class="code">Address</span> is a management target address and <span class="code">Addresses</span> is a list of management target addresses. They are defined as followes: </p> <div class="example"><pre> Addresses = [address()] Address = address() address() = v1_address() | v3_address() v1_address() = {TDomain, TAddress} v3_address() = {{TDomain, TAddress}, V3MsgData} TDomain = tdoamin() TAddress = taddress() tdomain() = The oid of snmpUDPDomain This is the only supported transport domain. taddress() = [A1, A2, A3, A4, P1, P3] The 4 first bytes makes up the IP-address and the last 2, the UDP-port number. V3MsgData = v3_msg_data() v3_msg_data() = term() </pre></div> <p>If <span class="code">Receiver</span> is a <span class="code">notification_delivery_info()</span> record, then the information about the notification delivery will be delivered to the <span class="code">receiver</span> via the callback functions defined by the <span class="bold_code"><a href="snmpa_notification_delivery_info_receiver.html">snmpa_notification_delivery_info_receiver</a></span> behaviour according to the content of the <span class="code">notification_delivery_info()</span> record. </p> <p>The optional argument <span class="code">Varbinds</span> defines values for the objects in the notification. If no value is given for an object, the <span class="code">Agent</span> performs a get-operation to retrieve the value. </p> <p><span class="code">Varbinds</span> is a list of <span class="code">Varbind</span>, where each <span class="code">Varbind</span> is one of: </p> <ul> <li> <span class="code">{Variable, Value}</span>, where <span class="code">Variable</span> is the symbolic name of a scalar variable referred to in the notification specification. </li> <li> <span class="code">{Column, RowIndex, Value}</span>, where <span class="code">Column</span> is the symbolic name of a column variable. <span class="code">RowIndex</span> is a list of indices for the specified element. If this is the case, the OBJECT IDENTIFIER sent in the notification is the <span class="code">RowIndex</span> appended to the OBJECT IDENTIFIER for the table column. This is the OBJECT IDENTIFIER which specifies the element. </li> <li> <span class="code">{OID, Value}</span>, where <span class="code">OID</span> is the OBJECT IDENTIFIER for an instance of an object, scalar variable, or column variable. </li> </ul> <p>For example, to specify that <span class="code">sysLocation</span> should have the value <span class="code">"upstairs"</span> in the notification, we could use one of: </p> <ul> <li> <span class="code">{sysLocation, "upstairs"}</span> or</li> <li> <span class="code">{[1,3,6,1,2,1,1,6,0], "upstairs"}</span> or</li> <li> <span class="code">{?sysLocation_instance, "upstairs"}</span> (provided that the generated <span class="code">.hrl</span> file is included)</li> </ul> <p>If a variable in the notification is a table element, the <span class="code">RowIndex</span> for the element must be given in the <span class="code">Varbinds</span> list. In this case, the OBJECT IDENTIFIER sent in the notification is the OBJECT IDENTIFIER that identifies this element. This OBJECT IDENTIFIER could be used in a get operation later. </p> <p>This function is asynchronous, and does not return any information. If an error occurs, <span class="code">user_err/2</span> of the error report module is called and the notification is discarded. </p> <div class="note"> <div class="label">Note</div> <div class="content"><p> <p>Note that the use of the LocalEngineID argument is only intended for special cases, if the agent is to "emulate" multiple EngineIDs! By default, the agent uses the value of <span class="code">SnmpEngineID</span> (see SNMP-FRAMEWORK-MIB). </p> </p></div> </div> <p><span class="code">ExtraInfo</span> is not normally used in any way by the agent. It is intended to be passed along to the net-if process, which is a component that a user can implement themself. The users own net-if may then make use of ExtraInfo. The net-if provided with this application does not process ExtraInfo. </p> <p>There is one exception. <strong>Any</strong> tuple containing the atom <span class="code">snmpa_default_notification_extra_info</span> will, in this context, be considered belonging to this application, and may be processed by the agent. </p> <a name="discovery"></a> </p></div> <p><a name="discovery-2"><span class="bold_code">discovery(TargetName, Notification) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-3"><span class="bold_code">discovery(TargetName, Notification, Varbinds) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-3"><span class="bold_code">discovery(TargetName, Notification, DiscoHandler) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-4"><span class="bold_code">discovery(TargetName, Notification, ContextName, Varbinds) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-4"><span class="bold_code">discovery(TargetName, Notification, Varbinds, DiscoHandler) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-5"><span class="bold_code">discovery(TargetName, Notification, ContextName, Varbinds, DiscoHandler) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br><a name="discovery-6"><span class="bold_code">discovery(TargetName, Notification, ContextName, Varbinds, DiscoHandler, ExtraInfo) -> {ok, ManagerEngineID} | {error, Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">TargetName = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Notification = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">ContextName = string() (defaults to "")</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Varbinds = varbinds()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbinds() = [varbind()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">DiscoHandler = snmpa_discovery_handler()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">ExtraInfo = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">snmpa_discovery_handler() = Module implementing the snmpa_discovery_handler behaviour</span><br> </div> <div class="REFTYPES"> <span class="bold_code">ManagerEngineID = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">varbind() = {Variable, Value} | {Column, RowIndex, Value} | {OID, Value}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Variable = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Column = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">OID = oid()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">RowIndex = [int()]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = term()</span><br> </div> </div> <div class="REFBODY"><p> <p>Initiate the discovery process with the manager identified by <span class="code">TargetName</span> using the notification <span class="code">Notification</span>. </p> <p>This function is synchronous, which means that it will return when the discovery process has been completed or failed. </p> <p>The <span class="code">DiscoHandler</span> module is used during the discovery process. See <span class="bold_code"><a href="snmpa_discovery_handler.html">discovery handler</a></span> for more info. </p> <p>The <span class="code">ExtraInfo</span> argument is passed on to the callback functions of the <span class="code">DiscoHandler</span>. </p> <div class="note"> <div class="label">Note</div> <div class="content"><p><p>If we are not at security-level <span class="code">noAuthNoPriv</span>, this could be complicated, since the agent will then continue with stage 2, before which the usm-related updates must be done. </p></p></div> </div> <div class="note"> <div class="label">Note</div> <div class="content"><p><p>The default discovery handler will require additional actions by the caller and the discovery will not work if the security-level is higher then <span class="code">noAuthNoPriv</span>. </p></p></div> </div> <a name="convert_config"></a> </p></div> <p><a name="convert_config-1"><span class="bold_code">convert_config(OldConfig) -> AgentConfig</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">OldConfig = list()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">AgentConfig = list()</span><br> </div> </div> <div class="REFBODY"><p> <p>This off-line utility function can be used to convert the old snmp application config (pre snmp-4.0) to the new snmp agent config (as of snmp-4.0).</p> <p>For information about the old config (<span class="code">OldConfig</span>) see the OTP R9C documentation.</p> <p>For information about the current agent config (<span class="code">AgentConfig</span>), see either the <span class="bold_code"><a href="snmp_app.html">SNMP application</a></span> part of the reference manual or the <span class="bold_code"><a href="snmp_config.html">Configuring the application</a></span> chapter of the SNMP user's guide.</p> <a name="restart_worker"></a> </p></div> <p><a name="restart_worker-0"><span class="bold_code">restart_worker() -> void()</span></a><br><a name="restart_worker-1"><span class="bold_code">restart_worker(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Restart the worker process of a multi-threaded agent.</p> <p>This is a utility function, that can be useful when e.g. debugging instrumentation functions.</p> <a name="restart_set_worker"></a> </p></div> <p><a name="restart_set_worker-0"><span class="bold_code">restart_set_worker() -> void()</span></a><br><a name="restart_set_worker-1"><span class="bold_code">restart_set_worker(Agent) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Agent = pid() | atom()</span><br> </div> </div> <div class="REFBODY"><p> <p>Restart the set worker process of a multi-threaded agent.</p> <p>This is a utility function, that can be useful when e.g. debugging instrumentation functions.</p> <a name="print_mib_info"></a> </p></div> <p><a name="print_mib_info-0"><span class="bold_code">print_mib_info() -> void()</span></a><br></p> <div class="REFBODY"><p> <p>Prints the content of all the (snmp) tables and variables for all mibs handled by the snmp agent. </p> <a name="print_mib_tables"></a> </p></div> <p><a name="print_mib_tables-0"><span class="bold_code">print_mib_tables() -> void()</span></a><br></p> <div class="REFBODY"><p> <p>Prints the content of all the (snmp) tables for all mibs handled by the snmp agent. </p> <a name="print_mib_variables"></a> </p></div> <p><a name="print_mib_variables-0"><span class="bold_code">print_mib_variables() -> void()</span></a><br></p> <div class="REFBODY"><p> <p>Prints the content of all the (snmp) variables for all mibs handled by the snmp agent. </p> <a name="verbosity"></a> </p></div> <p><a name="verbosity-2"><span class="bold_code">verbosity(Ref,Verbosity) -> void()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Ref = pid() | sub_agents | master_agent | net_if | mib_server | symbolic_store | note_store | local_db</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Verbosity = verbosity() | {subagents, verbosity()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">verbosity() = silence | info | log | debug | trace </span><br> </div> </div> <div class="REFBODY"><p> <p>Sets verbosity for the designated process. For the lowest verbosity <span class="code">silence</span>, nothing is printed. The higher the verbosity, the more is printed. </p> </p></div> <h3><a name="id109065">See Also</a></h3> <div class="REFBODY"> <p>calendar(3), erlc(1) </p> </div> </div> <div class="footer"> <hr> <p>Copyright © 1997-2012 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>