Re: Errors using build.bat file

2013-01-14 Thread Chris Paton
t! :D On Thu, Jan 10, 2013 at 7:59 AM, Bart Van Assche wrote: > On 01/08/13 14:20, Chris Paton wrote: > >> I've tried building NetSNMP for Windows 7 to use the .dll in my >> projects, but I had problems running the build.bat file. I ran it with >> the standard settin

Errors using build.bat file

2013-01-09 Thread Chris Paton
tudio 10.0\VC\BIN\nmake.EXE"' : return code '0x2' Stop. There were a lot of warnings about 'benign redefinition of type'. I'm not sure if that's relevant. If anyone can offer any help at all I would GREATLY appreciate it! Thanks! Chris ---

got a Do command in h file

2012-07-02 Thread Chris Cossman
When accessing MIB-II functioning I got this and then I figured out the proper group ID and OIDs for snmpconf VIA OUT to snmpd.conf What is Do the .h file refer to? cs-power-mac-g5:/usr/share/snmp cs$ read -e -d %5%.(000123) -f mib2c.access_functions.conf -bash: syntax error near unexpec

Re: mib2c

2012-03-25 Thread Chris Cossman
SOmetimes it outputs as a txt file over itself hidden in the text, use a code editor to do the rest like XTools and just extract the Raw C Code into a *.c file ... that's it then you can use a header progra like arch_tool to insert it and sed -with-preliminary-linking:on to register to mib2c into s

Re: unable to check out net-snmp from git repository

2012-03-25 Thread Chris Cossman
onymous or admin and such. I find that using macports and xslack together works quite well in this process. --Chris On Sat, Mar 24, 2012 at 6:58 AM, Niels Baggesen wrote: > Den 23-03-2012 05:23, Ravi Kumar skrev: > > I tried to check out net snmp from git but following error is comming. &

Re: persistent data file

2012-02-24 Thread Chris Cossman
set dims I am completely lost! -Hope this helps . . . certkey might handle serials , maybe certd for short. -Chris On Feb 23, 2012, at 12:30 AM, Ravi Kumar wrote: On Feb 23, 2012, at 12:30 AM, Ravi Kumar wrote: > Hi All, > > What is this persistent data file ? what type of informati

Extending and debugging snmpd - Netbeans / Eclipse - MIBs

2010-11-01 Thread Chris King
source zip file like net-snmp-5.5.zip which is what I am currently using. I appreciate that the win32 project is in the zip file - I'm hoping to get a similar thing for Eclipse or Netbeans. thanks in anticipa

MSTP MIB?

2008-09-22 Thread Chris Nelson
Is there such a thing? I'm embarking on an 802.1Q-2005 implementation and can't find any MIB text. Surely MSTP can be monitored and administered via SNMP. I even have an MSTP switch I'm going to test against and snmpwalk doesn't show any MSTP entries I can identify. (I realize that without MIB t

ifSpeed incorrect

2008-07-16 Thread Chris Pawelko
Good morning, I am running a Debian Based Linux for an embedded PC. When I do a query on the interfaces, the ifSpeed comes up as 10 MBps instead of 100 MBps (which it should be). When I add to the snmpd.conf file: ifSpeed.2 1 It changes the ifSpeed value to the correct value. But after a

Re: mteTrigger_run segfault

2008-06-23 Thread Chris Larson
Dave Shield wrote: > 2008/6/12 Chris Larson <[EMAIL PROTECTED]>: > >> On Thu, 2008-06-05 at 20:22 +, Chris Larson wrote: >> >>> I've run into a segmentation fault in net-snmp version 5.4 on our >>> product, when there's a cpuIdle

Re: mteTrigger_run segfault

2008-06-12 Thread Chris Larson
On Thu, 2008-06-05 at 20:22 +, Chris Larson wrote: > I've run into a segmentation fault in net-snmp version 5.4 on our > product, when there's a cpuIdle > or < alert set up in snmpd.conf. No mteTrigger_run experts that had a brilliant insight into this? :)

Re: mteTrigger_run segfault

2008-06-09 Thread Chris Larson
On Mon, 2008-06-09 at 10:14 -0700, Chris Larson wrote: > On Thu, 2008-06-05 at 22:51 +0200, Thomas Anders wrote: > > Chris Larson wrote: > > > I've run into a segmentation fault in net-snmp version 5.4 on our > > > product, when there's a cpuIdle > or <

Re: mteTrigger_run segfault

