who is freeing *my_data_context

2006-02-17 Thread Li Juen Hwang
Hi, i built a set of table access routines by mib2c with mib2c.iterate_access.conf. My table was malloc'd and the data was handed to *my_data_context in _get_first[next]_data_point(). I wonder who is freeing the data pointed by *my_data_context? I ask because i don't want

Max number of table entries

2006-02-17 Thread Li Juen Hwang
Hi, i have a table containing 500 entries with 5 columns. (My snmp agent is running on Linux BlueCat.) When i used snmptable to retrieve it, i can only get 256 entries and the top entry seems a NULL entry. Is there a limit for the number of table entry and how to increase it? (

Re: ifHCInOctets and Solaris

2006-02-17 Thread Malcolm Townsend
Hi,   I would be very interested in contributing and helping.  I have to admit I do not have much programming experience, however I am willing and wish to invest time to get this to work.     I have a Solaris 9 server where I would like to get this 64 bit counter functionality to work as soon as po

Re: unable to get snmpd running -SOLVED

2006-02-17 Thread H. McManus
On Thursday 16 February 2006 11:41, H. McManus wrote: > I'm trying to start snmpd though and it's not working, and I don't > understand why. Solution is to make sure you *don't* use --enable-reentrant Helen. --- This SF.net email is sponsored

Re: ifHCInOctets and Red Hat

2006-02-17 Thread Thomas Anders
Malcolm Townsend wrote: Q3) Would I have to get rid of the package and then download version 5.3 and perform compile from scratch with a --enable -mfd -rewrites ?? That's the suggested approach, although you should use 5.3.0.1, not 5.3. +Thomas -- Thomas Anders (thomas.anders at blue-cable.

ifHCInOctets and Red Hat

2006-02-17 Thread Malcolm Townsend
Hi, I have a question with regards to Red Hat Enterprise Linux 4 AS Update 2. During initial installation, it asks whether we want to install netsnmp or not. The packages installed are rpm -qa | grep net-snmp net-snmp-5.1.2-11.EL4.6 net-snmp-libs-5.1.2-11.EL4.6 net-snmp-utils-5.1.2-11.EL4.6 I am a

RE: Example of create

2006-02-17 Thread Dave Shield
On Fri, 2006-02-17 at 18:52 +0530, [EMAIL PROTECTED] wrote: > Thanks for replying .I have written the code for create. I am able to > create and get. But I am not able to delete the row . But how are you maintaining the table? The code snippet you included said *NOTHING* about what approach you ar

RE: Example of create

2006-02-17 Thread somenath.pal
Hi Dave, Thanks for replying .I have written the code for create. I am able to create and get. But I am not able to delete the row .I am using netsnmp stack for storage. In create I am dong nothing.   switch (*request->requestvb->val.integer) {     case RS_CREATEANDGO:     snm

Re: Example of create

2006-02-17 Thread Dave Shield
On Fri, 2006-02-17 at 18:29 +0530, [EMAIL PROTECTED] wrote: > Can any one help me by providing an example code for creating and > removing table entry using NET-SNMP API. Have you looked at the code under 'agent/mibgroup' ? There are *plenty* of examples there, using a wide variety of approaches.

Example of create

2006-02-17 Thread somenath.pal
Hi ALL, I am new to this SNMP world. I need to develop agent which implements some private MIBS. Can any one help me by providing an example code for creating and removing table entry using NET-SNMP API.   Thanks, Somenath    

RE: FW: Hello..

2006-02-17 Thread Dave Shield
[ 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 Fri,

Re: FW: Hello..

2006-02-17 Thread Thomas Anders
Dave Shield wrote: On Fri, 2006-02-17 at 16:03 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: I have to run more n number of snmpd on one linux system with different port numbers and I have to run n number of extended agents on tha same linux system. snmpd -x 10705 11161

Re: FW: Hello..

2006-02-17 Thread Dave Shield
On Fri, 2006-02-17 at 16:03 +0530, Ramachandrappa, Nataraju Karidasarahalli wrote: > I have to run more n number of snmpd on one linux system with different > port numbers and I have to run n number of extended agents on tha same > linux system. snmpd -x 10705 11161 snmpd -x 1170

FW: Hello..

2006-02-17 Thread Ramachandrappa, Nataraju Karidasarahalli
-Original Message- From: Ramachandrappa, Nataraju Karidasarahalli Sent: Friday, February 17, 2006 4:00 PM To: '[EMAIL PROTECTED]' Subject: Hello.. Hello All, I am having the following requirement. I have to run more n number of snmpd on one linux system with different port numbers a

Re: Q: on SNMPWALK command

2006-02-17 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > I used to get snmpwalk's output from a Network Element, but it stopped > to responding to my request last night and I can no longer retrieve > information from it but the other 8 i communicate with still send > me the > output. > > I got the snmpwalk output two d

Q: on SNMPWALK command

2006-02-17 Thread cjbodine
> Hi, > > I have a question for the mailer on the usage of the SNMPWALK command. > > is there anything in the code that could cause an intermittent > response or no-response by tying up processes initiated by SMNPwalk? > > I used to get snmpwalk's output from a Network Element, but it stopped >

init_snmp core dumping

2006-02-17 Thread Patil, Suresh (Suresh)
Hi all, I am using the NET-SNMP version: 5.0.9. I have a class PMSNMPFacade. class PMSNMPFacade { PMSNMPFacade::PMSNMPFacade() { init_snmp("snmpd"); } }; The code of where it is getting used is as follows: int main() { foo(); } void foo() { PMSNMPFacade f; } The init_snmp functi

Re: Re: Insert integer bigger than 2**32 into MIB tree

2006-02-17 Thread Dave Shield
On Fri, 2006-02-17 at 01:13 +0800, Joe Shen wrote: > > > > What is the structure of this MIB subtree? > > In particular, what is the definition of the > > object(s) that hold)s( the numeric value? > > Reading the code of that script No - I asked you about the *MIB* definitions. Which MIB objects

Re: exec - need extResult and extOutput

2006-02-17 Thread Dave Shield
On Thu, 2006-02-16 at 12:14 -0500, Kyle Tucker wrote: > > You *do* need the quotes, but they need to reach snmpget, rather > > than being swallowed by the shell. Try: > > > > snmpget ... hostname ... nsExtendOutputFull.\"extt\" > > Curiously, why the quotes in the OID's anyway? This is h