On Tue, 02 Nov 2010 12:16:50 +0530 Manjit wrote: M> Here i came across a function _mfd_ifTable_commit, in this function a M> certain part of code is repeated twice.
The ifTable code has a lot of auto-generated code, and I'm guessing that a merge after teh templates were updated resulted in the duplicate code. M> In my implementation i am able to create a new row. When i try to set a M> column for this row, it is showing that the operation is successful, M> but when i do a snmget for that value it is showing me the previous value. M> M> /opt/servers/netsnmp/bin/snmpget -v 2c -c private 172.16.8.186 M> IF-MIB::ifAdminStatus.9 M> IF-MIB::ifAdminStatus.9 = INTEGER: up(1) M> /opt/servers/netsnmp/bin/snmpset -v 2c -c private 172.16.8.186 M> IF-MIB::ifAdminStatus.9 i 2 M> IF-MIB::ifAdminStatus.9 = INTEGER: down(2) M> /opt/servers/netsnmp/bin/snmpget -v 2c -c private 172.16.8.186 M> IF-MIB::ifAdminStatus.9 M> IF-MIB::ifAdminStatus.9 = INTEGER: up(1) M> M> Please help me to resolve this issue. Are you running as root? Are there any errors in the log file? You can also try cranking up debugging to see what's going on: -Daccess:interface (and optionally "if,internal:if,verbose:if" as well); ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