2008-06-09 Thread Chris Larson
On Thu, 2008-06-05 at 22:51 +0200, Thomas Anders wrote: > Chris Larson wrote: > > I've run into a segmentation fault in net-snmp version 5.4 on our > > product, when there's a cpuIdle > or < alert set up in snmpd.conf. > > Would it be possible for you to try

Re: mteTrigger_run segfault

2008-06-05 Thread Chris Larson
On Thu, 2008-06-05 at 20:22 +, Chris Larson wrote: > I've run into a segmentation fault in net-snmp version 5.4 on our > product, when there's a cpuIdle > or < alert set up in snmpd.conf. > > The segfault is in snmp_oid_compare, called on line 281 of > agent/mib

mteTrigger_run segfault

2008-06-05 Thread Chris Larson
could cause this, I'd appreciate it greatly :) I've been perusing mteTrigger_run looking for problems surrounding the calls to snmp_free_varbind, but haven't spotted anything just yet. -- Chris Larson Dedicated Engineer Montavista

UCD MIB Clarification

2008-06-05 Thread Chris Freeman
stros (net-snmp-5.1.2 on up), and I'm not getting a feel for what the data means. The numbers always go up, it seems, so a dynamic usage of the CPU sections (User, System, Nice, Idle) doesn't seem correct

missing memBuffer id in FreeBSD on snmp v5.4

2008-04-28 Thread Chris
. sysctl vfs.bufspace example result in bytes vfs.bufspace: 117211136 Can this please be implemented on a new version? Thanks Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this y

Thread-safe patch for Perl SNMP XS glue

2008-04-15 Thread Chris Coyle
Greetings All, This started when I needed to (with relative swiftness) whip up a threaded snmp poller using getbulk operations to pull interface stats off a large number of devices. And while I'm toying with the idea of porting it to C, I suspect there may be some desire in the community for thre

Re: trapping to IPv6

2007-10-05 Thread Chris Abbey
Magnus Fromreide wrote: > Could you please try again using net-snmp r16714 or higher and tell if > that is how you wanted it to work? I'll be on holiday the first half of next week, but will attempt to try that out as soon as I get back. Looking at the code in that commit, I think this will w

Re: trapping to IPv6

2007-09-28 Thread Chris Abbey
Wes Hardaker wrote: >> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: > MF> Could you please elaborate? What do you think is missing? > > Nope, my initial guess and memory was that it should work and Magnus is > right, it does indeed work: > > # ./snmptrapd -f -Le --disableauthorization

Open source markets (was: INFORM Request)

2007-09-23 Thread chris jalbert
recommend them. Remember: just because it's open source doesn't mean a market hasn't built up around it… --chris net-snmp-owners at group.apple.com - This SF.net email is sponsored by: Microsoft Defy all challeng

trapping to IPv6

2007-09-19 Thread Chris Abbey
Just curious if anyone has started to look at or think about making snmptrap and snmptrapd IPv6 aware? If not I'll be starting looking at it shortly, just didn't want to duplicate effort. -- 6OB/7T -=- LTC Embedded Linux -=- Customer Architect and Cat Herder The value of Open Standards is on

[PATCH] buffer overflow in sprintf for udp over ipv6

2007-08-17 Thread Chris Abbey
Simple counting bug, caught by glibc's overflow detection. We originally stumbled over this in 5.3.0.1, where I tested this fix, but the forward port to svn head was trivial, so I've not retested there. INET^_ADDRSTRLEN is only long enough for the address itself, the rest of the string needs to

Is peername in snmp_session leaking?

2007-05-31 Thread Chris Tojza
ername. if (_peernameP != NULL) free(_peernameP); - snmp_sess_close should have deleted peername. What do you think? Thank you Chris Choose the right car based on your needs.

uninitialised bytes in snmp_sess_async_send ?

2007-05-31 Thread Chris Tojza
by 0x46DC21F: snmp_sess_send (snmp_api.c:4673) ==14039==by 0x46B59F5: snmp_sess_synch_response (snmp_client.c:1073) ==14039==by 0x436F1BA: SnmpMgr::get(std::string const&, std::map, std::allocator > >&) (SnmpMgr.C:357) .

Re: Reporting sys/swap.h present but cannot be compiled

2007-04-10 Thread Chris Black
Thomas Anders wrote: > Chris Black wrote: > >> Thomas Anders wrote: >> >>> Chris Black wrote: >>> >>>> I am compiling net-snmp on OpenBSD-4.0 on an amd64 arch (running in >>>> 64-bit mode) from ports with the openbs

Re: Reporting sys/swap.h present but cannot be compiled

