Re: Compile trouble with 5.4pre3

2006-10-05 Thread Dave Shield
On 05/10/06, Mike Brodbelt [EMAIL PROTECTED] wrote: It doesn't seem to be working for me. I've dropped the new files in and recompiled, but snmpwalk now times out on that part of the MIB:- Individual get requests to each OID don't timeout, but some of them take noticeably longer to complete

Re: Compile trouble with 5.4pre3

2006-10-05 Thread Wes Hardaker
MB == Mike Brodbelt [EMAIL PROTECTED] writes: MB I'm trying to compile the 5.4pre3 from source on Solaris 10, as I'm MB interested in testing the new ifXTable implementation, but I can't get MB it to configure happily. When I configure --with-mib-modules=if-mib, I MB get:- I believe I've fixed

Re: perl usage of the $session-getbulk()

2006-10-05 Thread Wes Hardaker
HH == Harrie Hazewinkel [EMAIL PROTECTED] writes: HH It returns a list, but is I print the perticular items HH of the list, I just get the value. It there not some HH way I can get the varbind and then have OID/value? HH @result = $sess-getbulk(0, 5, $vars); The vars reference you've passed

Re: SNMP Trap over IPX

2006-10-05 Thread Wes Hardaker
DN == Daniel Ng [EMAIL PROTECTED] writes: DN I am a newbie to net-snmp. I am trying to send SNMP traps over DN IPX. How do I set this up? I wonder if I need to re-compile SNMP DN with the IPX option during ./configure? I'm not sure anyone has tested traps over IPX, but the way the

Re: gettable fetches nothing

2006-10-05 Thread Wes Hardaker
GT == Gary Taul [EMAIL PROTECTED] writes: GT my $TunnelsTable = GT $session-gettable('CISCO-IPSEC-FLOW-MONITOR-MIB::cikeTunnelTable', # GT returns an empty hash A couple of things: 1) you didn't mention which version of the module you're using... If possible please use the absolute most

Re: Compile trouble with 5.4pre3

2006-10-05 Thread Dave Shield
On 05/10/06, Mike Brodbelt [EMAIL PROTECTED] wrote: Mostly - but there must be some other magic in there cause it seems to be working now... There was a difference in how the CPU indexes were calculated between the init and load functions. The file I sent you had consolidated the two

Re: perl usage of the $session-getbulk()

2006-10-05 Thread Carl Hayter
On Thu, Oct 05, 2006 at 11:52:14AM +0200, Harrie Hazewinkel wrote: ...snip... It returns a list, but is I print the perticular items of the list, I just get the value. It there not some way I can get the varbind and then have OID/value? $vars = SNMP::VarList-new( ['ifDescr'], ['ifSpeed'] );

discepancy between v1 and v2c

2006-10-05 Thread Mathew Bielejeski
I have come across a discrepancy when using snmpget built with netsnmp 5.3.0.1. I am attempting to access the sub interfaces of a router using the ifTable in Mib II. As a test I am attempting to retrieve the ifInOctects variable (1.3.6.1.2.1.2.2.1.10) Here is what gets returned

Re: discepancy between v1 and v2c

2006-10-05 Thread Wes Hardaker
MB == Mathew Bielejeski [EMAIL PROTECTED] writes: MB Why does snmpv1 return an error while snmpv2c does not? It looks like you're allowing access from SNMPv1 but not SNMPv2c. I can't tell what you're doing internally without seeing the access control directives of your snmpd.conf file, but you

Re: discepancy between v1 and v2c

2006-10-05 Thread Dave Shield
On 05/10/06, Mathew Bielejeski [EMAIL PROTECTED] wrote: snmpget.exe -c public -v1 192.168.1.1 1.3.6.1.2.1.2.2.1.10.6 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: IF-MIB::ifInOctets.6 snmpget.exe -c public -v2c 192.168.1.1

Re: SNMPD exists after error: nlist: No such file or directory

2006-10-05 Thread Dave Shield
On 05/10/06, Jain, Anshul [EMAIL PROTECTED] wrote: When I am trying to run the net-snmp daemon, it exists with following error: /etc# /usr/local/sbin/snmpd -D -L No log handling enabled - turning on stderr logging registered debug token Le, 2 nlist: No such file or directory Which version

SNMPD exists after error: nlist: No such file or directory

2006-10-05 Thread Jain, Anshul
Title: SNMPD exists after error: nlist: No such file or directory When I am trying to run the net-snmp daemon, it exists with following error: /etc# /usr/local/sbin/snmpd -D -L No log handling enabled - turning on stderr logging registered debug token Le, 2 nlist: No such file or

Re: Modify a row in a table

2006-10-05 Thread Dave Shield
On 04/10/06, Arnaud BODENAN [EMAIL PROTECTED] wrote: I use the netsnmp_table_data_set helper. In that case, calling netsnmp_set_row_column for each column in turn in the row you wish to update is probably the way to go. But if you've already got a suitable data structure to hold the contents of

RE: discepancy between v1 and v2c

2006-10-05 Thread Mathew Bielejeski
Thanks that is what I wanted to know. Is there a way to determine if one of these errors occurred? Right now I just check the variable_list to see if the data is valid (non null) but if there is a function or variable I can use to do the check then that would be good. -Original

Re: snmpd goes to 100% CPU

2006-10-05 Thread Dave Shield
On 04/10/06, Sauterel Fabrice [EMAIL PROTECTED] wrote: Which version of the agent are you working with? What O/S? I am running net-snmp-5.2.3 on IBM AIX5.3 It's probably worth trying with the most recent full release (5.3.1), or the latest pre-release code (currently 5.4.pre3). I have a

Re: discepancy between v1 and v2c

2006-10-05 Thread Dave Shield
On 05/10/06, Mathew Bielejeski [EMAIL PROTECTED] wrote: Is there a way to determine if one of these errors occurred? Check the 'errstat' field in the response PDU. If this is not 0, then the request failed. If this *is* 0, then the request succeeded - although individual varbinds may have

RE: SNMPD exists after error: nlist: No such file or directory

2006-10-05 Thread Jain, Anshul
I am trying to run the version 5.3.1 of NET-SNMP on AIX 5.3. With Rgds, Anshul Jain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, October 05, 2006 5:03 PM To: Jain, Anshul Cc: net-snmp-users@lists.sourceforge.net Subject:

Multiple row creation

2006-10-05 Thread somenath.pal
Hi ALL, I have one doubt. Is it possible to create multiple rows in single SNMPSET request? Regards, Somenath - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the