Ad Widget

Collapse

Can I use this way to disabled snmp bulk?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mdk
    Junior Member
    • Jul 2014
    • 9

    #1

    Can I use this way to disabled snmp bulk?

    Hi,guys,I want to disabled snmp bulk in zabbix 2.2.6,when I apply the patch using "patch -p0 < no-snmp-bulk-in-2.2.6.patch",the effect is not obvious.So,I want to change the source code to disabled snmp bulk.

    In 2.2.6 source code check_snmp.c and function zbx_snmp_walk like:

    bulk = (ITEM_TYPE_SNMPv1 == item->type ? 0 : 1);
    ...........
    pdu = snmp_pdu_create(0 == bulk ? SNMP_MSG_GETNEXT : SNMP_MSG_GETBULK)

    I just want to set bulk=0,whether this can disable SNMP bulk requests globally?And in 2.2.7 version daemon improvements also say: EnableSNMPBulk configuration parameter should be set to 0 in order to disable SNMP bulk requests globally.

    Thanks in advance.
Working...