aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_internal.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-01-25 15:17:03 +0100
committerMicael Karlberg <[email protected]>2012-01-25 15:17:03 +0100
commit8d8d0a6529874345f3bb69349f573a75a73ea373 (patch)
tree4968c9941f15d3562a74b8138ec7e8e9d3daadcc /lib/snmp/src/agent/snmpa_internal.hrl
parenta8af5a6bae97ddd7bfc2bcff2e701fa37f47640c (diff)
parentb55c3d29a3d9efce2ce6548963809fc3b7ab8729 (diff)
downloadotp-8d8d0a6529874345f3bb69349f573a75a73ea373.tar.gz
otp-8d8d0a6529874345f3bb69349f573a75a73ea373.tar.bz2
otp-8d8d0a6529874345f3bb69349f573a75a73ea373.zip
Merge branch 'maint-r14' into bmk/snmp/snmp4216_integration/r15
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/notes_history.xml
Diffstat (limited to 'lib/snmp/src/agent/snmpa_internal.hrl')
-rw-r--r--lib/snmp/src/agent/snmpa_internal.hrl9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmpa_internal.hrl b/lib/snmp/src/agent/snmpa_internal.hrl
index 20a36cc118..c435b519d9 100644
--- a/lib/snmp/src/agent/snmpa_internal.hrl
+++ b/lib/snmp/src/agent/snmpa_internal.hrl
@@ -26,6 +26,15 @@
-define(DEFAULT_LOCAL_ENGINE_ID, snmp_framework_mib:get_engine_id()).
-define(DEFAULT_NOTIF_EXTRA_INFO, {snmpa_default_notification_extra_info}).
+%% -- Max number of VBs in a Get-BULK response --
+%% (( The default value, 1000, is *way* more ))
+%% (( then there is room for in a normal pdu ))
+%% (( (unless the max pdu size has been ))
+%% (( cranked way up), so this value should ))
+%% (( suffice as "infinity" without actually ))
+%% (( causing memory issues for the VM ... ))
+-define(DEFAULT_GB_MAX_VBS, 1000).
+
-define(snmpa_info(F, A), ?snmp_info("agent", F, A)).
-define(snmpa_warning(F, A), ?snmp_warning("agent", F, A)).
-define(snmpa_error(F, A), ?snmp_error("agent", F, A)).