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

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 to

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

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 } }, So I

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.

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 comunication on

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 trap then i stop

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'

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

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 running Ted

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

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

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: Please give me

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

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

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 call

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

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 believe

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