netsnmp 5.2.1.2 not working on powerpc with 2.6 kernel

2006-01-31 Thread Sachin Mishra
I am having a powerpc processor, with yellow dog distribution of linux kernel 2.6. Net-snmp is not able to load my module which is implemented in form of shared object. Here is the program trace when net-snmp is started: # gdb snmpd GNU gdb Red Hat Linux (6.0post-0.20040223.19.ydl.1rh) Copyright 2

Re: Graphing Packets-per-second rates

2006-01-31 Thread Dave Shield
On Mon, 2006-01-30 at 12:35 -0500, Dan Mahoney, System Admin wrote: > Is there an OID to get packets-per-second data SNMP is not designed (in general) to give X-per-second counts. As John has indicated, there are several MIB objects within the ifTable that count the number of packets sent or recei

Re: What's "Too Long" mean?

2006-01-31 Thread Dave Shield
On Mon, 2006-01-30 at 16:32 -0500, [EMAIL PROTECTED] wrote: > I have an application based on Net-SNMP v5.2 which I build for PPC and > Arm. On PPC it works fine. On Arm [it] gives > >GetSysValues: Too Long > > in the log. Can someone help me understand what that's about? $ less snmpli

Re: mib2c.mfd.conf question

2006-01-31 Thread Dave Shield
On Mon, 2006-01-30 at 20:39 -0800, stan buyanov wrote: > Could I use mib2c.mfd.conf in net-snmp v5.0.9? That should be possible, yes. Although there have been a lot of improvements (both to the MfD framework, and the agent as a whole) since then. So you should seriously consider upgrading to some

SUN Netra 240 bug??

2006-01-31 Thread Paulo Challes XQ (CE/EBS)
Title: SUN Netra 240 bug?? Hi fellows, Are there any bugs  relation between  NET-SNMP and  SUN Netra 240 machine?? BR, Paulo

Re: SUN Netra 240 bug??

2006-01-31 Thread Dave Shield
On Mon, 2006-01-30 at 16:55 -0200, Paulo Challes XQ (CE/EBS) wrote: > Are there any bugs relation between NET-SNMP and SUN Netra 240 > machine?? Not that we're aware of, though I don't believe any of the core developers have access to such a system.Feel free to try it out, and report any pr

snmp_synch_response function

2006-01-31 Thread Peter Thompson & Leanne O'Meara
Dear Sir/Madam,   I have a simple query about the snmp_synch_response function which I am using in developing an SNMP manager as a Windows console application. Does this operate synchronously as the name suggests ?. That is, does it wait for the response PDU (for the timeout period) before c

Re: What's "Too Long" mean?

2006-01-31 Thread cnelson
> On Mon, 2006-01-30 at 16:32 -0500, [EMAIL PROTECTED] wrote: > > I have an application based on Net-SNMP v5.2 which I build for > > PPC and Arm. On PPC it works fine. On Arm [it] gives > > > >GetSysValues: Too Long > > > > in the log. Can someone help me understand what that's about? > >

Re: What's "Too Long" mean?

2006-01-31 Thread Dave Shield
On Tue, 2006-01-31 at 08:07 -0500, [EMAIL PROTECTED] wrote: > Strangely, I can get the desired values with snmpwalk from another > system, it's the function which does on-node access for the UI that > fails. That uses a different community but why that should lead to "Too > long" is a mystery. (T

Re: What's "Too Long" mean?

2006-01-31 Thread cnelson
> On Tue, 2006-01-31 at 08:25 -0500, [EMAIL PROTECTED] wrote: > > But I ran _snmpd_ with -Dsess_async_send and I think this is > > reported by the client. Did you mean to run the client with -D? > > It could be either. > It might be the agent receiving the request, but being unable > to return a

Re: What's "Too Long" mean?

