Re: Re: snmpwalk snmpbulkwalk problems/bug??

2019-08-20 Thread Jose Roberto Fernandez Anahia
Jose Roberto Fernandez Anahia writes: > I observed that my funcion My_Get_Table(struct variable *vp, oid > *name, size_t *length, int exact, size_t *var_len, WriteMethod > **write_method) > is called much more than 5 (five) 5 times!!! The upper code doesn't know how many entries you have, so it

Re: snmpwalk snmpbulkwalk problems/bug??

2019-08-02 Thread Wes Hardaker via Net-snmp-coders
Jose Roberto Fernandez Anahia writes: > I observed that my funcion My_Get_Table(struct variable *vp, oid > *name, size_t *length, int exact, size_t *var_len, WriteMethod > **write_method) > is called much more than 5 (five) 5 times!!! The upper code doesn't know how many entries you have, so it

snmpwalk snmpbulkwalk problems/bug??

2019-07-23 Thread Jose Roberto Fernandez Anahia
1.1.1.5.32 is also a table I tried to debug the agent_check_and_process() function call sequence until the call of the helper function that effectively calls my the function I wrote to manipulate my MIB "My_Get_table()" but I do not understand what is checked to stop my function from being called, rega

snmpwalk/snmpbulkwalk possible problems

2019-07-11 Thread Jose Roberto Fernandez Anahia
AIN AAIN AGAIN and AGAIN my fuction My_Get_Table() returns NULL as return of header_simple_table() NOW stop!!! Is this normal behaviour for snmpwalk and snmpbulkwalk? Why My_Get_Table() do not stopped to be called after return the first NULL by header_simple_table()? This same behaviour is

Re: [netsnmp-coders] [PATCH] Exclude (Sub-)Subtree from snmpbulkwalk

2017-08-26 Thread michael-dev
Am 25.08.2017 20:09, schrieb Jeff Gehlbach: On 08/25/2017 12:22 PM, michael-dev wrote: When using snmpbulkwalk to fetch all OIDs from my Aruba Switch, snmpbulkwalk complains about non-increasing OIDs. Ignoring using -Cc makes snmpbulkwalk loop forever. I hope you will also report this problem

Re: [netsnmp-coders] [PATCH] Exclude (Sub-)Subtree from snmpbulkwalk

2017-08-25 Thread Jeff Gehlbach
On 08/25/2017 12:22 PM, michael-dev wrote: > When using snmpbulkwalk to fetch all OIDs from my Aruba Switch, > snmpbulkwalk complains about non-increasing OIDs. > Ignoring using -Cc makes snmpbulkwalk loop forever. I hope you will also report this problem to Aruba as a bug. It would be

[PATCH] Exclude (Sub-)Subtree from snmpbulkwalk

2017-08-25 Thread michael-dev
When using snmpbulkwalk to fetch all OIDs from my Aruba Switch, snmpbulkwalk complains about non-increasing OIDs. Ignoring using -Cc makes snmpbulkwalk loop forever. Therefore I'd like to ignore a specific (Sub-)Subtree that cannot be walked. This patch adds -Ce cmdline opti

Re: snmpbulkwalk

2009-11-19 Thread Dave Shield
2009/11/19 Reinaldo Moodey : > How do I execute an snmpbulkwalk command. I put the OIDs one aftre the > other, but it only give response to the fist OID and ignores the others. That's right. snmpbulkwalk is a version of the snmpwalk command, which inherently takes a single sta

snmpbulkwalk

2009-11-19 Thread Reinaldo Moodey
How do I execute an snmpbulkwalk command. I put the OIDs one aftre the other, but it only give response to the fist OID and ignores the others. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day

RE: snmpbulkwalk syntax

2009-11-11 Thread Jerry Huang (jerhuang)
Thanks. - Jerry -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, November 10, 2009 12:32 AM To: Jerry Huang (jerhuang) Cc: [email protected] Subject: Re: snmpbulkwalk syntax 2009/11/9

Re: snmpbulkwalk syntax

2009-11-10 Thread Dave Shield
2009/11/9 Jerry Huang (jerhuang) : >    When I try the following snmpbulkwalk command, I will get "No Such > Instance" message. > > [jerhu...@snmplab-linux2 ~/performance_extra]$ snmpbulkwalk -v2c -c public > 172.28.83.92 -Cr80 vtpVlanState.1.100 > CISCO-VTP-MIB::

RE: snmpbulkwalk syntax

2009-11-10 Thread Jerry Huang (jerhuang)
Hi, David: When I try the following snmpbulkwalk command, I will get "No Such Instance" message. [jerhu...@snmplab-linux2 ~/performance_extra]$ snmpbulkwalk -v2c -c public 172.28.83.92 -Cr80 vtpVlanState.1.100 CISCO-VTP-MIB::vtpVlanState.1.100 = No Such Instance currently exis

Re: snmpbulkwalk syntax

2009-11-09 Thread Dave Shield
2009/10/28 Jerry Huang (jerhuang) : > 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"? The simple

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"? Tha

SNMPBULKWALK is showing interface description which does not actually exist.

2007-09-19 Thread rajasekhar kavuri
my snmpbulkwalk. [EMAIL PROTECTED] ~]# snmpbulkwalk 192.168.200.254 -v 2c -c private IF-MIB::ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth51 IF-MIB::ifDescr.3 = STRING: eth52 IF-MIB::ifDescr.4 = STRING: eth01 IF-MIB::ifDescr.5 = STRING: eth02 IF-MIB

Re: RE : SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Dave Shield
mand-specific option (hence the '-C'), and only applies to snmpbulkwalk. Other commands either won't understand '-Cr' at all, or will interpret it differently. Dave - Take Surveys. Earn Cash. In

Re: SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Dave Shield
On 10/01/07, Breton, Marc-André <[EMAIL PROTECTED]> wrote: > When using snmpbulkwalk, I saw that only 10 values were included per > responding packet. I'd like to know if there's a way to manually increase > that limit. I searched in the options but I didn't find a

SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Breton, Marc-André
Hello, When using snmpbulkwalk, I saw that only 10 values were included per responding packet. I'd like to know if there's a way to manually increase that limit. I searched in the options but I didn't find a way to change this parameter. I'd like to change it to dec