Hi Dave

I am  running  it after  making  the  executable one,
Using my own Makefile, providing required library support.

But I have not used snmptrapd.conf file
So can u suggest how to use the config file (if it necessary)

regards
Trupti Sankar

On 1/30/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

Send Net-snmp-coders mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Net-snmp-coders digest..."


Today's Topics:

   1. Re: Help please,  need to access a row column value from
      inside the agent (Dave Shield)
   2. Re: Re: Re: Re: Porting net-snmp to arm platform questions
      (Dave Shield)
   3. Re: Name of the parent node (Dave Shield)
   4. Re: Net-snmp-coders Digest, Vol 8, Issue 54 (Dave Shield)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Jan 2007 16:17:00 +0000
From: "Dave Shield" <[EMAIL PROTECTED]>
Subject: Re: Help please,       need to access a row column value from
        inside the agent
To: "Vinicius Pacheco" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 25/01/07, Vinicius Pacheco <[EMAIL PROTECTED]> wrote:
>    I need help accessing an especific row column value using for that
> a given row.

> I want to be able to, using the row obtained from last line of
> the code, access any given column value.
> Something like:
>      value = row->column[2];

netsnmp_table_data_set_storage *data =
    netsnmp_table_data_set_find_column( row, 2);

The actual value is held in 'data->data' (as a union),
with the type and size being 'data->type' and 'data->data_len'
respectively.

See <net-snmp/agent/table_dataset.h> for details.

Dave



------------------------------

Message: 2
Date: Mon, 29 Jan 2007 16:23:13 +0000
From: "Dave Shield" <[EMAIL PROTECTED]>
Subject: Re: Re: Re: Re: Porting net-snmp to arm platform questions
To: liu.renfeng <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]"
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 25/01/07, liu.renfeng <[EMAIL PROTECTED]> wrote:
> I tried "--with-mibs=mibII "

That's not what I told you to try.

>> Try:
>>
>>      ./configure --enable-mini-agent --with-mib-modules=mibII ....

"--with-mibs" and "--with-mib-modules" are *NOT* the same.

>From that same reply:

>> Note that "--with-mib-modules" controls which MIB modules are
implemented
>> within the agent.  "--with-mibs" just controls which MIB *files*
are loaded by
>> the library (and hence which MIB object names are recognised).

These are two completely different options.

Please try using "--with-mib-modules", as suggested.

Dave



------------------------------

Message: 3
Date: Mon, 29 Jan 2007 16:24:37 +0000
From: "Dave Shield" <[EMAIL PROTECTED]>
Subject: Re: Name of the parent node
To: "Tu, Don" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 25/01/07, Tu, Don <[EMAIL PROTECTED]> wrote:
> What function call can I use to get the name of the parent node?

The parent node of what, exactly?
What structure are you currently working with, that you need to
access the parent of?

Dave



------------------------------

Message: 4
Date: Mon, 29 Jan 2007 16:28:06 +0000
From: "Dave Shield" <[EMAIL PROTECTED]>
Subject: Re: Net-snmp-coders Digest, Vol 8, Issue 54
To: "truptisankar nayak" <[EMAIL PROTECTED]>
Cc: net-snmp-coders <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 29/01/07, truptisankar nayak <[EMAIL PROTECTED]> wrote:
> I have made my own makefile taking
> ..trapd.c, ..log.c, ..auth.c & ..handler.c file
>
> I debugged with gdb
> Its exited going to default case of options.

I'm afraid that is not sufficient information.

How have you configured snmptrapd?  I.e, what is in your snmptrapd.conf?
How are you running snmptrapd?  What is the *exact* command that you use?

What changes have you made to the source code?
What happens if you try using the original source files, untouched?

Dave



------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


End of Net-snmp-coders Digest, Vol 8, Issue 57
**********************************************

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to