aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_trap.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-12-01 12:20:11 +0100
committerMicael Karlberg <[email protected]>2011-12-01 12:20:11 +0100
commit3cf5f67f3545cc82147706cc83febc242f6e469a (patch)
tree5362ad3e0351c01e4b22273ea7aec2faef12bdc9 /lib/snmp/src/agent/snmpa_trap.erl
parent1f6dd53f2c495d2bf28fbf519b5be636bd418ffd (diff)
parent021d5c2e49e623d4f43c0cc88a097bc99f3564e6 (diff)
downloadotp-3cf5f67f3545cc82147706cc83febc242f6e469a.tar.gz
otp-3cf5f67f3545cc82147706cc83febc242f6e469a.tar.bz2
otp-3cf5f67f3545cc82147706cc83febc242f6e469a.zip
Merge branch 'maint-r14'
Conflicts: lib/snmp/src/agent/snmpa_set_lib.erl lib/snmp/src/app/snmp.appup.src lib/snmp/src/compile/snmpc.src lib/snmp/vsn.mk
Diffstat (limited to 'lib/snmp/src/agent/snmpa_trap.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_trap.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmpa_trap.erl b/lib/snmp/src/agent/snmpa_trap.erl
index 567de020c0..5b579efc13 100644
--- a/lib/snmp/src/agent/snmpa_trap.erl
+++ b/lib/snmp/src/agent/snmpa_trap.erl
@@ -379,8 +379,13 @@ send_discovery(TargetName, Record, ContextName, Vbs, NetIf, ExtraInfo) ->
get_values(VariablesWithType) ->
{Order, Varbinds} = extract_order(VariablesWithType, 1),
+ ?vtrace("get_values -> "
+ "~n Order: ~p"
+ "~n Varbinds: ~p", [Order, Varbinds]),
case snmpa_agent:do_get(snmpa_acm:get_root_mib_view(), Varbinds, true) of
{noError, _, NewVarbinds} ->
+ ?vtrace("get_values -> values retrieved"
+ "~n NewVarbinds: ~p", [NewVarbinds]),
%% NewVarbinds is the result of:
%% first a reverse, then a sort on the oid field and finally
%% a reverse during the get-processing so we need to re-sort