aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmp_target_mib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-12-10 15:54:25 +0100
committerMicael Karlberg <[email protected]>2010-12-10 15:54:25 +0100
commitfee3f48c37432c7ea28f2e8c9eb4eacac4422db9 (patch)
tree98cdb89bcdebcd8c940d63c17c7dc6653fbca94d /lib/snmp/src/agent/snmp_target_mib.erl
parent58620c2052e07490beb44a4bd1a8fbb5ebc028ac (diff)
downloadotp-fee3f48c37432c7ea28f2e8c9eb4eacac4422db9.tar.gz
otp-fee3f48c37432c7ea28f2e8c9eb4eacac4422db9.tar.bz2
otp-fee3f48c37432c7ea28f2e8c9eb4eacac4422db9.zip
Added variables from STANDARD-MIB (including counters).
Also some minor fixes.
Diffstat (limited to 'lib/snmp/src/agent/snmp_target_mib.erl')
-rw-r--r--lib/snmp/src/agent/snmp_target_mib.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmp_target_mib.erl b/lib/snmp/src/agent/snmp_target_mib.erl
index 033dfdd92e..270a5fd5b6 100644
--- a/lib/snmp/src/agent/snmp_target_mib.erl
+++ b/lib/snmp/src/agent/snmp_target_mib.erl
@@ -511,6 +511,10 @@ set_target_engine_id(TargetAddrName, EngineId) ->
%%-----------------------------------------------------------------
%% Instrumentation Functions
%%-----------------------------------------------------------------
+snmpTargetSpinLock(print) ->
+ VarAndValue = [{snmpTargetSpinLock, snmpTargetSpinLock(get)}],
+ snmpa_mib_lib:print_variables(VarAndValue);
+
snmpTargetSpinLock(new) ->
snmp_generic:variable_func(new, {snmpTargetSpinLock, volatile}),
{A1,A2,A3} = erlang:now(),