diff options
author | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
commit | 84adefa331c4159d432d22840663c38f155cd4c1 (patch) | |
tree | bff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/snmp/priv/conf/manager/agents.conf | |
download | otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2 otp-84adefa331c4159d432d22840663c38f155cd4c1.zip |
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/snmp/priv/conf/manager/agents.conf')
-rw-r--r-- | lib/snmp/priv/conf/manager/agents.conf | 40 |
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}. |