Issue with implementation of bulk get

2007-04-12 Thread Sachin Mishra
I am using mib2c.table_iterator.conf to generate code for my mib modules. In the default case all the get-bulk requests are handled by table_iterator handler and when the call finally comes to sub-agent, it is always MODE_GET. Is there a way I can specify that the sub-agent has the capability to

net-snmp thread safe?

2007-03-08 Thread Sachin Mishra
request takes place. Is there any document which can provide such details. Thanks, Sachin -- Sachin Mishra [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

agentx problem with net-snmp5.4

2006-12-07 Thread Sachin Mishra
I upgraded my net-snmp agent from 5.3.0.1 to 5.4. After the upgradation, my sub-agent is not able to contact to net-snmp master agent. In snmpd.conf I have specified master as yes. When I reverted back to 5.3.0.1 again everything is working fine. Is there any change in configuration when I

agentx problem with net-snmp5.4

2006-12-07 Thread Sachin Mishra
I upgraded my net-snmp agent from 5.3.0.1 to 5.4. After the upgradation, my sub-agent is not able to contact to net-snmp master agent. In snmpd.conf I have specified master as yes. When I reverted back to 5.3.0.1 again everything is working fine. Is there any change in configuration when I

Unaligned access on 64 bit machine

2006-11-30 Thread Sachin Mishra
While running net-snmp-5.3.0.1 on 64 bit intel machine with RHEL4 snmpd -f -x localhost:1234, there are error messages related to unaligned access: unaligned access to 0x214927c4, ip=0x200f2630 unaligned access to 0x214927c4, ip=0x200f2630 unaligned access to

Implication of CreateAndWait RowStatus

2006-11-06 Thread Sachin Mishra
I have some confusion in the use of CreateAndWait option of RowStatus textual-convention. It says that if while creating a new row if we use CreateAndWait, it will the set the row in one of the states: not in service or not ready, based on the information available with the sub-agent. Till the row

Re: Table iterator when index is sorted

2006-09-20 Thread Sachin Mishra
I didn't get any response for this, so I am resending just in case... Thanks, Sachin On Mon, 2006-09-18 at 12:12 +0530, Sachin Mishra wrote: In my subagent I have data which is already sorted w.r.t. to index. Should I use iterate.conf or array-user.conf to generate the subagent template

Table iterator when index is sorted

2006-09-18 Thread Sachin Mishra
In my subagent I have data which is already sorted w.r.t. to index. Should I use iterate.conf or array-user.conf to generate the subagent template code. Is there anyu example of array-user.conf? The index for my table is OCTET-STRING. While using iterate.conf, if I specify the SORTED flag, it

Re: Problem on 64 bit machine

2006-08-23 Thread Sachin Mishra
Thanks Dave. Size of long is 8. Was just curious if I can get the portion of the code where the value is assigned. -Sachin On Wed, 2006-08-23 at 15:19, Dave Shield wrote: On 23/08/06, Sachin Mishra [EMAIL PROTECTED] wrote: When I am trying to set the value of the object

Problem on 64 bit machine

2006-08-22 Thread Sachin Mishra
I am running net-snmp 5.3.0.1 on a 64 bit machine. When I try to set any attribute defined as Integer32 data-type in the MIB, the requests var in the handler return the value val_len as 8. Shouldn't this value be 4 (=sizeof(int))? Also, I want to know where does the value of val_len gets set

net-snmp5.3.0.1 crash

2006-03-28 Thread Sachin Mishra
net-snmp 5.3.0.1 crashes on power-pc. Linux ppc-301-1 2.4.22-2f #1 Sun Nov 9 16:49:49 EST 2003 ppc ppc ppc GNU/Linux Here is the stack trace information of the core dump: #0 __libc_free (mem=0x11) at malloc.c:3337 3337malloc.c: No such file or directory. in malloc.c (gdb) bt #0

Re: running agentx sub-agent as non root

2006-03-03 Thread Sachin Mishra
wrote: On Thu, 2006-03-02 at 17:23 +0530, Sachin Mishra wrote: Isn't there a way to specify it in the config so that I can make [/var/agentx/master] work as a non-root user. See 'agentXPerms' in snmpd.conf(5) I believe this is only

running agentx sub-agent as non root

2006-03-02 Thread Sachin Mishra
I am having problem running agentx subagent as a non-root user. I went through some earlier discussion on this in the mailing list where we talk about tweaking the permission of /var/agentx/master. Isn't there a way to specify it in the config so that I can make it work as a non-root user. I