2006-01-31 Thread Thomas Anders
Dave Shield wrote: On Tue, 2006-01-31 at 08:25 -0500, [EMAIL PROTECTED] wrote: I don't think my client is smart enough to pass command-line options to SNMP library initialization. If your client doesn't handle the standard command-line options, then try adding: debug_register_tokens(

Re: What's "Too Long" mean?

2006-01-31 Thread cnelson
> On Tue, 2006-01-31 at 08:07 -0500, [EMAIL PROTECTED] wrote: > > Strangely, I can get the desired values with snmpwalk from another > > system, it's the function which does on-node access for the UI that > > fails. That uses a different community but why that should lead > > to "Too long" is a m

Re: What's "Too Long" mean?

2006-01-31 Thread Dave Shield
On Tue, 2006-01-31 at 08:25 -0500, [EMAIL PROTECTED] wrote: > But I ran _snmpd_ with -Dsess_async_send and I think this is > reported by the client. Did you mean to run the client with -D? It could be either. It might be the agent receiving the request, but being unable to return a response. Or

Unable to configure on AIX

2006-01-31 Thread PAUL WILLIAMSON
I'm trying to configure net-snmp 5.3.0.1 on a 5L AIX machine. At a point right after "checking for security modules to use... usm", I get this: checking for and configuring mib modules to use... mibII ucd_snmp snmpv3mibs notification notification-log-mib target agent_mibs agentx disman/event-m

Re: netsnmp 5.2.1.2 not working on powerpc with 2.6 kernel

2006-01-31 Thread Thomas Anders
Sachin Mishra wrote: I am having a powerpc processor, with yellow dog distribution of linux kernel 2.6. Net-snmp is not able to load my module which is implemented in form of shared object. Here is the program trace when net-snmp is started: Is there any chance you can try with 5.2.2 or 5.3.0.1

net-snmp without libcrypto

2006-01-31 Thread [EMAIL PROTECTED]
How can I avoid that snmpd use libcrypto.so? I'm not interested in security. Bye, Antonio. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes se

Using perl to create SNMP session towards local machine always use localport=161

2006-01-31 Thread Joakim.Olsson
Hi,   I'm using Net-SNMP 5.2.1.2 which have been built using ./configure --prefix= --with-defaults --enable-shared --with-zlib --with-openssl= After installation I have built the perl SNMP modules which I'm then trying to use to create a SNMP session towards my local machine on a specified po

Re: net-snmp without libcrypto

2006-01-31 Thread Thomas Anders
[EMAIL PROTECTED] wrote: How can I avoid that snmpd use libcrypto.so? I'm not interested in security. ./configure --without-openssl ... +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --- This SF.net email is sponsored by: Splun

printer mib

2006-01-31 Thread xuemei
Hi: I wonder does net-snmp agent support printer mib like rfc1759printer.mib etc, if the functionalities are already there, but this has simply not been configured in to the running version. Will use the configure option --with-mib-modules="list" then recompiling the agent do?

Re: Unable to configure on AIX

2006-01-31 Thread Thomas Anders
PAUL WILLIAMSON wrote: I'm trying to configure net-snmp 5.3.0.1 on a 5L AIX machine. At a point right after "checking for security modules to use... usm", I get this: grep: Maximum line length of 2048 exceeded. Either install GNU grep (and put it into your PATH before the AIX grep) or foll

STRING v/s Hex-STRING

2006-01-31 Thread chinmayareddy
Hi, I am querying a variable (OID) which has type/syntax as SnmpAdminString.  My agent, for some reason, returning binary values, whereas it should have been a displayable-string. When I query the variable I get output with junk character like 'OoN .Í?-tP�l.Ya M�'.  Can any one please tell me

Perl and Bulkwalk-ing (bulkwalk method missing?)

2006-01-31 Thread Brandon Knitter
Hi all!! I'm converting one of my perl scripts which used the older SNMP.pm for the new Net::SNMP module. Apparently the bulkwalk(...) method is no longer... What is the right way to bulkwalk a set of oids? For instance, I want to find all of the storage mounts on a unix box. Thanks in advance