developing an application to return snmp information

2008-04-29 Thread ntwrkd
I am a bit confused about a few things and I can find no relevant information about how to do something in snmp, and that is get custom data for which a mib doesn't exist. I can create my own MIB, but how does the mib know how to retrieve the information from the application?? Would I have to writ

Re: snmpv3 and authPriv failure vs. timeout

2008-04-29 Thread Mike Harless
I'm finally getting back to this, and wondered if someone else can run a test to see if the problem that I'm seeing is just in my setup/code, or is the way things actually work. What I see, is that if I use net-snmp-5.4.1, and try to use AuthPriv with a snmpv3 user, I'm getting an 'ASN.1 parse e

SNMP Table with two indexes

2008-04-29 Thread Baltazar Francois
Hi all, I've successfully coding a table for an agent with two indexes, when indexes where followed like that : Table |--Index1 |--Index2 |--Column1 |--Column2 But I am having trouble with tables which have indexes not followed like that : Table |--

Re: processing multiple varbinds as a blob

2008-04-29 Thread Wes Hardaker
> On Tue, 29 Apr 2008 10:56:44 -0400, "Bell, Adam" <[EMAIL PROTECTED]> said: AB> The problem I see is that the request->processed flag applied to the AB> loop iteration "request" and each varbaind attached to it, so I can mark AB> the request as processed but it does not directly impact the fo

Re: processing multiple varbinds as a blob

2008-04-29 Thread Wes Hardaker
> On Mon, 28 Apr 2008 08:21:15 -0400, "Bell, Adam" <[EMAIL PROTECTED]> said: AB> The request data structure is all the incoming data given to the AB> processing handler. It seems to be a list of requests, each with AB> different lists of varbinds (although mostly common to each other). It is

Re: net-snmp-config on target....

2008-04-29 Thread Dave Shield
2008/4/29 Amit Kumar <[EMAIL PROTECTED]>: > net-snmp-config use the same --prefix that i used to configure the > net-snmp package ... Yes - because that's where the library expects to find things. > when i made the root-filesystem i kept under some temp. > /temp/rootfilesystem/ direc

Re: net-snmp-config on target....

2008-04-29 Thread Amit Kumar
Thanks Dave     net-snmp-config use the same --prefix that i used to configure the net-snmp package ... when i made the root-filesystem i kept under some temp. /temp/rootfilesystem/ directory and copy only the files under  /temp/rootfilesystem/  like /temp/rootfilesystem/usr/ and /temp

Re: net-snmp-config on target....

2008-04-29 Thread Dave Shield
2008/4/29 Amit Kumar <[EMAIL PROTECTED]>: > we have net-snmp-config script to create the snmpv3 users and user > information (Authentication/Encryption) > get stored in our persistent configuration file (/var/net-snmp/snmpd.conf). > is this script is required in our target or our mib browser

net-snmp-config on target....

2008-04-29 Thread Amit Kumar
Hi All ,    we have net-snmp-config script to create the snmpv3 users and user information (Authentication/Encryption) get stored in our persistent configuration file (/var/net-snmp/snmpd.conf). is this script is required in our target or our mib browser will take care of that based