debug messages

2005-03-17 Thread Michael P. Soulier
I've been trying to use DEBUGMSGTL to output debug messages from my module, called mitelAppCommon. If I add -DmitelAppCommon,dlmod to the snmpd command line, I get dlmod output, but nothing from my module. What am I doing wrong? Thanks, Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, 613-592-

Re: subagent built with agentx size is increased more 10 times

2005-03-17 Thread Robert Story
On Thu, 17 Mar 2005 07:11:30 -0800 (PST) Srinivas wrote: SA> I have an existing daemon. I added agentx support to SA> make it a subagent. An existing snmp daemon, or some other daemon to which you added agentx support? I'm guessing it previously didn't have any snmp support, which means you've add

Re: Does net-snmp support inter-table indexing?

2005-03-17 Thread Robert Story
On Thu, 17 Mar 2005 08:13:42 -0600 Bogdan wrote: BA> I mean using as index for a table the index from another table(i.e BA> ifIndex). Ah, ok. Index handling is done in the module handlers, so it is up to the individual handlers to share indexes. There are a few examples, I think. The host resourc

Re: help!!!

2005-03-17 Thread Robert Story
On Wed, 16 Mar 2005 14:57:17 -0800 (PST) Lance wrote: LH> I'm on this mac and I'm looking for a simple snmp mib LH> browser. Do you know of any? I mean on my windows box LH> I have about 1. On this Mac I can't find anything LH> for SNMP Try poking around on www.snmplink.org. -- Robert St

Re: error trying to run example-demon given toolkit tutorial.

2005-03-17 Thread Robert Story
On Wed, 16 Mar 2005 01:37:05 -0500 Vijay wrote: VK> ld.so.1: example-demon: fatal: relocation error: file VK> /opt/net-snmp/lib/libnetsnmpagent.so.5: symbol boot_DynaLoader: referenced VK> symbol not found What libraries are you linking in? -- Robert Story; NET-SNMP Junkie Support:

Re: about net-snmp

2005-03-17 Thread Robert Story
On Thu, 17 Mar 2005 10:32:19 +0100 Frantisek wrote: FK> could you please tell me someone how to add my new *.c files to the FK> snmptrapd makefiles. I just want to add my files to extend the FK> snmptrapd.c code, but could not find a place in makefiles where to add FK> them. I'm not sure why you a

help!!!

2005-03-17 Thread Lance Hollandsworth
I'm on this mac and I'm looking for a simple snmp mib browser. Do you know of any? I mean on my windows box I have about 1. On this Mac I can't find anything for SNMP Any help would be appreciated. Thanks --- SF email is sponsored by

error trying to run example-demon given toolkit tutorial.

2005-03-17 Thread Vijay Krishna
Title: error trying to run example-demon given toolkit tutorial. I amĀ  getting following relocation error trying to run sub agent demon - example-demon Code got from http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/index.html ld.so.1: example-demon: fatal: relocation error: file /

Re: about net-snmp

2005-03-17 Thread Frantisek Kaduch
Hello, could you please tell me someone how to add my new *.c files to the snmptrapd makefiles. I just want to add my files to extend the snmptrapd.c code, but could not find a place in makefiles where to add them. I'm running net-snmp 5.2.1 on Linux Fedora Core 3 and compile using gcc. thanks

Re: Does net-snmp support inter-table indexing?

2005-03-17 Thread Bogdan Antonovici
I mean using as index for a table the index from another table(i.e ifIndex). - Original Message - From: Robert Story To: bogdan antonovici Cc: [email protected] Sent: Wednesday, March 16, 2005 10:36 PM Subject: Re: Does net-snmp support

Re: hello .about threshold of net-snmp

2005-03-17 Thread Lin Junhua
Hello. Thanks for you answer . Yours sincerely Lin Junhua - Original Message - From: "Robert Story" <[EMAIL PROTECTED]> To: "Lin Junhua" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 17, 2005 2:03 PM Subject: Re: hello .about threshold of net-snmp > On Thu, 10 Mar 2005 16:23:21 +0900

Re: Does netsnmp support "set row"

2005-03-17 Thread Richard Sun
Robert, Thanks for the helpfull info. -Richard --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http

Re: subagent built with agentx size is increased more 10 times

2005-03-17 Thread Srinivas Athuluru (ATG)
I have an existing daemon. I added agentx support to make it a subagent. heres some parts of the code. /*/ init_agent(mydaemon); init_snmp(mydaemon); run() { snmp_select_info(); } select_pop() { snmp_read(); } /***/ This changed my daemo

Re: subagent built with agentx size is increased more 10 times

2005-03-17 Thread Robert Story
On Wed, 16 Mar 2005 14:24:25 -0800 (PST) Srinivas wrote: SA>I am building a subagent using agentx. The 'size SA> -t mydaemon' is showing a change of text size from 60k SA> to 900k What do you mean, a change? What did you do that resulted in the text size? SA> is there a better way to mak

Re: odd return oids

2005-03-17 Thread Michael P. Soulier
On 16/03/05 Robert Story did say: > As I mentioned in IRC, variable length indexes (strings and oids) are > automatically prefixed with a legnth. If the index is defined as IMPLIED in > the MIB, you can get rid of the length. If it isn't defined as IMPLIED in > the MIB, then the length has to be t