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

2006-10-05 Thread Thomas Anders
Jain, Anshul wrote: > I am trying to run the version 5.3.1 of NET-SNMP on AIX 5.3. This is a known problem. It will hopefully get fixed for the upcoming 5.4 release. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de)

Re: snmpd goes to 100% CPU

2006-10-05 Thread Thomas Anders
Dave Shield wrote: > 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 (cur

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 cha

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: R

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 "fa

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 f

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 Message-

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

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:

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 ve

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 1.3.6.

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,

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: 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'] );

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 approa

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 abso

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: 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 yo

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 belie

Re: Compiling Binaries for HP UX

2006-10-05 Thread Wes Hardaker
> "m" == mcdonnellt <[EMAIL PROTECTED]> writes: m> I have been able to successfully compile and install net-snmp 5.3.1 m> on a couple of my servers, but have run into an issue where most of m> the rest of my servers do not have ANSI C installed, so running m> make and make install on these ma

Re: How to add new MIB?

2006-10-05 Thread Wes Hardaker
> "ba" == bahman arabrezaie <[EMAIL PROTECTED]> writes: ba> I need a document that explains adding new MIB and its agent to snmp step by ba> step by an example. The best place to get started: http://www.net-snmp.org/tutorial/tutorial-5/toolkit/ -- Wes Hardaker Sparta, Inc. --

How to add new MIB?

2006-10-05 Thread bahman arabrezaie
HiI need a document that explains adding new MIB and its agent to snmp step by step by an example.Thanks in advance-- Bahman - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

Compiling Binaries for HP UX

2006-10-05 Thread mcdonnellt
I have been able to successfully compile and install net-snmp 5.3.1 on a couple of my servers, but have run into an issue where most of the rest of my servers do not have ANSI C installed, so running make and make install on these machines fail. I would like to simply compile the binaries on o

Re: Compile trouble with 5.4pre3

2006-10-05 Thread Mike Brodbelt
On Thu, 2006-10-05 at 10:51 +0100, Dave Shield wrote: > 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 OI

Re: Compile trouble with 5.4pre3

2006-10-05 Thread Dave Shield
On 05/10/06, Dave Shield <[EMAIL PROTECTED]> wrote: Please try applying the following patch to cpu.c and cpu_kstat.c Please try applying the following patch, which is actually included this time! You just can't get the staff these days. Dave cpu.diff Description: Binary data --

perl usage of the $session->getbulk()

2006-10-05 Thread Harrie Hazewinkel
HI, I would like to use the $session->getbulk(..), but I am not sure which kind of values I get back. 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? @result = $sess->getbulk(0, 5, $

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 comp

Re: snmptable with indexes

2006-10-05 Thread Dave Shield
On 05/10/06, Harrie Hazewinkel <[EMAIL PROTECTED]> wrote: > The utility snmptable is a nice way to present and order > table data. However, I am not able to get the 'index' > part printed. Is there a specific option for this? -Ci > The '-O' options do not provide this or do I miss something? T

Re: Compile trouble with 5.4pre3

2006-10-05 Thread Mike Brodbelt
On Wed, 2006-10-04 at 20:42 +0100, Dave Shield wrote: > On 03/10/06, Mike Brodbelt <[EMAIL PROTECTED]> wrote: > > > > > Unfortunately, the UCD-SNMP-MIB::systemStats stuff is still broken on > > > > Solaris (apparently because the Solaris version of the new hardware > > > > abstraction layer code i

snmptable with indexes

2006-10-05 Thread Harrie Hazewinkel
HI, The utility snmptable is a nice way to present and order table data. However, I am not able to get the 'index' part printed. Is there a specific option for this? The '-O' options do not provide this or do I miss something? Harrie