2007-04-10 Thread Chris Black
Thomas Anders wrote: > Chris Black wrote: > >> I am compiling net-snmp on OpenBSD-4.0 on an amd64 arch (running in >> 64-bit mode) from ports with the openbsd MIBs patch >> (http://www.packetmischief.ca/openbsd/snmp/) applied. During autoconf I >> got the fo

Reporting sys/swap.h present but cannot be compiled

2007-04-08 Thread Chris Black
looking for any help as everything seems to be working fine. Best, Chris autoconf pastage below: checking sys/swap.h presence... yes configure: WARNING: sys/swap.h: present but cannot be compiled configure: WARNING: sys/swap.h: check for missing prerequisite headers? configure: WARNING: sys

Does the project have an AgentX test harness?

2007-02-09 Thread chris jalbert
ure and test an AgentX scenario enough for us to consider it functional if it completed successfully? If not, I would appreciate any suggestions for a test configuration we may use. Thanks, --chris net-snmp-owners at

Re: Problem with dynamic ppp interface

2007-01-31 Thread Chris
Hi, in fact the problem for me is more the fact that snmpd remembers all the old instances of the interface in a "down" state. This basically makes MRTG unable to monitor a dynamic ppp interface since it doesn't know which one to pick among so many of them :-) linux:~>snmpwalk -v 2c -c public lo

Problem with dynamic ppp interface

2007-01-31 Thread Chris
Hi there again, sorry to insist, don't want to be a drag, but does anybody has an idea about what's going on here ? linux:~>snmpwalk -v 2c -c public localhost IF-MIB::ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: sit0 IF-MIB::ifDescr.8 = STRIN

What are memBuffer and memCache?

2007-01-30 Thread chris jalbert
(For example, does this represent available L2 cache?) It's OK if it really doesn't make sense for a general purpose computer… --chris net-snmp-owners at group.apple.com - Take Surveys. Earn Cash. Influence the

[repost] Old instances of ppp interface not cleared

2007-01-29 Thread Chris
Hi there, I posted this message a few days ago on the users list but had no answer, so I thought it may be worth it posting it here. This looks like a bug in net-snmp-5.3-4.2, what do you think ? Here's the initial message : I'm trying to use MRTG to monitor a dynamic adsl ppp connexion on a Fe

Re: rfc: library layering

2007-01-24 Thread chris jalbert
For example, libpoll and libpthread now point to libSystem. Why not do the same here? Most linkers would ignore or at least see nothing useful in the symlink library. --chris net-snmp-owners at group.apple.com -

Re: 5.4 Sources & OS X 10.4

2007-01-19 Thread chris jalbert
y available within Apple or by copying them out of the Darwin kernel source tree. --chris net-snmp-owners at group.apple.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pane

Re: rfv: add missing manual pages

2006-11-16 Thread chris jalbert
On 15-Nov-2006, at 4:23 PM, Thomas Anders wrote: Attached please find the proposed patch to properly add these manual pages to our build process, thereby fixing bug 1577913 raised by Apple. I'm calling for votes to include this in 5.4. Yay! Thanks! --chris net-snmp-owne

Re: RFV: man page alias creation patch

2006-11-10 Thread Chris Jalbert
ion of "make" (including subsequent "make" after nochanges or "make test" or whatever) which sucks. Can we fix this forrc2, please?When considering this for rc3, please consider this patch which uses the correct man page (snmp_trap_api instead of snmp_trap) in the .so s

Re: RFV: man page alias creation patch

2006-10-30 Thread chris jalbert
On 26-Oct-2006, at 4:27 PM, Wes Hardaker wrote:The patch below fixes the problem stated in patch #1578339 but in adifferent way (IE, the way we've been doing it in the past).  But nowrather than creating a zillion .so files in CVS, the makefilegenerates them and cleans them up...  A bit more effici

Re: rfv: OS X udpTable fix

2006-10-30 Thread chris jalbert
On 25-Oct-2006, at 2:56 PM, Robert Story wrote:On Wed, 25 Oct 2006 16:57:45 -0400 chris wrote: CJ> On 20-Oct-2006, at 5:04 PM, Thomas Anders wrote: CJ>  CJ> > Robert Story wrote: CJ> >> Darwin 8 & 9 don't include the freeBSD or generic system header,   CJ>

Re: rfv: OS X udpTable fix

2006-10-25 Thread chris jalbert
On 20-Oct-2006, at 5:04 PM, Thomas Anders wrote:Robert Story wrote: Darwin 8 & 9 don't include the freeBSD or generic system header, and thus end up with no INP_NEXT_SYMBOL header. This simple patch adds the symbol to the darwin 8 & 9 headers. +1, as already said on IRC. My compilations did not re

Re: 5.4 Open Issues (Mac OS X / Darwin)

2006-10-19 Thread chris jalbert
As I informed Wes a little while ago, I'm about to get onto a plane for a wilderness trip that will leave me without access. As a result, I won't have time to run the tests or do additional debugging until I return at the end of the month.See the message I posted on 17-Oct for addition informationO

Re: cvs main build problems on OS X 10.3.x

2006-10-19 Thread chris jalbert
On 19-Oct-2006, at 3:57 PM, Robert Story wrote:The new hardware cpu code fails to build on my OS X box (darwin7). hardware/cpu/cpu_nlist.c:17:25: vm/vm_param.h: No such file or directory hardware/cpu/cpu_nlist.c:18:26: vm/vm_extern.h: No such file or directory There is a , but I couldn't find a v

Re: 5.4 Open Issues (Darwin / OS X)

2006-10-17 Thread chris jalbert
On 17-Oct-2006, at 11:09 AM, chris jalbert wrote:Here are my work priorities for Net-SNMP on OS X: • Finalize Darwin 8 and 9 patchesPosted. • Test building embedded PerlPerl and embedded Perl both build. I do not know how to test them once installed. • Get CPU and memory stats workingA bunch of

Re: 5.4 Open Issues

2006-10-17 Thread chris jalbert
? I'm in the process of fixing IPv6multi-platform support for the upcoming 5.4 release and therelease cycle will start soon.I have not yet enabled IPv6 because even when I got it to compile, it did not return useful data.On 17-Oct-2006, at 5:03 AM, Dave Shield wrote:On 17/10/06, chris jalbe

Re: 5.4 Open Issues

2006-10-17 Thread chris jalbert
On 10-Oct-2006, at 12:19 PM, Dave Shield wrote:On 10/10/06, Dave Shield <[EMAIL PROTECTED]> wrote: I offer the following list - complete with comments and strawmanproposals - for the purpose of stimulating debate: Argghh.I knew there was another issue I wanted to add:11)  Darwin build            Th

