Re: Running Net-SNMP on embedded MIPS platform

2007-07-31 Thread Kapil Sharma
Hi, Just wanted to let you know that I could get version 5.2.3 to work with the configuration and setup (small agent on embedded MIPS system) I described in my problem. The lower versions might have worked but somehow I could not compile them without PERL. The higher versions, 5.4 and 5.4.1 rc

Re: My subagent code has a forever loop in it which might be starving other functions

2007-07-31 Thread Need Help
Also, in the future if I have more than one subagent, should all subagents be started in the same thread to be safe? Need Help <[EMAIL PROTECTED]> wrote: Ok, I proved this is in fact the problem causing our hardware box to coredump.If I remove the "while(keep_running)" code (just for testi

Re: My subagent code has a forever loop in it which might be starving other functions

2007-07-31 Thread Need Help
Ok, I proved this is in fact the problem causing our hardware box to coredump. If I remove the "while(keep_running)" code (just for testing purposes), then everything comes up. Anyway, I would now like to start the subagent in it's own thread but I am not sure if this is the "allowed" since

RE: override

2007-07-31 Thread Fong Tsui
Is it possible to get this override value from a subagent? If yes, how or where I should look? Thanks, FT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, July 31, 2007 1:30 AM To: Fong Tsui Cc: [email protected]

My subagent code has a forever loop in it which might be starving other functions

2007-07-31 Thread Need Help
My subagent module (ie: snmpSubagent_ocStbHostMib.c) has a "snmp_subagent_main()" routine which is called to start up the subagent. This module was created based off of the "example-demon.c" file used in the "Writing a Subagent" tutorial. The module code looks like this: int snmp

Problem about building net-snmp-5.4.1 with vc++

2007-07-31 Thread 垃圾 簡
in project snmpdsdk of win32sdk.dsw error LNK2019: unresolved external errors _init_at in function _init_mib_modules reference LNK2019: unresolved external errors _init_icmp in function _init_mib_modules The error is the

Re: override

2007-07-31 Thread Dave Shield
On 31/07/07, Dominique bastien <[EMAIL PROTECTED]> wrote: > It seem that the override directive doesn't work with > the warm boot. I try some test last nigth and found > error on each line after a -HUP. > > Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: > line 44: Error: oid registration fai

Re: override

2007-07-31 Thread Dominique bastien
It seem that the override directive doesn't work with the warm boot. I try some test last nigth and found error on each line after a -HUP. Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 44: Error: oid registration failed within the agent Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.

Re: override

2007-07-31 Thread Dave Shield
On 31/07/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > How does override work? It seems it ignores what var_XXX( ) does. That's correct. It will return the given value for the specified OID, overriding whatever the agent code would normally report, and hence ignoring the var_XXX() routine. It's bas