Why cant I run "make" for net-snmp

2010-05-26 Thread Kavita Raghunathan
./configure --with-mib-modules=skyfiber-olu-mib --with-linkcc=g++ --with-libs="/home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/libui.a /home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/libutl.a /usr/lib/libpthread.a" I did a configure, when I try to issue make, it doe

Re: Bad string length

2010-05-26 Thread Chris Fowler
On Wed, 2010-05-26 at 11:40 -0700, Wes Hardaker wrote: > > On Tue, 25 May 2010 09:51:41 -0400, Chris Fowler > > said: > The other possibility (though based on your output I don't think this > applies) is that the MIB itself has a size limit for the variable and > you're exceeding it. How

Re: Perl API for sending traps

2010-05-26 Thread Wes Hardaker
> On Mon, 24 May 2010 16:17:03 +0100, Joao Ferreira gmail > said: JF> I'dd like to know if there is an API accessible from the Perl modules to JF> send a trap to the currently configured trap destinations in snmpd.conf JF> I now this exists in C but I can figure out how to do it from th

Re: need to develop some traps

2010-05-26 Thread Wes Hardaker
> On Mon, 24 May 2010 17:07:47 +0530, gunsnroses said: g> there are a couple of more traps that I would like to write. So, g> I am looking towards how to write a new one if not supported. How do I go g> about those(trap getting generated when our system configuration file g> changes, not size

Re: Bad string length

2010-05-26 Thread Wes Hardaker
> On Tue, 25 May 2010 09:51:41 -0400, Chris Fowler > said: CF> I've simplified the trap and am trying to send it using snmptrap ... CF> iso.3.6.1.4.1.6889.2.8.1.4.6.1.1: Value out of range (Bad string length) CF> I thought an octet string could be from 0-65536 octets in length? Do I CF

RE: v3 informs - snmpd.conf

2010-05-26 Thread Joan Landry
I am only using net-snmp to send traps and informs, the receiver of the traps is a non net-snmp entity - so all of my questions are transmit only related questions. With that I have the following issues I have not been able to resolve or figure out. 1. I am able to send and inform (and see it o

Re: net-snmp win32 compile issues

2010-05-26 Thread Bart Van Assche
On Wed, May 26, 2010 at 9:31 AM, Dave Shield wrote: >[ 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

Re: Querying extended MIB , Permission denied

2010-05-26 Thread Jatin Davey
On 5/26/2010 1:57 PM, Dave Shield wrote: > On 26 May 2010 05:37, Jatin Davey wrote: > >> Ok , I finally figured it out from the CentOS support mailing list. The >> real issues was that SElinux was running in "Enforcing" mode and hence >> external commands were denied execution of scripts local

Re: help

2010-05-26 Thread Dave Shield
On 26 May 2010 00:49, jihed lazid wrote: > but how i can generate the MIB module needed by mib2c than i have just the > MIB files ( xfsGeneral.mib , xfsalm.mib . ) ? The MIB file(s) are exactly what mib2c will use. You don't need anything else. They are used as a design framework, from which

Re: Querying extended MIB , Permission denied

2010-05-26 Thread Dave Shield
On 26 May 2010 05:37, Jatin Davey wrote: > Ok , I finally figured it out from the CentOS support mailing list. The > real issues was that SElinux was running in "Enforcing" mode and hence > external commands were denied execution of scripts locally. Ah! Good catch. I'm not sure this would ever

Re: About NET-SNMP Build using Miscrosoft Visual Studio 2008

2010-05-26 Thread Dave Shield
On 26 May 2010 06:06, wrote: > i am using netsnmp-5.5 in Windows Xp with MSVC 2008. >  2.But building the [snmpdsk] workspace was not success. Two suggestions: a) We have recently released a new version of the 5.4.x code (5.4.3) This is known to compile correctly with MSVC under Wind

Re: net-snmp win32 compile issues

2010-05-26 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 25 M