Re: HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Dave Shield
On 20/07/07, Need Help <[EMAIL PROTECTED]> wrote: > master agentx > agentxsocket 127.0.0.1:1610 > Here is the "netstat -an" output: > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp0 0 0.0.0.0:23 0.0.0.0:* LISTEN >

Re: HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Need Help
Here is the output after changing the "snmpd.conf" file to have the following lines: master agentx agentxsocket 127.0.0.1:1610 rocommunity mycommunity_ro Here is the "netstat -an" output: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address

Re: HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Need Help
Never knew snmptranslate did stuff outside of the master agent . thanks for telling me this. So, is there a certain command I could run to verify the master agent is "working"? Come to think of it I guess I could do a snmpget (or something) on the "IF-MIB" since the master agent imp

Re: HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Dave Shield
On 20/07/07, Need Help <[EMAIL PROTECTED]> wrote: > 1) I performed the following "netstat -an" command to verify the snmpd > master agent was indeed listening on port "1610": No, it's not. It's listening on a named Unix socket called "localhost:1610". You embedded box doesn't recognise "localhost"

Re: HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Need Help
Possibly the subagent did not start correctly. I added some "prinf" statements inside the "main()" function and do not see these being displayed when the hardware box starts up . I need to investgate this more... Need Help <[EMAIL PROTECTED]> wrote: One of my final steps was to cross-comp

HELP: Subagent (compiled into a "library.so file") does not process requests

2007-07-20 Thread Need Help
One of my final steps was to cross-compile the subagent code into a "libsnmp_subagent.so" file on our build environment. Instead of running an subagent executable manually to start the subagent on our hardware box, the subagent now starts when the hardware box boots up by using the newly create

Re: How can I get rid of these warnings?

2007-07-20 Thread Need Help
Thanks that worked great Dave Shield <[EMAIL PROTECTED]> wrote: On 20/07/07, Need Help wrote: > Robert indicated the following: > > "These are harmless. You can copy the prototypes from the appropriate > headers, if you want to eliminate the warning." > > . however, I am not sure wh

Re: How can I get rid of these warnings?

2007-07-20 Thread Dave Shield
On 20/07/07, Need Help <[EMAIL PROTECTED]> wrote: > Robert indicated the following: > > "These are harmless. You can copy the prototypes from the appropriate > headers, if you want to eliminate the warning." > > . however, I am not sure what this means, so can someone please explain > this to m

How can I get rid of these warnings?

2007-07-20 Thread Need Help
Listed below are a couple of warnings which are produced which are created when I compile the "subagent" code file (ie: ocStbHostMib_subagent.c). I was informed these warnings could simply be ignored, however, it seems the compiler our work uses does not like any warnings to exist at all so I

Problem linking netsnmptrapd.lib with MingW

2007-07-20 Thread [EMAIL PROTECTED]
I'd like to use NetSNMP with wxDevC++. I created a DevPack with the precompiled libraries and the include directories i got from the binaries of the Net-SNMP 5.4 release (the file net-snmp-5.4.0-1.win32.exe that can be downloaded here: http://net-snmp.sourceforge.net/download.html ). After a lit

Should I update "config_add_mib()" and "config_require()" parameters?

2007-07-20 Thread Need Help
I used the mib2c tool to create code using the MFD configuration file. in some of the ".h" files which are created there exists lines like the following: config_add_mib(OC-STB-HOST-MIB) config_require(OC-STB-HOST-MIB/ocStbHostAnalogVideoTable/ocStbHostAnalogVideoTable_interface) What is the si

Re: net-snmp 5,4 memory leak when sending out traps

2007-07-20 Thread Dave Shield
On 20/07/07, 吴亚东 <[EMAIL PROTECTED]> wrote: >From http://net-snmp.sourceforge.net/docs/CHANGES.html, there are two: - [PATCH 1592706]: Fix memory leak when cloning varbinds. - [PATCH 1616912]: fix memory leak in snmp_udp_transport But I can not find patch 1592706. http://sourceforge.net/