snmpwalk without OID

2009-11-02 Thread nathan
hi, when we do snmpwalk or snmpgetbulk, we know which tree/subtree is used to retriving the values from. Then, why the values are returned to the manager in the form of OID=value ? Are there any ways I can get only the values instead of OID=VALUE form. The reason it might occupy a lot of bandwid

Re: perl NetSNMP::agent setValue() fix

2009-11-02 Thread Thomas Anders
Max Romanov wrote: > It's me again. I've checked the trunk source, and found the issue fixed. > I'm apologize for false alarm and would like to suggest another small fix: Again, please submit to http://www.net-snmp.org/patches so it won't get lost. +Thomas --

Re: perl NetSNMP::agent setValue() fix

2009-11-02 Thread Max Romanov
Hi, It's me again. I've checked the trunk source, and found the issue fixed. I'm apologize for false alarm and would like to suggest another small fix: --- agent.xs2009-11-02 15:16:42.0 +0300 +++ agent.xs.perl-counter64 2009-11-02 15:18:15.0 +0300 @@ -892,7 +892,7 @@

Re: perl NetSNMP::agent setValue() fix

2009-11-02 Thread Fulko Hew
On Mon, Nov 2, 2009 at 5:36 AM, Max Romanov wrote: > > Writing snmp AgentX subagent in perl, I've discovered Counter64 values > are not passed correctly from perl to C library. > Proposed patch attached. Yes, good catch. When I added the original patch, I just needed it to _answer_ for the missi

perl NetSNMP::agent setValue() fix

2009-11-02 Thread Max Romanov
Hi, Writing snmp AgentX subagent in perl, I've discovered Counter64 values are not passed correctly from perl to C library. Proposed patch attached. I'm using CentOS 5.3, with net-snmp-5.3.2.2. Best regards, Max net-snmp-5.3.2.2-perl-counter64.patch Description: Binary data ---

snmpbulkwalk syntax

2009-11-02 Thread Jerry Huang (jerhuang)
Hi, Can you show me the correct syntax for snmpbulkwalk? I have the following command syntax works fine for "getbulk from snmpResearch": getbulk -v2c 172.28.83.100 public 0 1000 vtpVlanState.1.300 What is the corresponding for "snmpbulkwalk"? Thanks. - Jerry Huang ---