Re: 5.4 Open Issues

2006-10-12 Thread chris jalbert
On 12-Oct-2006, at 2:58 AM, Dave Shield wrote:On 11/10/06, chris jalbert <[EMAIL PROTECTED]> wrote:  I'll post these patches shortly; I haven't yet because I was still  fighting with some of the build issues and I have to break them up. Patches posted. OK - now applied to the CVS

Re: 5.4 Open Issues

2006-10-11 Thread chris jalbert
On 11-Oct-2006, at 10:04 AM, chris jalbert wrote:On 10-Oct-2006, at 4:00 PM, Thomas Anders wrote:Dave Shield wrote:On 10/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote:1) OpenBSD4 headersHuh? We neither have openbsd3.h nor openbsd4.h, but just openbsd.h.OK - in that case, I don't und

Re: 5.4 Open Issues

2006-10-11 Thread chris jalbert
On 10-Oct-2006, at 4:00 PM, Thomas Anders wrote:Dave Shield wrote: On 10/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote: 1) OpenBSD4 headers Huh? We neither have openbsd3.h nor openbsd4.h, but just openbsd.h. OK - in that case, I don't understand the comment   "openbsd4 uses openbsd.h, and thus a

Re: 5.4 Open Issues

2006-10-11 Thread chris jalbert
On 10-Oct-2006, at 12:19 PM, Dave Shield wrote:On 10/10/06, Dave Shield <[EMAIL PROTECTED]> wrote: I offer the following list - complete with comments and strawman proposals - for the purpose of stimulating debate: Argghh. I knew there was another issue I wanted to add: 11)  Darwin build        

Fwd: [ net-snmp-Patches-1566777 ] Patch for memory_darwin.c

2006-09-27 Thread chris jalbert
Thomas was working on this but his proposed patch did not work. This one does.--chrisBegin forwarded message:From: "SourceForge.net" <[EMAIL PROTECTED]>Date: 27 September 2006 8:19:55 PM PDTTo: [EMAIL PROTECTED]Subject: [ net-snmp-Patches-1566777 ] Patch for memory_darwin.c Patches item #1566777, w

Updating the OS X readme

2006-09-27 Thread chris jalbert
Would someone with access please update README.osX? Here is what I use to build on 10.4.7 (Universal) and Leopard:                        --with-mib-modules="host ucd-snmp/diskio" \                        --with-out-mib-modules="mibII/icmp host/hr_swrun" \                        --disable-embedded-

Re: net-snmp on Mac OSX

