From 39540e7c380f6cb218a2ec6324f6296fa8327dba Mon Sep 17 00:00:00 2001
From: Micael Karlberg
Date: Thu, 23 May 2013 12:35:38 +0200
Subject: [snmp/agent] Updated open options for the mnesia mib-storage module
Updated the snmpa_mib_storage_mnesia module to handle alias
atoms for the nodes option.
Also, (git) added mib-storage behaviour ref-man.
---
lib/snmp/doc/src/snmp_config.xml | 29 ++++++++++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
(limited to 'lib/snmp/doc/src/snmp_config.xml')
diff --git a/lib/snmp/doc/src/snmp_config.xml b/lib/snmp/doc/src/snmp_config.xml
index a88111085f..f1acebf2f7 100644
--- a/lib/snmp/doc/src/snmp_config.xml
+++ b/lib/snmp/doc/src/snmp_config.xml
@@ -326,7 +326,7 @@
behaviour.
Several entities (mib-server via the its data module and
the symbolic-store) of the snmp agent uses this for storage
- of miscelaneous mib data.
+ of miscelaneous mib related data dataretrieved while loading a mib.
There are several implementations provided with the agent:
snmpa_mib_storage_ets, snmpa_mib_storage_dets and
snmpa_mib_storage_mnesia.
@@ -337,7 +337,8 @@
]]>
-
This is implementattion depended. That is, it depends on the
- module. For each module a specific set of options are valid:
+ module. For each module a specific set of options are valid.
+ For the module provided with the app, these options are supported:
-
snmpa_mib_storage_ets: {dir, filename()} | {action, keep | clear}, {checksum, boolean()}
@@ -392,7 +393,29 @@
Default is keep.
-
-
nodes - Defines where to open the table.
+ nodes - A list of node names (or an atom
+ describing a list of nodes) defining where to open the table.
+ Its up to the user to ensure that mnesia is actually running
+ on the specified nodes.
+ The following distinct values are recognised:
+
+ -
+
[] - Translated into a list of the own node: [node()]
+
+ -
+
all - erlang:nodes()
+
+ -
+
visible - erlang:nodes(visible)
+
+ -
+
connected - erlang:nodes(connected)
+
+ -
+
db_nodes - mnesia:system_info(db_nodes)
+
+
+
Default is the result of the call: erlang:nodes().
--
cgit v1.2.3