Re: Extending snmp agent: compile extension source and header files faster

2010-10-16 Thread Leo Lin
Thanks! very much,   Leo; --- On Sat, 10/16/10, Dave Shield wrote: From: Dave Shield Subject: Re: Extending snmp agent: compile extension source and header files faster To: "Abraham Varricatt" Cc: "Leo Lin" , "Net-snmp-users" Date: Saturday, October 16, 2010,

Re: Extending snmp agent: compile extension source and header files faster

2010-10-16 Thread Dave Shield
On 16 October 2010 02:20, Abraham Varricatt wrote: > Not to go off-topic, but is there any real need to run "make install" in > this case? If I understood Leo correctly, all he wants to do is check for > syntax/compile errors and THAT should be handled by a simple "make" right? Yes - you are quit

Re: Extending snmp agent: compile extension source and header files faster

2010-10-15 Thread Abraham Varricatt
> > > You should then be able to run "make ; make install" > and it will only re-compile the new module (plus a couple > of other files), rather than the whole thing. > > > Dave > Not to go off-topic, but is there any real need to run "make install" in this case? If I understood Leo correctly, all

Re: Extending snmp agent: compile extension source and header files faster

2010-10-15 Thread Dave Shield
On 15 October 2010 14:10, Leo Lin wrote: > just wondering if there's a way to compile my source and header files > generated by mib2c without having to go through the > >./configure, make, make install process. If you're just wanting to add an extra MIB module to the agent, and you've already

Extending snmp agent: compile extension source and header files faster

2010-10-15 Thread Leo Lin
Hi,   just wondering if there's a way to compile my source and header files generated by mib2c without having to go through the   ./configure, make, make install process.   I don't want to install the extension, but just to see if it can be compile successfully and there's no sintax errors.   fo

Extending snmp agent

2010-10-11 Thread Leo Lin
Hi,   If I have compiled a '.o' file such as utilities.o; how can I specify the ./configure to compile with .o file when making the Make file?  I put the '.o' file in same directory as /net-snmp/agent/mibgroup   Thanks!   Leo; -

Extending SNMP agent using perl script.

2009-12-14 Thread Arun Deleep Menon
Hi All, I'm trying to extend a net-snmp agent on a fedora box. The perl module that I have written for the same, is not running when started from the snmpd.conf file. I tried replacing the script with the perl script provided in the Net-Snmp tutorial wiki, but still couldn't get values for the

Re: extending snmp agent

2006-12-18 Thread Dave Shield
On 16/12/06, payal singla <[EMAIL PROTECTED]> wrote: > I have found two ways to extend snmpagent > 1) by writing MIB and adding corresponding implementation > for different object ids > 2) by execv command in conf file for different oids [I assume you mean "exec" rather than "execv" there]

extending snmp agent

2006-12-16 Thread payal singla
Hi I have found two ways to extend snmpagent 1) by writing MIB and adding corresponding implementation for different object ids 2) by execv command in conf file for different oids Which method is more efficient to use?? Thanks & Regards, Payal Singla

Re: extending snmp agent without c

2006-08-25 Thread John Dunne
That was easy! Thanks Dave Dave Shield wrote: > On 25/08/06, John Dunne <[EMAIL PROTECTED]> wrote: > >> I'm planning on extending the snmp agent by writing modules written in >> C, which will set variables. Since some of these modules are only going >> to call another already written program a

Re: extending snmp agent without c

2006-08-25 Thread Dave Shield
On 25/08/06, John Dunne <[EMAIL PROTECTED]> wrote: > I'm planning on extending the snmp agent by writing modules written in > C, which will set variables. Since some of these modules are only going > to call another already written program and pass the variable onto it, > is it possible to write su

extending snmp agent without c

2006-08-25 Thread John Dunne
Hey to all, I'm planning on extending the snmp agent by writing modules written in C, which will set variables. Since some of these modules are only going to call another already written program and pass the variable onto it, is it possible to write such modules in perl or another script that will