snmpd under cygwin gdb.

2004-07-29 Thread kumaresh malli
Hi All, I am getting this segmentation fault error while trying to run snmpd under cygwin gdb. Any suggestions or ideas? Thanks for your help in advance. Kmesh bash-2.05b$ cd bash-2.05b$ gdb GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free soft

Segmentation Fault in Subagent

2004-07-29 Thread Reitberger, Susan
Title: Segmentation Fault in Subagent I am running the main agent and a subagent which communicate via the agentx protocol. When I try to set a read-only variable that the subagent is responsible for, the nonWritable error comes back to the command line but the subagent has a segmentation faul

Re: Wisdom of using UDP fragmentation

2004-07-29 Thread Wes Hardaker
> On Wed, 28 Jul 2004 10:27:57 -0500, Michael Stone <[EMAIL PROTECTED]> said: Michael> However, my question is this: Can the popular Managment Michael> Consoles (OpenView, Tivoli, etc...) handle SET and GET Michael> requests which require fragmentation? It seems like they Michael> should. I

Re: Net-SNMP 5.1.2.rc1 released

2004-07-29 Thread Wes Hardaker
> On Thu, 29 Jul 2004 07:36:25 -0400, Ted Kaczmarek <[EMAIL PROTECTED]> said: Ted> Doesn't actually crash, just hangs. I attached an strace of it if Ted> that helps. Ah, then make it hang in gdb, hit ctrl-c and type "where". -- Wes Hardaker Sparta -

Re: newbee - static compilation

2004-07-29 Thread Wes Hardaker
> On Thu, 29 Jul 2004 13:17:52 +0200, "Kubicki, Alexander, OPE54" <[EMAIL > PROTECTED]> said: Alexander> How can I static compile the snmpd (Daemon)? configure --disable-shared (and maybe --with-ldflags="-static") -- Wes Hardaker Sparta --

Re: how to best pass a usmUser to snmptrapd?

2004-07-29 Thread Wes Hardaker
> On Thu, 29 Jul 2004 13:48:45 +0200, Thomas Anders <[EMAIL PROTECTED]> said: Thomas> I had a similar idea in mind, but rather using a named pipe. Will any Thomas> of the config reading routines have problems reading from Thomas> named pipes? That would work too. Read in the line, and then c

Re: Another problem with Installing new-snmp in QNX 6.x Architechture

2004-07-29 Thread Wes Hardaker
> On Thu, 29 Jul 2004 10:03:10 +0100 (BST), rid_One <[EMAIL PROTECTED]> said: rid> Thanx. I followed your suggestion and it worked, rid> eventhough there're always messages "od: illegal rid> option -- x" after every compiling line. after that, I rid> tried to add my own module to snmpd, it wor

Re: engineID

2004-07-29 Thread Wes Hardaker
> On Thu, 29 Jul 2004 14:37:12 +0200, Thomas Anders <[EMAIL PROTECTED]> said: >> Net-SNMP uses a combination of time and random number values to >> seed the engineID. Doing it any other way (like the common IP >> address way) is generally bad practice. Thomas> Are you willing to elaborate on

RE: net-snmp localhost problem

2004-07-29 Thread Bruce Shaw
>> 1 - ./configure >> 2 - make >> 3 - make install > >> After this, i tried to use the snmp applications using the localhost: > >> snmpget -v 2c -c public localhost system.sysLocation.0 > >How about starting the daemon :-) An snmpd.conf file might be appropriate. So would RTFM. This communic

Re: net-snmp localhost problem

2004-07-29 Thread Ted Kaczmarek
On Thu, 2004-07-29 at 17:56 +0100, Pedro Neves wrote: > Dear all: > > I have installed the net-snmp using the following steps: > > 1 - ./configure > 2 - make > 3 - make install > > After this, i tried to use the snmp applications using the localhost: > > snmpget -v 2c -c public localhost system

net-snmp localhost problem

2004-07-29 Thread Pedro Neves
Dear all: I have installed the net-snmp using the following steps: 1 - ./configure 2 - make 3 - make install After this, i tried to use the snmp applications using the localhost: snmpget -v 2c -c public localhost system.sysLocation.0 But, i got the following response: Timeout: No Response fro

Re: Beginner doubt NET-SNMP

2004-07-29 Thread Dave Shield
> For the agent to understand the snmp applications from Net-SNMP, I must > install the Net-SNMP software also in the agent? No - the agent *is* the software that understands SNMP requests. The Net-SNMP suite includes an agent, but if you've already got an agent installed on a particular box, you

Re: Beginner doubt NET-SNMP

2004-07-29 Thread Pedro Neves
For the agent to understand the snmp applications from Net-SNMP, I must install the Net-SNMP software also in the agent? Thanks Regards, Pedro Neves On Wed, 2004-07-28 at 20:18, Wes Hardaker wrote: > > On Wed, 28 Jul 2004 13:13:32 -0300, Esteban Pizzini <[EMAIL PROTECTED]> said: > > >> Plea

R: How to link a code with an OID

2004-07-29 Thread AESYS S.p.A. [Enzo Arlati]
I will try to hgive an answer using some example I assume we have a link named /net-snmp to tha base installation of the snmp product [EMAIL PROTECTED] enzo]$ ls -la /net-snmp lrwxrwxrwx1 root root 31 apr 14 13:18 /net-snmp -> /home/enzo/SNMP/net-snmp-5.0.8/ Under /net-snmp/ag

