aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/priv/conf/manager/agents.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/priv/conf/manager/agents.conf')
-rw-r--r--lib/snmp/priv/conf/manager/agents.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/snmp/priv/conf/manager/agents.conf b/lib/snmp/priv/conf/manager/agents.conf
new file mode 100644
index 0000000000..7f9b3d60ab
--- /dev/null
+++ b/lib/snmp/priv/conf/manager/agents.conf
@@ -0,0 +1,40 @@
+%% agents.conf
+%%
+%% Configuration for each agent the manager shall handle.
+%% (Relevant parts of the snmpTargetAddrTable and snmpTargetParamsTable)
+%%
+%% {UserId,
+%% TargetName, Comm, Ip, Port, EngineID, Timeout, MaxMessageSize,
+%% Version, SecModel, SecName, SecLevel}
+%%
+%% UserId -> User identity of "manager entity" responsible for this
+%% agent: term()
+%% TargetName -> string(), length > 0 (Name associated with the agent)
+%% Comm -> string(), length > 0 (Community string)
+%% Ip -> [integer()] (Host address as a list of integers)
+%% Port -> integer() > 0
+%% EngineID -> string()
+%% Timeout -> infinity (no retransmission) | integer() > 0 |
+%% incr_timer()
+%% (Can be overridden when sending a sync message)
+%% MaxMessageSize -> integer() >= 484
+%% Version -> v1 | v2 | v3
+%% SecModel -> any | v1 | v2c | usm
+%% SecName -> string()
+%% SecLevel -> noAuthNoPriv | authNoPriv | authPriv
+%%
+%% incr_timer() -> {wait_for(), factor(). incr(), retry()}
+%% wait_for() -> integer() (Initial timeout (milli seconds))
+%% factor() -> integer() (Factor to multiply with at timeout)
+%% incr() -> integer() (Milli seconds to add at timeout)
+%% retry() -> integer() (Number of retransmissions)
+
+%% Example:
+{user_id_1,
+ "targ-hobbes", "comm1", [192,168,0,100], 162, "hobbe's agent",
+ 1500, 484,
+ v1, any, "initial", noAuthNoPriv}.
+{"user_id_2",
+ "targ-calvin", "comm2", [192,168,0,101], 162, "calvin's agent",
+ {1500, 1, 0, 0}, 484,
+ v1, any, "initial", noAuthNoPriv}.