Re: net-snmp-5.2.1 make fails in cygwin

2005-07-20 Thread Alex Burger
aakansha rajvi wrote: I am trying to configure net-snmp-5.2.1 in cygwin 1.5.18-1. But I am facing problem while installing snmp perl modules both if installed seperately or alone with net-snmp ./configure script. I'm not sure if the Perl modules will compile with ActiveState Perl under Cygwin.

Is there a way to log all snmp get/set from external source?

2005-07-20 Thread Tony Lee
Dear Net-SNMP coder. Is there a way to log all snmp get/set from external source? I like to use this a source data input for regression script to regress the agent code. If we have logging options for time stamp, source IP, oid, type, values, that should be enough for me to generate the regres

Re: Extending the agent with MFD -> cache reload problem

2005-07-20 Thread Jon Neerup Lassen
Hi > JNL> But how do I flush the cache manually? > > Good question. I'll make sure to add an API to do this for the next release. > > If you look in the interface file, at _cache_free and _cache_item_free, you'll > get the basic idea. Go through the container and release any memory you > alloca

Array-User questions

2005-07-20 Thread Dave Shield
Robert, I've been doing a bit more work with the 'array-user' framework, and have got a couple of questions about it, if you have the time (and can remember about this!) The first relates to the return value of the 'delete_row' routine. This is defined as returning a 'netsnmp_index*', whic

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-20 Thread Emi . Yanagi
This is hard-coded just as the piece of code I copy&pasted in my email. Please notice the following error happened before the error message in your email. RMON-MIB::etherStatsDataSource = Wrong Type (should be OBJECT IDENTIFIER): Variable has bad type I attached the head file etherStatsTable.h.

Re: I need an example

2005-07-20 Thread Robert Story
On Wed, 20 Jul 2005 10:38:03 -0400 Juan wrote: JA> I need a one example betwen simpleapp with master agent, can you help me? There are simple examples in the tutorial section of the web site. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are reque

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-20 Thread Robert Story
On Wed, 20 Jul 2005 09:32:59 -0500 [EMAIL PROTECTED] wrote: EYC> I have implemented several subagents for BRIDGE-MIB tables using mib2c and EYC> mib2c.mfd.conf. They all worked well. Now I came across a problem with EYC> RMON-MIB etherStatsTable etherStatsDataSource which is an oid type. If I EYC>

I need an example

2005-07-20 Thread Juan Abarca
I need a one example betwen simpleapp with master agent, can you help me? thanks   _ La informacion contenida en esta transmision es confidencial, y no puede ser usada por otras personas que su(s) destinatario(s). El uso no autorizado de la informacion contenida en

Re: link error for g++ net-snmp

2005-07-20 Thread Deepak Arya
Hi, Thanks for everyone's help. right now i am able to compile my net-snmp stack using g++, had to make inline function to non inline. i am going to use this rstory> If you think INLINE is causing you problems, add -DNETSNMP_NO_INLINE to your CFLAGS and recompile. had to static typecast few varia

RE: Getting system temperatures...

2005-07-20 Thread Bruce Shaw
What platform? (I'm suspecting FreeBSD). Temperatures and fanspeeds work using LM-SENSORS-MIB for linux and Solaris and I'm working on a FreeBSD port. >I'm looking for a means to start logging system temperatures, fanspeeds, etc. >mbmon generates the required data This communication is intend

mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-20 Thread Emi . Yanagi
I have implemented several subagents for BRIDGE-MIB tables using mib2c and mib2c.mfd.conf. They all worked well. Now I came across a problem with RMON-MIB etherStatsTable etherStatsDataSource which is an oid type. If I don't set etherStatsDataSource and let it be the default 0.0, the etherStatsTab

Getting system temperatures...

2005-07-20 Thread Willem Jan Withagen
Hoi, I'm looking for a means to start logging system temperatures, fanspeeds, etc. The way I was going about: mbmon generates the required data access that through 'pass MIBOID mbmon2snmp' But I have a few questions: 1) Is there another easy way to get at system temps, ...

Re: proxy and snmpdx - does it works in solaris 2.8 ?

2005-07-20 Thread mahua dutta
Hi Dave , You are right . It is snmpdx. I thought that is also net-snmp based. Thanks for your help. I will equire it to Sun Microsystem. --- Dave Shield <[EMAIL PROTECTED]> wrote: > On Mon, 2005-07-18 at 04:18 -0700, mahua dutta > wrote: > > is proxy works with snmpdx in solaris 2.8/2.9? > > I h

Re: proxy and snmpdx - does it works in solaris 2.8 ?

2005-07-20 Thread Dave Shield
On Mon, 2005-07-18 at 04:18 -0700, mahua dutta wrote: > is proxy works with snmpdx in solaris 2.8/2.9? > I have edited /etc/snmp/conf/snmpd.conf by providing > proxy -v 1 -c public solo:1611 oidroot. > > The non net-snmp sub agent is running 1611 port. > snmpdx is running in 161,default port. H

Re: no response from snmpget after changing the default port number

2005-07-20 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 Wed,

Re: proxy and snmpdx - does it works in solaris 2.8 ?

2005-07-20 Thread mahua dutta
Hi, I am running the agent with -d 4. But I did not find anything of "ending/receiving packets to solo:1611" I am clueless. Can you conclude sir ? Thanks & regards Mamon --- Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 18 Jul 2005 04:18:15 -0700 (PDT) mahua > wrote: > MD> is proxy works wit

RE: Enterprise Mib configuration

2005-07-20 Thread Dave Shield
On Wed, 2005-07-20 at 09:52 +0200, Le Gall Jean-Patrick (Skysoft ATM) wrote: > I've create new OID in a private MIB. Now I wanted to link this OID > with hardware component. How can I do this. You need to write code to extend the SNMP agent, to implement your new OID. The command 'mib2c' can hel

RE: Enterprise Mib configuration

2005-07-20 Thread Le Gall Jean-Patrick (Skysoft ATM)
Title: Message P lease Help me!     Hi all.   I've got problems with my enterprise MIB configuration.   I've create new OID in a private MIB. Now I wanted to link this OID with hardware component. How can I do this.   I also wanted to auto generate enterprise speci