Re: engineID

2004-07-29 Thread Thomas Anders
Wes Hardaker wrote: Net-SNMP uses a combination of time and random number values to seed the engineID. Doing it any other way (like the common IP address way) is generally bad practice. Are you willing to elaborate on the latter statement? The SnmpEngineID TC from RFC3411 defines and allows for lo

Re: Net-SNMP 5.1.2.rc1 released

2004-07-29 Thread Ted Kaczmarek
On Wed, 2004-07-28 at 18:52 -0700, Wes Hardaker wrote: > > On Wed, 28 Jul 2004 20:47:09 -0400, Ted Kaczmarek <[EMAIL PROTECTED]> said: > > Ted> This condition only seems to happen on nodes with multiple > Ted> ethernet and tunnel interfaces from what I can tell. Have several > Ted> other boxes

Re: how to best pass a usmUser to snmptrapd?

2004-07-29 Thread Thomas Anders
Wes Hardaker wrote: Thomas> I'm (re-)designing an application that processes SNMPv3 Thomas> INFORMS from tens of thousands of devices, each of them Thomas> associated with a unique usmUser. The credentials get Thomas> negotiated (by other means) just before sending the INFORM. Ohh... so many ways

newbee - static compilation

2004-07-29 Thread Kubicki, Alexander, OPE54
Title: newbee - static compilation Hi all, sorry for the question, i´m new to net-snmp: How can I static compile the snmpd (Daemon)? Do I need special static libraries? Any help would be welcome Alexander

Re: snmpd does not send traps

2004-07-29 Thread Alexander Piavka
now all forks fine thanks a lot On Thu, 29 Jul 2004, Dave Shield wrote: > > > > > in snmpd.conf i have: > > > > trapsess -Ci -c public -v 2c snmp > > > > monitor -r 10 -o prNames -o prErrMessage "process table" prErrorFlag != 0 > > > > Does the trap handler running on the system 'snmp' receive a

RE: Another problem with Installing new-snmp in QNX 6.x Architechture

2004-07-29 Thread "Fernández Piñas, David"
od: illegal option -- x I have seen that messages also. Does anybody knows the meaning and/or probable cause? making all in /net-snmp-5.1/agent make[1]: Entering directory `/net-snmp-5.1/agent' making all in /net-snmp-5.1/agent/helpers make[2]: Entering directory `/net-snmp-5.1/agent/helpers' /b

Re: snmpd does not send traps

2004-07-29 Thread Alexander Piavka
On Wed, 21 Jul 2004, Dave Shield wrote: > > > in snmpd.conf i have: > > proc rpc.mountd 1 1 > > trapsess -Ci -c public -v 2c snmp > > rouser trapsender noauth > > agentSecName trapsender > > monitor -r 10 -o prNames -o prErrMessage "process table" prErrorFlag != 0 > > > > the snmpd does not send t

Re: snmpd does not send traps

2004-07-29 Thread Dave Shield
> > > in snmpd.conf i have: > > > trapsess -Ci -c public -v 2c snmp > > > monitor -r 10 -o prNames -o prErrMessage "process table" prErrorFlag != 0 > > Does the trap handler running on the system 'snmp' receive a trap > > when the agent first starts up (and shuts down) ? > while there is no comu

Re: WRB - mib2c observations.

2004-07-29 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. T

Another problem with Installing new-snmp in QNX 6.x Architechture

2004-07-29 Thread rid_One
Thanx. I followed your suggestion and it worked, eventhough there're always messages "od: illegal option -- x" after every compiling line. after that, I tried to add my own module to snmpd, it work nicely (at least, when I tried them globally). But there's another problem. Files in directory "net-

Re: Question about register_mib_range

2004-07-29 Thread Dave Shield
> Here is more information on what I want to do: > > - > oid oid1[] = { 1,1,1,1,1,1,1,1,1,1,1,5}; > > I have two variables of the type: > > #define VAR1 1 > { VAR1, ASN_UNSIGNED , RONLY, foo, 2, { 1,1 } }, > #define VAR2 1 > { VAR2, ASN_UNSIGNED , RONLY, foo, 2, { 1,2 }

Wisdom of using UDP fragmentation

2004-07-29 Thread Michael Stone
Greetings, We are looking at using Net-SNMP to support an agent plugin to execute commands remotely on our servers. A command line limitation of 1472 bytes was looking pretty thin. So, we determined to use SNMP over TCP. In the process of testing, we learned about the concept of UDP packet f

How to link a code with an OID

2004-07-29 Thread Rana
Hi All,    I am very new to SNMP. To have a hold on SNMP, I planned to use net-snmp. I am using Red Hat Linux Advanced Server(kernel 2.4.21-4). I am using the net-snmp package which by default comes with this distribution of Linux. I have crated a sample mib file. Using the mib2c I am able t

Question about register_mib_range

2004-07-29 Thread Ankur Gupta
Hi, I haven't been able to find an example of using register_mib_range. Here is more information on what I want to do: - oid oid1[] = { 1,1,1,1,1,1,1,1,1,1,1,5}; I have two variables of the type: #define VAR1 1 { VAR1, ASN_UNSIGNED , RONLY, foo, 2, { 1,1 } }, #define VAR