RE: AgentX development on Windows

2006-09-07 Thread Jaya Joseph -X (jajosep - Infosys at Cisco)
Pls help…   From: Jaya Joseph -X (jajosep - Infosys at Cisco) Sent: Wednesday, September 06, 2006 4:09 PM To: 'net-snmp-users@lists.sourceforge.net'; 'net-snmp-coders@lists.sourceforge.net' Subject: AgentX development on Windows   Hi All,  I am trying to create the subagent

Re: Tutorial on writing MIBs

2006-09-07 Thread Subrahmanya Hegde
Please refer my comments inline   SubraSebastian Bello <[EMAIL PROTECTED]> wrote:Hi,does anybody know of a tutorial for writing MIBS?I'm looking for some doc to answer these questions:1- can I have TRAPs and NOTIFICATIONs in the same MIB?   [Subra] NO. I think compiler gives warning/error.

Re: about set-processing

2006-09-07 Thread Dave Shield
On 07/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > are there any explaination about what each state means in the set-processing > state diagram? See section 8 of AGENT.txt, under "Actions". This is describing the v4 UCD module API, but the processing is the same for v5. The MfD framework uses a

Reg : snmpget error "No such instance currently exists at this oid"

2006-09-07 Thread Ambika Ramiya
Hi all, After modification of mib2c.table_data.conf as per the patch below this email, I have used mib2c.table_data.conf file for ".c & .h" files generation from the MIB file. I have configured net-snmp with these ".c & .h" files and installed successfully. I have placed my Mib file wherever nec

problem in table_container helper functions in NET-SNMP-5.2.2

2006-09-07 Thread Kurapati M-G19456
 Hello  List,   Following code in table_container.c, resets the column number to the first column when a getnext is issued on the second column with no idexes.    if(tblreq->number_indexes == 0) {        row = CONTAINER_FIRST(c);   >> probl

Re: problem in table_container helper functions in NET-SNMP-5.2.2

2006-09-07 Thread Dave Shield
On 07/09/06, Kurapati M-G19456 <[EMAIL PROTECTED]> wrote: > Following code in table_container.c, resets the column number to the first > column when a getnext is issued on the second column with no idexes. > Please help me, whether my understanding is correct or not? No - your understanding is no

Re: Reg : snmpget error "No such instance currently exists at this oid"

2006-09-07 Thread Dave Shield
On 07/09/06, Ambika Ramiya <[EMAIL PROTECTED]> wrote: > But if I execute snmpget for a table element > after snmpd is started, then I get the following error > "No such instance currently available for this oid". How are you populating the table with its initial contents? Dave

sometime no response from snmpd

2006-09-07 Thread Oliver Musco
Hi, I have some Web- and Database-Server to monitor. I use OpenNMS as enterprise grade network management platform, OpenNMS is based on Java and communicate via SNMP to the clients. Sometimes I get no response from some clients - is it possible to wrote a logfile or something like that direclt

Re: sometime no response from snmpd

2006-09-07 Thread Dave Shield
On 07/09/06, Oliver Musco <[EMAIL PROTECTED]> wrote: > Sometimes I get no response from some clients - is it possible to wrote a > logfile or > something like that direclty from the snmpd daemon? $ man snmpd : -L[efos] Specify where logging output should be di

netsnmp_table_helper_add_index lib

2006-09-07 Thread Vlad Shafransky
Hello everybody!!! Can anybody tell me which lib holds implementation of netsnmp_table_helper_add_index function? Thanks in advance , Vlad. This footnote confirms that this email message has been scanned by

RE: netsnmp_table_helper_add_index lib

2006-09-07 Thread Arnaud BODENAN
This is a function helper, so it is in the library libnetsnmphelpers.so. >From: "Vlad Shafransky" <[EMAIL PROTECTED]> >To: "Dave Shield" <[EMAIL PROTECTED]> >CC: net-snmp-users >Subject: netsnmp_table_helper_add_index lib >Date: Thu, 7 Sep 2006 18:07:33 +0200 > >Hello everybody!!! >Can anybody t

help by building a mib module

2006-09-07 Thread Timm Brück
Hi, I am trying to create a small MIB module. I put the module.c and it`s header file module.h into the net-snmp source code directory: /usr/src/net-snmp-5.3.1/agent/mibgroup/ .Afterwards I used the configure script: ./configure --prefix=/usr/src/net-snmp5.3.1/ --with-mib-modules=”module”, built my

net-snmp compilation

2006-09-07 Thread Vlad Shafransky
Hello everybody!! I'm writing some agent application on RHL and using net-snmp-5.3.0.1-1.EL.4. I'm using table witch means that I need handlers etc. I need only snmp table managing and basic operations of snmp (like send trap and receive get command). I want to use SNMP API without dependency on

Re: help by building a mib module

2006-09-07 Thread Dave Shield
On 07/09/06, Timm Brück <[EMAIL PROTECTED]> wrote: > I am trying to create a small MIB moduleEverything went fine until I was > testing the > functionality by running snmpget: snmpget –c public localhost > 1.3.6.1.4.1.8072.2.1.1.0 >The error messages are: > NET-SNMP-MIB::netSnmp.2.1.1.0=No S

Install 5.3.1 binaries on hpux11.00

2006-09-07 Thread [EMAIL PROTECTED]
Hello, I would install net-snmp v5.3.1. on hp-ux 11.00. I not able to make/install the net-snmp v5.3.1 source code, so i have downloaded the net-snmp-5.3.1-HP-UX_B.11.00_9000_712.tar.gz binaries. I have gunzip and untared this package as root in / . So,if i run /usr/local/sbin/snmptrapd -Lo it re

Re: Tutorial on writing MIBs

2006-09-07 Thread Sebastian Bello
Subra, 2- ok, so I just should choose a version? 4- my application is a set of binaries, say bin1, bin2, ..., binN; lets imagine machine mach1 runs bin1 and bin2, and mach2 runs bin1 and bin3; so maybe the solution is to have mib1 for bin1, mib2 for bin2 and so on, and query mach1 for mib1 an

Re: Tutorial on writing MIBs

2006-09-07 Thread Dave Shield
On 07/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote: > 2- ok, so I just should choose a version? If you are writing a MIB, you should use SMIv2 (i.e. NOTIFICATION-TYPE). There is no reason for using SMIv1 any more, unless you are forced to by ancient software. SMIv2 has been defined for over

Re: multiple Sub-agents managing the same table

2006-09-07 Thread Arnaud BODENAN
Would it be possible to use contextName of the registrationHandler (different contextName per application) instead of the range_subid/range_ubound? Arnaud. >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: multiple Sub-agents managing the same t

Re: multiple Sub-agents managing the same table

2006-09-07 Thread Dave Shield
On 07/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > Would it be possible to use contextName of the registrationHandler > (different contextName per application) instead of the > range_subid/range_ubound? Yes. Dave - Usi

ExtUtils::Embed and "make test" fails.

2006-09-07 Thread Daniel Lacey
This all started when I noticed that the configure script cannot find perl_eval_pv. I am using what appears to be the latest ExtUtils::Embed version, ExtUtils-Embed-1.14. When downloading the module with CPAN, the "make test" fails with the same errors as my application build (Net-SNMP with e

Re : Reg : snmpget error "No such instance currently exists at this oid"

2006-09-07 Thread Ambika Ramiya
Hi Dave, Thank you for your response. I have followed one of the following two mechanisms at a time to populate and retrieve table contents. 1. Local to Net-SNMP: Here, arrays are declared for all the tables in .c file. The arrays are initialised at the compile time. When snmpget command is e