Re: Re: snmpd crash

2006-10-28 Thread Venkata Guddeti
Thank you very much That worked. Reddy Dave Shield <[EMAIL PROTECTED]> wrote: On 27/10/06, Venkata Guddeti wrote:> Forgot to give my snmpd.conf file.> rocommunity gbbf> rwcommunity gbbfFrom the FAQ:How do I configure access control?- Note that it is *not* nece

Fwd: Re: snmpd crash

2006-10-28 Thread Venkata Guddeti
Forgot to give my snmpd.conf file. ### # # snmpd.conf # #   - created by the snmpconf configuration program #### # SECTION: Agent Operating Mode # #  

Re: Re: snmpd crash

2006-10-27 Thread Dave Shield
On 27/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > Forgot to give my snmpd.conf file. > rocommunity gbbf > rwcommunity gbbf >From the FAQ: How do I configure access control? - Note that it is *not* necessary (and not advisible) to specify the same c

Re: snmpd crash

2006-10-27 Thread Venkata Guddeti
Hi All I messed up my snmpd configuration some how, but I have not touched snmpd.conf though. Now my problem is that when I try to do snmpset on any of the writable variables, I get error "notWritable". I have done checks to see the how the agent is registering and the MIB file. They all seem to b

Fwd: Re: snmpd crash

2006-10-23 Thread Venkata Guddeti
Sorry, to forgot to cc.Hence forwarding again.Note: forwarded message attached.--- Begin Message --- Dear DaveI will change the code back to the way it was. Assuming that the code is right,Can you please advice us with new ideas on how to fix the problem. As I mentioned in the mail, we have the man

Re: snmpd crash

2006-10-23 Thread Dave Shield
On 23/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > Dear Dave > I will change the code back to the way it was. Assuming that the code is > right, Can you please advice us with new ideas on how to fix the problem. As I > mentioned in the mail, we have the manager running on the 32 bit machine.

Re: snmpd crash

2006-10-23 Thread Venkata Guddeti
Dear Dave,Thank you very much for the prompt reply from you and Robert.I have forgotten to mention that the manger machine is a 32 bit RHEL WS4 OS.Could that cause this kind of problem (getting two counter64 vars in one snmpget). Are there any rules that need to be followed when communicating betwe

Re: snmpd crash

2006-10-23 Thread Dave Shield
On 23/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > case MODE_GET: > struct counter64 counterVar; > // Here I had low and high assigning as follows > // counterVar.low = newStats->NumBCFileRead & 0x; > // counterVar.high = newStats->NumBCFileRead >> 32; > // After seeing

Re: snmpd crash

2006-10-20 Thread Dave Shield
On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: >> How are these object implemented? Scalars, or table objects? > These variables are implemented as scalars. >> Which helper? > I am sorry that I could not understand this question. What does the code of your "init" routine look like?

Re: snmpd crash

2006-10-20 Thread Robert Story
On Fri, 20 Oct 2006 20:49:27 +0100 Dave wrote: DS> > I have coded Counter64 variables using the 'struct counter64' and filling DS> > its members high and low. I have passed the args for DS> > snmp_set_var_typed_value as (u_char*) and the size as 8. DS> DS> It's probably safer to use "sizeof(struct

Re: snmpd crash

2006-10-20 Thread Dave Shield
On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > The snmpd is actually timing out (most of the times, crash sometimes) when I > use snmpget for two Counter64 variables. Does querying these two variables individually work correctly? How are these object implemented? Scalars, or table ob

Re: snmpd crash

2006-10-11 Thread Dave Shield
On 04/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > I have recently started using net-snmp (5.3.1) on RHEL 4.0. One more thing > about the OS is that it is a 64 bit OS. When the Manager sends SNMP PDUs > (similar to snmpwalk), I am having snmpd crash. I see sometimes an error in > the /var/lo

Re: snmpd crash when master agentx and informs (possibly related to bug #1154117)

2005-10-05 Thread Peder Chr. Norgaard
On Sat, 1 Oct 2005, Robert Story wrote: > On Sat, 24 Sep 2005 18:11:16 +0200 (CEST) Peder wrote: > PCN> The crash happens shortly after a subagent has sent a notification > PCN> that must be forwarded as an inform. The crash only happens when the > PCN> receiver is not responding, so the inform

Re: snmpd crash when master agentx and informs (possibly related to bug #1154117)

2005-10-02 Thread Robert Story
On Sat, 24 Sep 2005 18:11:16 +0200 (CEST) Peder wrote: PCN>The crash happens shortly after a subagent has sent a notification PCN> that must be forwarded as an inform. The crash only happens when the PCN> receiver is not responding, so the inform times out; the snmpd reports the PCN> timeout t

Re: snmpd crash on adding row to table

2004-08-20 Thread Coders
On Fri, 23 Jul 2004 10:53:19 +0800 Anupama wrote: AQ> The second problem was the fact that snmpd would not start at some times AQ> - saw the log it gives udp 161 error - but when I do a ps I dont see any AQ> snmpd running - and I dont think I have any other process which uses AQ> that port numbe

Re: snmpd crash on adding row to table

2004-07-29 Thread Dave Shield
Anupama> The second problem was the fact that snmpd would not start at some Anupama> times - saw the log it gives udp 161 error - but when I do a ps I dont Anupama> see any snmpd running - and I dont think I have any other process Anupama> which uses that port number. Wes> The command: Wes>ls

Re: snmpd crash on adding row to table

2004-07-29 Thread Anupama Qanungo
Wes Hardaker wrote: On Fri, 23 Jul 2004 10:53:19 +0800, Anupama Qanungo <[EMAIL PROTECTED]> said: Anupama> Now the problem comes when I try to set a value in a Anupama> non-existant row. Since my program returns a NULL for that Anupama> row - should it not show "variable does not exist

Re: snmpd crash on adding row to table

2004-07-28 Thread Wes Hardaker
> On Fri, 23 Jul 2004 10:53:19 +0800, Anupama Qanungo <[EMAIL PROTECTED]> said: Anupama> Now the problem comes when I try to set a value in a Anupama> non-existant row. Since my program returns a NULL for that Anupama> row - should it not show "variable does not exist"- instead Anupama> snmpd

Re: snmpd crash on adding row to table

2004-07-23 Thread Anupama Qanungo
hi! thanks a lot for the prompt reply. for the table i have somehow managed by adding a check for NULL, but no luck with the latter. running nmap does show udp 161 open , but there is no snmpd process. then i guess i need to know how to manage ports ? Lamdor Franklin wrote: Hi Anupa, I this th