Re: snmpset for (most) read-write objects failing

2005-07-28 Thread harish babu
Hello, On further investigation , we found that the file agent/mibgroup/mibII/ip.c did not have any relevant reference to ipForwarding (and other scalar objects.) So we did a mib2c for ip and this we noted generated additional code in ip.c. So this is way we need to add the scalar objects or the

Re: asynchronous response from with a agentx subagent

2005-07-28 Thread Srinivas Athuluru (ATG)
sorry i didnt mean that. i want to use the async interface without making this call synchronous as this daemon is responsible for other things as well. thanks ATG --- Robert Story <[EMAIL PROTECTED]> wrote: > On Wed, 27 Jul 2005 16:34:12 -0700 (PDT) Srinivas > wrote: > SA> I cannt make it synchr

Netsnmp Subagent ... conf File?

2005-07-28 Thread Torben Surmer
Hallo, I am writing a netsnmp 5.x subagent and I am wondering, if there is a comon way, where I should store my persistant configuration data, like the netsnmp agent himself stores his configuration data in the snmpd.conf file. And if so, are there probably already functions to read this file,

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-28 Thread Emi . Yanagi
Robert, Yes, I was running with -Dall option when "Broken pipe" happened. Then what is the condition that -Dall will not cause "Broken pipe"? If running without debug option, snmpwalk on etherStatsDataSource works okay now. Thanks for the patch, it fixed the mib2c oid type segmentation fault pro

Re: Re: regarding snmp trap PDU

2005-07-28 Thread jigar contractor
Hi Dave,       Thanks for your suggestion. And sorry to intrupt you again. But I am not understanding your one line that I am mentioning below:   " define a suitable MIB notification for the error events that you're interested in."   I don't have any idea about MIB notification. If you can just

MfD initialisation

2005-07-28 Thread Dave Shield
Robert, my next question relates to the initialisation of a MfD-based table. I think I've got a reasonable grasp of the basic flow of control through the initialisation code, and I understand how the final 'container_init' routine might be used. But I can't immediately grasp the purpose of the

Re: regarding snmp trap PDU

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 05:37 -0700, jigar contractor wrote: > That I know but I want to send some description of error messages > along with snmp trap pdu. Is it possible to send such type of error > description with snmp trap ? Sure. Define a suitable MIB object, and append this varbind to the

Re: MfD suggestions

2005-07-28 Thread Dave Shield
> DS> The other suggestion relates to the 'object_get' routines > DS> Currently, this code includes checks on the size of the buffer > DS> passed in, and re-allocates memory if necessary (potentially > DS> resulting in a memory leak, since the old memory doesn't appear > DS> to be released). >

regarding snmp trap PDU

2005-07-28 Thread jigar contractor
Hi,    That I know but I want to send some description of error messages along with snmp trap pdu. Is it possible to send such type of error descrption with snmp trap ? How NMS will identify that this is the error snmp trap pdu ?     Jigar. Dave Shield <[EMAIL PROTECTED]> wrote: On Thu, 2005-

RE: pass thru command

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 17:46 +0530, Partha Porel wrote: > The passtest script is: > > #!/bin/sh > Echo .1.3.6.1.2.1.1.1.0 > Echo string > Echo my machine And the ownership/permissions? --- SF.Net email is Sponsored by the Better Software Confe

Re: regarding snmp trap PDU

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 05:22 -0700, jigar contractor wrote: > I want to send some of information along with snmp trap command to the > trap listener. How would I add description to snmp trap PDU so that I > can send it to trap listener. By adding one or more varbinds to the end of the standard varb

Re: 5.3.dev "make test" fails for SNMPv3/AgentX/proxy

2005-07-28 Thread Dave Shield
On Tue, 2005-07-26 at 14:12 +0200, Thomas Anders wrote: > Dave Shield wrote: > > Clearing the don'tProbe flag seems to have fixed the problem. > > Excellent. Please also apply to 5.2.x if you haven't planned on > doing so already. IIRC it suffers the same problem, doesn't it? Done. I've been fig

regarding snmp trap PDU

2005-07-28 Thread jigar contractor
Hi,       I want to send some of information along with snmp trap command to the trap listener. How would I add description to snmp trap PDU so that I can send it to trap listener.  Or if this is not possible kindly send me alternate solution for the same...   Jigar.

Re: MfD suggestions

2005-07-28 Thread Dave Shield
On Wed, 2005-07-27 at 20:15 -0400, Robert Story wrote: > On Mon, 25 Jul 2005 17:21:20 +0100 Dave wrote: > DS> We should probably ensure that the hard-coded and interactive > DS> defaults match - either bringing the hard-coded settings into > DS> line with the interactive versions (my preference), o

RE: pass thru command

2005-07-28 Thread Partha Porel
The passtest script is: #!/bin/sh Echo .1.3.6.1.2.1.1.1.0 Echo string Echo my machine Partha -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: 28 July, 2005 4:18 PM To: Partha Porel Cc: [email protected] Subject: Re: pass thru command On Thu, 200

Re: pass thru command

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 16:03 +0530, Partha Porel wrote: > I am using net –snmp 5.1.2 on RH Linux AS4 (Kernel 2.6.9-5) but > not able to run my snmp agent which is implemented in pass through > way. But the script is working fine if I run from command line. > > Snmp.log file is showing “read pe

snmpset for (most) read-write objects failing

2005-07-28 Thread harish babu
Hello, I tried to change(set) the read-write object "ipForwarding" in the IP-MIB.txt. I am getting the following error, snmpset -v 2c -c private localhost IP-MIB::ipForwarding.0 i 1 error in packet. Reason: notWritable (That object does not support modification) Failed object: IP-MIB::ipForwa

Fw: Application for Enterprise-number

2005-07-28 Thread Muthu
Dear Sir, I have requested for an Enterprise-number in IANA. I got the below mail immediately after my application. But there were no message after that. I have also regularly checked with the IANA current assigned numbers. What should i do to get an individual number for our Enterprise MIB.

pass thru command

2005-07-28 Thread Partha Porel
Hi, I am using net –snmp 5.1.2 on RH Linux AS4 (Kernel 2.6.9-5) but not able to run my snmp agent which is implemented in pass through way. I also tried a sample pass thru agent script passtest (as given in snmpd.conf), which is also not working – i.e no response available if I query. Bu

Context in SNMP - newbies.

2005-07-28 Thread mahua dutta
Hi, What is the context in snmp? How does it work ? Any technical documents on the same ? I got some idea from someone.. Basically let's say some performance data of JVM need to be exposed to the SNMP. There will be multiple JVM running in the same machine. How Can I show those performance data fo