RE: Can someone help me interpret these snmpd debug messages?

2008-11-10 Thread Wen, Jing
-Original Message- From: Magnus Fromreide [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 1:16 PM To: Wen, Jing Cc: [email protected] Subject: Re: Can someone help me interpret these snmpd debug messages? ons 2008-11-05 klockan 16:06 -0600 skrev Wen, Jing

Re: Can someone help me interpret these snmpd debug messages?

2008-11-10 Thread Magnus Fromreide
ons 2008-11-05 klockan 16:06 -0600 skrev Wen, Jing: > Hello all, > > I'm trying to snmpwalk a simple table, the output shows > MY-MIB:dataTable = No more variables left in this MIB view. > The agent returns these debug messages: > ---

Can someone help me interpret these snmpd debug messages?

2008-11-05 Thread Wen, Jing
Hello all, I'm trying to snmpwalk a simple table, the output shows MY-MIB:dataTable = No more variables left in this MIB view. The agent returns these debug messages: --- NET-SNMP version 5.4.2 handler:calling: main handler bulk_to_next handler:ca

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread partha
Dave : Thank you for your great Idea. It will serve my purpose. Thanks & regards Partha Dave Shield wrote: On Tue, 2005-06-14 at 13:27, partha wrote: Hi Dave, I want the agent to retrieve the information every 60s, whether or not it's actually being requested. Please let me know how can I

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 13:27, partha wrote: > Hi Dave, > > I want the agent to retrieve the information every 60s, > whether or not it's actually being requested. > Please let me know how can I proceed. In which case, I'd suggest reverting to the previous (non-delegated) version of the handler rou

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread partha
Hi Dave, I want the agent to retrieve the information every 60s, whether or not it's actually being requested. Please let me know how can I proceed. Thanks & Regards Partha Dave Shield wrote: On Tue, 2005-06-14 at 06:07, partha wrote: I have one table structure. I want to poll it every

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 06:07, partha wrote: > I have one table structure. I want to poll it every 60 second. OK - let's step back a bit. When you say you want it to "poll every 60 seconds", what do you mean? Do you want the client to request the information from the agent every 60 seconds? Or do

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread partha
Hi Dave, Thank you. with -l option it is redirecting it to a file.. But the debug messages are not coming . I am starting the agent -DNodename -lFilename option. Thanks & Regards Partha Dave Shield wrote: On Tue, 2005-06-14 at 05:39, partha wrote: Can you please tell me where DEBUGM

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 11:36, partha wrote: > For the time being I want to work with the second > index only. (/* index: iwsCpuIndex */) . You can't do that. If you've registered the table as having two indexes, then that's what the iterator helper is expecting. You've got to supply *both* index va

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread partha
Hi Dave, Thanks for your quick reply. For the time being I want to work with the second index only. (/* index: iwsCpuIndex */) . I don't know why it is picking the first index also, which is unwanted. Second thins is that things working fine with a normal iterator helper. But when ever I am

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 06:07, partha wrote: > For you referrence I am attaching the souce code with you . > Please let me know what is wrong Well for a start, you're not providing all the index information. When you register the table, you say it has two indexes: > netsnmp_table_helper_add_

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 05:39, partha wrote: > Can you please tell me where DEBUGMSGTL() function sending > the messages? It's wherever you've requested logging to be sent. For command-line clients, this will default to standard output. For the agent, this will probably be via syslog. But you can

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-13 Thread partha
Hi  I am new to Net-SNMP I am working on one shared library using Net-SNMP to integrate with solaris 10 SMA. I have one table structure. I want to poll it every 60 second. To generate the code I have used mib2c  tool with the option mib2c.iterate.conf.  The generated code is works fine if I 

DEBUGMSGTL - where teh debug messages are going

2005-06-13 Thread partha
I am looking in to Net-snmp related one piece of code. Can you please tell me where DEBUGMSGTL() function sending the messages? If it is going to a file , what is the path and file name. --- This SF.Net email is sponsored by: NEC IT Guy Ga

Re: debug messages

2005-03-28 Thread Robert Story
On Mon, 28 Mar 2005 12:07:57 -0500 Michael wrote: MPS> > Exactly. The string match doesn't have to be exact, so I'd recommend MPS> > reversing the order, like so: MPS> > MPS> > mitelAppTable_table_init MPS> > mitelAppTable_table_action MPS> > mitelAppTable_test MPS> > MPS> > Thus -Dmitel would

Re: debug messages

2005-03-28 Thread Michael P. Soulier
On 28/03/05 Robert Story did say: > Exactly. The string match doesn't have to be exact, so I'd recommend reversing > the order, like so: > > mitelAppTable_table_init > mitelAppTable_table_action > mitelAppTable_test > > Thus -Dmitel would output all three, while -DmitelAppTable

Re: debug messages

2005-03-28 Thread Robert Story
On Mon, 21 Mar 2005 13:39:52 -0500 Michael wrote: MPS> On 18/03/05 Robert Story did say: MPS> > How are you calling DEBUGMSGTL ? MPS> MPS> Like so... MPS> MPS> DEBUGMSGTL(("initialize_table_mitelAppTable", MPS> "initializing mitelAppTable structures\n")); MPS> MPS> So, should

Re: debug messages

2005-03-21 Thread Michael P. Soulier
On 18/03/05 Robert Story did say: > MPS> I've been trying to use DEBUGMSGTL to output debug messages from my > MPS> module, called mitelAppCommon. If I add > MPS> > MPS> -DmitelAppCommon,dlmod > MPS> > MPS> to the snmpd command line, I get dlmod output

Re: debug messages

2005-03-18 Thread Robert Story
On Thu, 17 Mar 2005 21:49:53 -0500 Michael wrote: MPS> I've been trying to use DEBUGMSGTL to output debug messages from my MPS> module, called mitelAppCommon. If I add MPS> MPS> -DmitelAppCommon,dlmod MPS> MPS> to the snmpd command line, I get dlmod output, but nothing fr

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]&g