how to decrease the size of net-snmp lib

2011-07-20 Thread kumar undurthi
I am using an embedded-linux and, as I needed a SNMP client on it, I have configured and built a snmp-library based on net-snmp package downloaded from www.net-snmp.org. Please, I would like some help on how to configure the net-snmp in order to get a smaller library, as for the moment the size of

strange problem with "table_data" approch , Unable to update the data of "first value of a row"

2009-01-22 Thread kumar undurthi
Hi All, First of all Thanks for Ur help and effort. I have implemented a sub-agent and able to register with Agent and used "mib2c.table_data.conf" and "netsnmp_inject_handler_before(reg,netsnmp_cache_handler_get(cache), "ExampleTable")" to update the table every 20sec.

Re: I have implemted a Vacm table and register to my Subagent(agentx)::Implemented a snmpcommunity-Table and snmptargetTable butAgentis taking snmpcommunity string form snmpd.conf

2008-10-08 Thread kumar undurthi
Hi Mike Ayers, Thank's for response. My requirement is , I have to create a rows in SNMP-COMMUNITY-MIB::snmpCommunityTable, SNMP-COMMUNITY-MIB::snmpTargetAddrExtTable, SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable, SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable, SNMP-VIEW-BASED-

How to remove the default implementation of system related , i.e sysDesc, system

2008-10-04 Thread kumar undurthi
Hi All, I am trying to remove the system default implementation in net-snmp and I want to implement my own system related info in Sub-AgentX. So for that I tried snmpd -I -sysDescr,system,sysDescr,snmpMIB (system_mib) --- It is not working, Still the default implementation values are

Re: I have implemted a Vacm table and register to my Subagent(agentx) ::Implemented a snmpcommunity-Table and snmptargetTable but Agentis taking snmpcommunity string form snmpd.conf

2008-10-04 Thread kumar undurthi
responce > snmpwalk -v2c -c private_vlIndia localhost xxx.OID > resutl >result :: TImeout responce > > > On Tue, Sep 23, 2008 at 10:23 AM, Mike Ayers <[EMAIL PROTECTED]>wrote: > >> > From: kumar undurthi [mailto:[EMAIL PROTECTED] >>

Re: I have implemted a Vacm table and register to my Subagent(agentx) ::Implemented a snmpcommunity-Table and snmptargetTable but Agentis taking snmpcommunity string form snmpd.conf

2008-09-23 Thread kumar undurthi
-c private_vlIndia localhost xxx.OID resutl result :: TImeout responce snmpwalk -v2c -c private_vlIndia localhost xxx.OID resutl result :: TImeout responce On Tue, Sep 23, 2008 at 10:23 AM, Mike Ayers <[EMAIL PROTECTED]> wrote: > > From: kumar undurthi

Re: I have implemted a Vacm table and register to my Subagent(agentx) ::Implemented a snmpcommunity-Table and snmptargetTable but Agentis taking snmpcommunity string form snmpd.conf

2008-09-23 Thread kumar undurthi
-c private_vlIndia localhost xxx.OID resutl result :: TImeout responce snmpwalk -v2c -c private_vlIndia localhost xxx.OID resutl result :: TImeout responce On Tue, Sep 23, 2008 at 10:23 AM, Mike Ayers <[EMAIL PROTECTED]> wrote: > > From: kumar undurthi

I have implemted a Vacm table and register to my Subagent(agentx) :: Implemented a snmpcommunity-Table and snmptargetTable but Agent is taking snmpcommunity string form snmpd.conf

2008-09-22 Thread kumar undurthi
is out of the office. (Leigh Williamson) > 2. snmptrap message (Andrea Bencini) > 3. RE: snmptrap message (Arazo Camprecios, Marc) > 4. I have implemted a Vacm table and register to my > Subagent(agentx) ,But Unable to get the Values ? (kumar > u

I have implemted a Vacm table and register to my Subagent(agentx) , But Unable to get the Values ?

2008-09-22 Thread kumar undurthi
Hi All, I have implemted a vacmSecurityToGroupTable, snmpCommunityTable, vacmAccessTable, vacmViewTreeFamilyTable and register to my Subagent(Agentx) and trying to query for the values in those tables. So I am unable to get those values instead I am getting the values in the snmpd.conf (perm

I have more than 100 object but snmpbulkget request result gives less than 100 values

2008-08-21 Thread kumar undurthi
Hi All, I have problem on getting snmpbulkget request result , If I use snmpwalk I am getting more than 100 values where as in snmpbulkget case i am getting max 100 values , more then 100 objects are not giving. eg: snmpbulkget -Cr179 -v2c -Os -c public 192.133.1.186 xxxOID

[no subject]

2008-08-18 Thread kumar undurthi
- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the

while updating the table values using catch handler its giving error::

2008-04-11 Thread kumar undurthi
Hi All, while updating the table values using catch handler its giving error:: error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) actualy what i observed is , while updating the table using catch handler (while loading) it is unable to u

Re: Why the result is showing difference

2008-04-09 Thread kumar undurthi
ithout 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 08/04/2008, kum

Why the result is showing difference

2008-04-04 Thread kumar undurthi
HI All, Is there any Difference between the snmpwalk with OBJ-ID as number(digites) like :: *snmpwalk -v2c -c public 192.168.1.2361.3.6.1.4.1.4491.2.3.1.1 * and the snmpwalk with OBJ-ID as TextForm :: *snmpwalk -v2c -c public 192.168.1.236 OC-STB-HOST-MIB::ocStbHostMibModule* , If not why it i

Re: Regarding Table data Create and Fill

2008-03-17 Thread kumar undurthi
Hi Dave, As u said to generate the code with " mib2c -S cache=1 -c mib2c.table_data.conf ocStbHostAVInterfaceTable " I generated , u can check the code below. 1) while compiling it i faced few errors ,which i modified :: now i able to compile . 2) But now while runing.. i able to ge

Re: Regarding Table data Create and Fill

2008-03-14 Thread kumar undurthi
t: netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHOBJECT); break; } } break; } return SNMP_ERR_NOERROR; } On Wed, Mar 12, 2008 at 6:39 AM, Dave Shield <[EMAIL PROTECTED]> wrote

Re: Regarding Table data Create and Fill

2008-03-12 Thread kumar undurthi
values are dynamic , will come throught a funtion call's ( if possible please give me a fully finished example code for any table ). On Wed, Mar 12, 2008 at 6:39 AM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 11/03/2008, kumar undurthi <[EMAIL PROTECTED]> wrote: > >

Regarding Table data Create and Fill

2008-03-11 Thread kumar undurthi
Hi All, I have a problem in creating a table and Fill the table. i.e Normally table can create in initialization() part and can be fill with the static data. But in My case I want to Create and Fill the table with the dynamic data(values) when ever a request comes to the Agent.( it is p

Need help in runing AgentX with a different socket address

2007-11-14 Thread kumar undurthi
Hi All, I am trying to run Agentx(subagent) with a different socket address , I modify the snmpd.conf by placing " agentxsocket localhost:705 " after "master agentx" and added to the "subagent.c" file to indicate the subagent should use port 705: " netsnmp_ds_set_string(NETSNMP_DS_APPLICATIO

Fheader intact.

2007-11-14 Thread kumar undurthi
f9f18b382fd08a27cc87e23f7175ebf16d424637 -- Forwarded message -- From: kumar undurthi <[EMAIL PROTECTED]> Date: Nov 14, 2007 10:31 PM Subject: Re: confirm f9f18b382fd08a27cc87e23f7175ebf16d424637 To: [EMAIL PROTECTED] On Nov 14, 2007 10:27 PM, <[EMAIL PROTECTE