2006-07-16 Thread chris jalbert
On Jul 14, 2006, at 8:36 PM, Thu N. Nguyen wrote:Thanks for your reply. btw, I got 5.3.1.rc4 build ok with the following flags: configured by ./configure, generated by GNU Autoconf 2.59, --with-ldflags=-flat_namespace --with-out-mib-modules=mibII/icmpWe use different options when building the "Ap

Re: 5.3.1 released. mostly.

2006-07-14 Thread chris jalbert
On Jul 14, 2006, at 8:19 AM, Wes Hardaker wrote:I've published 5.3.1 and will make a formal announcement to the -announce list a bit later.  The one issue with it is that I blew the generation of the NEWS file.  There is now a new NEWS file in CVS in the 5.3 branch, but it's not what's in the tar b

Re: net-snmp on Mac OSX

2006-07-14 Thread chris jalbert
On Jul 13, 2006, at 2:31 PM, Thu N. Nguyen wrote:anyone has any idea why CPU stats won't work in Tiger: snmpwalk -v 1 -c public localhost enterprises.ucdavis.systemStats UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1 UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 UC

Re: Patches for Darwin / OS X build issues

2006-07-14 Thread chris jalbert
On Jul 13, 2006, at 10:23 AM, Wes Hardaker wrote:On Mon, 10 Jul 2006 18:47:58 -0700, chris jalbert <[EMAIL PROTECTED]> said: chris> Hey there. My team is now responsible for maintaining Net-SNMP chris> here at Apple. While trying to port 5.3.0.1 to OS X, I have chris> encountered

Patches for Darwin / OS X build issues

2006-07-10 Thread chris jalbert
Hey there. My team is now responsible for maintaining Net-SNMP here at Apple. While trying to port 5.3.0.1 to OS X, I have encountered some minor code problems. I have posted 5 patches (so far) to sourceforge to address the compilation issues I was experiencing.I have a couple of other patches, but

Re: How to import a new MIB

2006-06-01 Thread Chris Zimmermann
Are there any alternative MIB compilers for netsnmp, that can operate on an entire MIB and generate all the necessary C code and stubs? On Jun 1, 2006, at 1:16 PM, Chris Zimmermann wrote: > I'm sure I'm not the first poster on this subject, but... > > On Fedora Core4,

How to import a new MIB

2006-06-01 Thread Chris Zimmermann
rl-modules make make test make install What I need to do is import a new MIB into netsnmp v5.3.0.1. mib2c seems like it would be helpful, but what I really want to do is to import the entire MIB, not individual objects. Are there any recommendations on the best way to do this? Thanks, C

Re: sub tables in MIB

2005-11-21 Thread Chris Fowler
"Value of sensor attached to channel." ::= { opsSrenaSensorChannelEntry 4 } On Mon, 2005-11-21 at 10:35 -0800, David T. Perkins wrote: > HI, > > Sorry, I wasn't clear in what I was suggesting. > > I should have said, "why don't yo

Re: sub tables in MIB

2005-11-21 Thread Chris Fowler
py of the relevant definitions. > > Regards, > /david t. perkins > > On Mon, 21 Nov 2005, Chris Fowler wrote: > > > Thanks Rob and Dave. This clears it up nicely. > > > > I'll have to create 3 tables then and have variables pointing to the > > index

Re: sub tables in MIB

2005-11-21 Thread Chris Fowler
Thanks Rob and Dave. This clears it up nicely. I'll have to create 3 tables then and have variables pointing to the indexes of the tables they belong to. sensors channels sensor id -> sensors alarms channel id -> channels On Mon, 2005-11-21 at 16:48 +, Dave Shield wrote: > On Mon,

Re: sub tables in MIB

2005-11-21 Thread Chris Fowler
On Mon, 2005-11-21 at 09:59 +, Dave Shield wrote: > SNMP doesn't support "sub tables" - or at least not directly. > That is what confuses me. To me the SNMP tree is a tree with braches. My Enterprise OID is one such branch and it has braches (tables). So I just assumed that the branches in

sub tables in MIB

2005-11-20 Thread Chris Fowler
I'm adding some more objects to my agent and this is the first time where I will have child tables. My data looks like this ... I've shown it in XML so hopefully that details best what it looks like. So far I've got the first items complete and in the snmp

Re: Porting to real-time / embedded systems

2005-08-17 Thread Chris Johns
buffers and a C++ application. I generated the configure header file for Linux and then hacked it for RTEMS. And last question (at least for now), where can I find more comprehensive documentation of the code? Thank you very much. Michael. -- Chris Johns