Re: transplant netsnmp into embedded device

2013-11-18 Thread Niels Baggesen
embedded device. You did use symlinks for the .so and .so.30 files, right? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Problem using IP_RECVDSTADDR on HPUX.

2013-11-14 Thread Niels Baggesen
available. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- DreamFactory - Open Source REST JSON Services for HTML5

Re: Problem using IP_RECVDSTADDR on HPUX.

2013-11-13 Thread Niels Baggesen
actually works. It would be good if you could confirm whether configure reaches the right conclusion in its current form. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Problem using IP_RECVDSTADDR on HPUX.

2013-11-13 Thread Niels Baggesen
to use this particular format. Have you looked at the current code in git and nightly snapshots? The code does not do anything just based on IP_RECVDSTADDR. It uses a new define, called HAVE_IP_RECVDSTADDR, which configure sets based on running a test program. /Niels -- Niels Baggesen - @home

Re: Hardcoded network Interfaces limit on Solaris

2013-11-13 Thread Niels Baggesen
-- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth

Re: Hardcoded network Interfaces limit on Solaris

2013-11-12 Thread Niels Baggesen
of handling data that overflows the cache size. Btw, what version are you on? With the current versions that cache the individual tables at the mib/data_access layers should mitigate any problems with data that overflaws the cache in kernel_sunos. /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: Problem using IP_RECVDSTADDR on HPUX.

2013-11-12 Thread Niels Baggesen
the current V5-7-patches branch from git (or a nightly tar ball from http://www.net-snmp.org/nightly/tarballs/ The configure checks in this version is much more thorough in determining whether this option is usable. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net

Re: Subagent CPU Spike Timeout

2013-11-12 Thread Niels Baggesen
to this subagent, to see what it is doing? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- DreamFactory - Open Source REST

Re: Trouble with send_v2trap

2013-10-30 Thread Niels Baggesen
commandline. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- Android is increasing in popularity, but the open development platform

Re: net-snmp(cache)

2013-10-28 Thread Niels Baggesen
/ifTable_data_access.h:#define IFTABLE_CACHE_TIMEOUT 15 Bur the is for version 5.4 or older. 5.5 changes this to 3 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: wrong byteorder for port configuration in snmpTargetAddrTable

2013-10-08 Thread Niels Baggesen
. snmpd actually uses the correct port, it is only the address shown in the snmpTargetAddrTable that is wrong. You might try the attached patch, which I hope fixes it without adding new bugs /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing

Re: wrong byteorder for port configuration in snmpTargetAddrTable

2013-10-08 Thread Niels Baggesen
for what they do here. As you probably also know, spare time is a scarce resource, and some times other matters take precedence. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Problems with NET-SNMP Tutorial -- Dynamic Module Creation

2013-09-24 Thread Niels Baggesen
On Mon, Sep 23, 2013 at 01:03:51PM -0300, Juan Bússoli wrote: $ /usr/local/sbin/snmpd -H Segmentation fault It does not happen for me. What version is this? Could you run it under a debugger so you can see where it fails? /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: DISPLAY-HINT b

2013-09-24 Thread Niels Baggesen
-HINT :-( /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- October Webinars: Code for Performance Free Intel webinars

Re: DISPLAY-HINT b

2013-09-24 Thread Niels Baggesen
Den 24-09-2013 08:00, Niels Baggesen skrev: On Mon, Sep 23, 2013 at 10:58:13AM +0100, Mike Moreton wrote: I thought this was meant to be the way of specifying a bit mask, but it just comes out as %b, which isn't a lot of use! Am I doing something wrong? No. It seems that we forgot the 'b

Re: Some major issue with the net snmp

2013-09-19 Thread Niels Baggesen
? It seems to be a problem on the agent side. Have you asked the agent provider? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Problem in snmpget

2013-09-09 Thread Niels Baggesen
it, then the data is there, and your memcpy should copy it alright. Are you trying to process the value using str* functions which will not work when the first byte of the value is a NUL? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight

Re: Segfault during snmpd boot-up

2013-09-04 Thread Niels Baggesen
that is updating the 'object' as such. Could this be a case of stack corruption? Or am I missing something here? Appreciate any help. It sure looks like some memory corruption, but that could have happened anywhere in the agent :-( /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: Help Please

2013-09-03 Thread Niels Baggesen
doesn't know about zfs. The attached patch should learn it about zfs. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming zfs.dif Description: video/dv

Re: Listening to SNMP v3 Traps

2013-09-02 Thread Niels Baggesen
Den 02-09-2013 11:32, Husztig Istvan (ext) skrev: Hello, Yes exactly like snmptrapd :) Which is a program and therefore does it programmatically. So what is your question? /Niels PS: Please respond to the list too for others to join the conversation -- Niels Baggesen - @home - Århus

Re: Listening to SNMP v3 Traps

2013-09-01 Thread Niels Baggesen
Den 29-08-2013 13:29, Husztig Istvan (ext) skrev: I would like to know the following, is there a way to listen programmatically to snmp v3 traps with net-snmp? You mean, like the snmptrapd program does? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net

Re: Help Please

2013-08-29 Thread Niels Baggesen
, why do you need those LD_LIBRARY_PATH variables when running the agent? This is also a bit worrisome. How exactly do you run the configure and make? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Help Please

2013-08-28 Thread Niels Baggesen
cmd; There has been some fixes in the area of the crash. Could you try with the current version from the git repository for V5-7-patches branch? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Help Please

2013-08-22 Thread Niels Baggesen
-- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Introducing Performance Central, a new site from SourceForge and AppDynamics

Re: Help Please

2013-08-22 Thread Niels Baggesen
raise concerns about whether gcc works fully ... Could you try running snmpd with the -Dall option, and post the last couple of hundred lines of output? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W

Re: Help Please

2013-08-21 Thread Niels Baggesen
daemon was dieing by it-self after started it. This error should not make snmpd terminate. You did not get any other messages? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: MIB table data-set

2013-08-19 Thread Niels Baggesen
-- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free

Re: MIB table data-set

2013-08-14 Thread Niels Baggesen
. How exactly did you write the MIB, and what did you put in the snmpd.conf? snmpwalk can't found anything too.. That is not surprising given that the agent could not instantiate the table :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose

Re: [net-snmp:code] 13 new commits to net-snmp Code

2013-07-24 Thread Niels Baggesen
/hr_swrun.c. This file is not used since 5.6. The relevant file would be host/data_access/swrun_procfs_status.c /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: [RfC] Agent MIBs: IPv6

2013-07-11 Thread Niels Baggesen
:00:00:00:00:01 = OID: IP-MIB::ipAddressPrefixOrigin.5.ipv6.fe:80:00:05:00:00:00:00:00:00:00:00:00:00:00:00.64 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: net-snmp fails to create entries with a zero in the OID

2013-07-10 Thread Niels Baggesen
replace the strdup's with memdup's ? /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- See everything from the browser

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread Niels Baggesen
that the error message could have been clearer. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- See everything from

Re: [RfC] Agent MIBs: IPv6

2013-07-08 Thread Niels Baggesen
version you have been using, but you might give the current V5-7-patches branch a try. There has been a lot of improvements of the BSD code. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Hi, Extracting Variable Name

2013-07-03 Thread Niels Baggesen
Alarm1.0 for each item in the list . How do I do this ?. man netsnmp_mib_api Look for snprint_objid /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Cannot find a place in code, where traps are being dumped to stdout

2013-06-28 Thread Niels Baggesen
from MySQL to Oracle /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- This SF.net email is sponsored by Windows

Re: How to write a variable in a text file whenever performs a SNMP set operation?

2013-06-27 Thread Niels Baggesen
the agent correctly? Something surely was wrong as the agent tried to listen on the start address /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Response to snmpwalk

2013-06-21 Thread Niels Baggesen
Den 21-06-2013 11:28, santosh skrev: Can we configure snmpd agent to not provide entire MIB tree for a request coming from snmpwalk command? Have a look at the view and access statements in snmpd.conf /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose

Re: How to take take dump of the MIBs details

2013-06-21 Thread Niels Baggesen
through Net-snmp. If snmpwalk isn't the answer to your question you must provide more details /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: snmp using chroot

2013-06-12 Thread Niels Baggesen
an configuration or something that it will return data of ORIGINAL disk space... Like / , /home. etc etc... What does df report if you run it in your chroot? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: snmptrapd snmptt carriage return line feed inside trap text string

2013-06-04 Thread Niels Baggesen
Den 04-06-2013 13:02, Diego Campoli skrev: So as you can see Hex strings variables are correctly handled. Thank you for your time, I wait you for a feedback :) What would you expect snmptrapd should do about strings with embedded newlines? /Niels -- Niels Baggesen -- @home -- Århus

Net-SNMP and Darwin

2013-05-05 Thread Niels Baggesen
\ --with-security-modules=tsm ksm \ --with-defaults \ --enable-developer \ --with-cflags=-g -Wchar-subscripts \ --enable-silent-libtool /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W

Re: enconuter error when compile snmp

2013-04-22 Thread Niels Baggesen
Den 20-04-2013 05:00, Dengmingfei skrev: mibII/tcpTable.c:604: warning: ISO C90 forbids mixed declarations and code mibII/tcpTable.c:609: error: too many arguments to function 'nl_recv' Which Linux distribution is this? What version og libnl? /Niels -- Niels Baggesen - @home - Århus

Re: How to add a new mib module into the snmpd, but do not use configure's option --with-mib-modules?

2013-04-04 Thread Niels Baggesen
Den 29-03-2013 07:51, xinyilong skrev: So I think the should_init(xxx) does not work correctly. But when I see the initlist, I do not know how to add my mib into this list, so it does not work. That should work. Do you see it if you specify -Dmib_init? /Niels -- Niels Baggesen - @home

Re: snmpnetstat does not show ipv6 addresses, routes, and services

2013-03-02 Thread Niels Baggesen
. For good measure I might also add ipv6RouteTable as a fall back, but I don't have anything that supports that to test. Do you? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: snmpnetstat does not show ipv6 addresses, routes, and services

2013-03-02 Thread Niels Baggesen
looks pauvre ... Unfortunately I do not have access to any darwin systems to test. But as the support is there for FreeBSD, I would expect it to be there for darwin too? But all the same, I hope it will be better under Linux ;-) Certainly ... and the BSD's, Solaris /Niels -- Niels Baggesen

Re: [PATCH 1/2] Rework IP_PKTINFO / IP_RECVDSTADDR detection

2013-02-25 Thread Niels Baggesen
to completing it. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Everyone hates slow websites. So do we. Make your web apps

Re: snmpnetstat does not show ipv6 addresses, routes, and services

2013-02-24 Thread Niels Baggesen
-patches and trunk versions to use the new IP version agnostic tables. So by the time you see 5.7.3 ... /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming

Re: regarding not working OID on ubuntu 12.04

2013-02-12 Thread Niels Baggesen
value? For a desktop machine it would not be that unusual. What do you see in /proc/net/snmp? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Question to Logfile

2013-01-30 Thread Niels Baggesen
to the other options, before the hostname. Secondly, what is it you want to log? You would probably be better off just using shell redirection ... /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: V5-4-patches: some tests of default build under linux fails

2013-01-28 Thread Niels Baggesen
? We started with our project with net-snmp v5.4.2. It was ported to our embedded OS. So up to now, I have to maintain it. For the next project, we will change to the next long term supported branch. I thought it was something like that ... /Niels -- Niels Baggesen - @home - Århus - Denmark

Re: SNMP SUPPORT

2013-01-27 Thread Niels Baggesen
. That sounds right. I dont think any of the OSes that we support have this data available, so we cannot report anything /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: SNMP SUPPORT

2013-01-27 Thread Niels Baggesen
On Mon, Jan 28, 2013 at 09:25:19AM +0800, Shi, Darren wrote: So why we don't report initialized value zero instead of No data available ? Because we then would have to increment it if a failure occurred, and we don't know how to detect that. /Niels -- Niels Baggesen - @home - Århus - Denmark

Re: V5-4-patches: some tests of default build under linux fails

2013-01-27 Thread Niels Baggesen
features? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012

Re: Looking for H file

2013-01-06 Thread Niels Baggesen
this. Any pointers? Look into to local directory And, as it seems you have not run make install you will probably need run it as local/snmpconf -c local/snmpconf.dir for it to find its configuration files. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose

Re: SNMP requested timed out on windows

2013-01-04 Thread Niels Baggesen
Den 04-01-2013 19:29, Suna Sana skrev: I used the linux machine ip address(192.168.1.90) on the mib browser in windows. this ip address is pinging good. What is the IP address of the Windows machine? Is there a firewall in between, or on the Linux host, that blocks SNMP? /Niels -- Niels

Re: Regarding net-snmp trap

2012-12-12 Thread Niels Baggesen
to see the tra/inform in. Now you get three copies of each trap. Thanks for your quick help. You're welcome /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Regarding net-snmp trap

2012-12-11 Thread Niels Baggesen
in there, right? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free

Re: 64 Bit Solaris : New server receive buffer size is smaller than original! server send buffer not valid or not specified

2012-12-11 Thread Niels Baggesen
? Otherwise this is quite normal. Error [SS_SS] 2012-12-11 00:54:24,000 - Could not open SNMP session I dont see any error in the above trace. Where does this message come from? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight

Re: Building netsnmp on Solaris 10 in 64 bit mode,

2012-12-10 Thread Niels Baggesen
-- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely

Re: Slow dskTable caching

2012-11-29 Thread Niels Baggesen
to netsnmp_fsys_arch_load() It seems that the author had something like that in mind :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Coding-Doubt : Wrong number of imports

2012-10-25 Thread Niels Baggesen
definition are silently ignored. Btw, why are you importing DisplayString twice, from to different mibs? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Coding Doubt

2012-10-22 Thread Niels Baggesen
module the defines the object. This is just cheaper to store and compare than the module name /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Addition to README.osX

2012-10-22 Thread Niels Baggesen
=3D112694 What was the exact error message that you got? And could you please try it with the current 5.7.2? /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming

Re: IpIfStatsTable not working

2012-10-08 Thread Niels Baggesen
of implementing ipv4 version of ipIfStatsTable. As far as I know, the kernel does not provide the required counters. You will have to start by fixing the kernel :-( /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: go/no-go of 5.7.2

2012-10-06 Thread Niels Baggesen
for it. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Don't let slow site performance ruin your business. Deploy New Relic APM

Re: ipNetToPhysicalTable compatibility for ipv4

2012-09-27 Thread Niels Baggesen
:00:00:00:ca:60:00:ff:fe:e9:1a:e9 = INTEGER: active(1) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Everyone

Re: err snmpd: IfIndex of an interface changed. Such interfaces will appear multiple times in IF-MIB

2012-09-25 Thread Niels Baggesen
into the details of this part of the code (agent/mibgroup/if-mib/data_access/interfaces.c) that I will suggest a fix for the underlying problem) /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming

Re: How is the order determined in UCD-DISKIO-MIB:diskIOIndex and diskIODevice

2012-09-24 Thread Niels Baggesen
the source from the homepage http://net-snmp.org/download.html or from the git repository http://sourceforge.net/scm/?type=gitgroup_id=12694 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: err snmpd: IfIndex of an interface changed. Such interfaces will appear multiple times in IF-MIB

2012-09-24 Thread Niels Baggesen
are lucky that I saw this message -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Live Security Virtual Conference Exclusive

CFV: Fix for hidden CMSG_xxx macros on AIX

2012-09-12 Thread Niels Baggesen
+++ b/include/net-snmp/library/snmp_transport.h @@ -8,6 +8,10 @@ #define _XPG4_2 #endif +#if defined(aix4) || defined(aix5) || defined(aix6) || defined(aix7) +#define _LINUX_SOURCE_COMPAT +#endif + #include sys/socket.h #ifdef solaris2 /Niels -- Niels Baggesen - @home - Århus

Re: mib2c-system information help

2012-09-06 Thread Niels Baggesen
cannot be sure what the PATH is /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Live Security Virtual Conference

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Niels Baggesen
@@ #define _XPG4_2 #endif +#if defined(aix4) || defined(aix5) || defined(aix6) || defined(aix7) +#define _LINUX_SOURCE_COMPAT +#endif + #include sys/socket.h #ifdef solaris2 Unfortunately people with AIX systems are not that common /Niels -- Niels Baggesen - @home - Århus

Re: Large file support

2012-09-04 Thread Niels Baggesen
HAVE_SYS_PROCFS_H/* XXX - Needs a configure check! */ #ifdef HAVE_SYS_PROCFS_H +#if !defined(_LP64) _FILE_OFFSET_BITS == 64 +# undef _FILE_OFFSET_BITS +# undef _LARGEFILE64_SOURCE +#endif #define _KERNEL /* For psinfo_t */ #include sys/procfs.h #undef _KERNEL /Niels -- Niels Baggesen

Re: CFV: dskAvail and negative values (FreeBSD ufs) (bug 3487953)

2012-09-04 Thread Niels Baggesen
On Tue, Sep 04, 2012 at 10:13:06AM +0200, Thomas Anders wrote: I'd argue for an additional comment in the code similar to the explanation in your mail. Extended version attached /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-03 Thread Niels Baggesen
symbols defined in any of the system include files? What options did you give to confidure? Could you please try the same with the current 5.7.2.rc2 release candidate? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

CFV: segfault in snmpd 5.6.1.1, file at.c on HPUX 11i (bug 3562119)

2012-09-02 Thread Niels Baggesen
Here is the patch from the bug tracker. It makes a lot of sense to me :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming at.dif Description: video/dv

CFV: snmpd 5.6.1.1, memory leak on hpux 11i (all versions) (bug 3560655)

2012-09-02 Thread Niels Baggesen
This seems to be a simple fix for the problem. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming swrun_pstat.dif Description: video/dv

Re: How to Change SNMP Default Port

2012-09-02 Thread Niels Baggesen
Den 31-08-2012 23:58, Trevis Gamble skrev: How would I change the default listening port for snmp? I’ve searched for the answer and have come up with numerous methods. For example, editing the etc/services file. I would use the agentAddress option in snmpd.conf /Niels -- Niels Baggesen

Re: Large file support

2012-09-01 Thread Niels Baggesen
activate the large file compilation environment? Using gcc -m64 works fine for me /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Getting OID syntax type and ASN type

2012-08-29 Thread Niels Baggesen
way, no, but look at what snmptranslate does. The relevant function is print_tree_node in snmplib/mib.c /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: CFV: Add missing process status values (Net/Open-BSD)

2012-08-29 Thread Niels Baggesen
Den 29-08-2012 07:29, Niels Baggesen skrev: Den 29-08-2012 02:13, Wes Hardaker skrev: Niels Baggesen n...@users.sourceforge.net writes: The attached patch completes the conversion of process status for hrSWRunTable with some missing values Can you apply that and I'll publish rc2 tomorrow

Re: CFV: Add missing process status values (Net/Open-BSD)

2012-08-28 Thread Niels Baggesen
Den 29-08-2012 02:13, Wes Hardaker skrev: Niels Baggesen n...@users.sourceforge.net writes: The attached patch completes the conversion of process status for hrSWRunTable with some missing values Can you apply that and I'll publish rc2 tomorrow? Could you please push what you already

Re: CFV: Handle TimeTicks when pretty-printing OID (patch 3560473)

2012-08-28 Thread Niels Baggesen
Den 29-08-2012 01:46, Wes Hardaker skrev: Well, I was just about to add a +1 and apply it... But there is one problem, it's a new feature technically... No, it adds a case that was forgotten in the original implementation. It is a without a doubt a bug fix. /Niels -- Niels Baggesen - @home

CFV: Handle TimeTicks when pretty-printing OID (patch 3560473)

2012-08-27 Thread Niels Baggesen
I would like to have https://sourceforge.net/tracker/?func=detailaid=3560473group_id=12694atid=312694 included before 5.7.2 ships. It seems a safe addition. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: CFV: Return RSS not VSZ for hrSWRunPerfMem

2012-08-23 Thread Niels Baggesen
Den 23-08-2012 19:14, Wes Hardaker skrev: Niels Baggesen n...@users.sourceforge.net writes: The description for hrSWRunPerfMem says that this is the amount of Real Memory used by the process. This patch corrects this for BSD systems +1 if this one question is true: does the new struct

Re: CFV: Fix possible memory overrun in fsys_getfsstats.c

2012-08-21 Thread Niels Baggesen
invented this (mis)feature. But I am willing to live without this micro-optimization - If truncating a string is considered improper, strdup() should be used instead of strncpy() or strlcpy(). This is a fixed size buffer in the struct, and its max size is given by the MIB. /Niels -- Niels

CFV: Fix for hrStorageTable on AIX (bug 3557159)

2012-08-20 Thread Niels Baggesen
The attached patch makes sure that we populate hrStorageTable on AIX. The module in question is only used under AIX. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff --git a/agent/mibgroup

CFV: Add missing process status values (Net/Open-BSD)

2012-08-20 Thread Niels Baggesen
The attached patch completes the conversion of process status for hrSWRunTable with some missing values /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff --git a/agent/mibgroup/host

CFV: Return RSS not VSZ for hrSWRunPerfMem

2012-08-20 Thread Niels Baggesen
The description for hrSWRunPerfMem says that this is the amount of Real Memory used by the process. This patch corrects this for BSD systems /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff

CFV: Fix possible memory overrun in fsys_getfsstats.c

2012-08-20 Thread Niels Baggesen
This fixes a possible memory overrun (see patch 3559417) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff --git a/agent/mibgroup/hardware/fsys/fsys_getfsstats.c b/agent/mibgroup/hardware

CFV: Add pkginfo data for OpenBSD (patch 3559414)

2012-08-20 Thread Niels Baggesen
A rather trivial patch, but useful :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff --git a/agent/mibgroup/host/data_access/swinst.h b/agent/mibgroup/host/data_access/swinst.h index

Re: CFV: Add pkginfo data for OpenBSD (patch 3559414)

2012-08-20 Thread Niels Baggesen
On Sun, Aug 19, 2012 at 11:43:11PM -0700, Garrett Cooper wrote: On Sun, Aug 19, 2012 at 11:42 PM, Garrett Cooper yaneg...@gmail.com wrote: On Sun, Aug 19, 2012 at 11:39 PM, Niels Baggesen n...@users.sourceforge.net wrote: A rather trivial patch, but useful :-) First hunk in the diff

Re: CFV: Fix possible memory overrun in fsys_getfsstats.c

2012-08-20 Thread Niels Baggesen
On Mon, Aug 20, 2012 at 08:56:27AM +, Bart Van Assche wrote: On 08/20/12 06:36, Niels Baggesen wrote: This fixes a possible memory overrun (see patch 3559417) Although I'd prefer that strncpy() to be replaced by strlcpy(): Why? It's a convenience, yes, but it leads to results being

5.7.2.pre3 and BSD

2012-08-06 Thread Niels Baggesen
that there are two separate implementations for klookup, and the one update here is not the one used by the BSDs) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

procTable and regex

2012-08-06 Thread Niels Baggesen
and HP-UX) systems? Couldn't we just as well use the Posix regex that is standard in libc? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: diskIOLA and friends.

2012-07-05 Thread Niels Baggesen
-- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: Net-SNMP Significant Figures

2012-07-05 Thread Niels Baggesen
On Tue, Jul 03, 2012 at 10:33:24AM -0700, Alex Zannos wrote: I am trying to change the format of one of my get methods to get more significant digits. How do I do so? Your question does not make sense. Please be more specific! /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: diskIOLA and friends.

2012-07-05 Thread Niels Baggesen
, nwritten, reads and writes values. Is there anything we can use there to construct the values I'm after? Looking at /usr/include/sys/kstat.h, rtime should be the variable that tells you how long the disk has been busy. /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: CFV: fix bug 3532090 and high-index crashes in hrDeviceDescr

2012-07-03 Thread Niels Baggesen
are getting deleted and recreated.) Luckily the ifTable seems not to be affected, it is only the hrDeviceTable :-) /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming

Re: CFV: fix bug 3532090 and high-index crashes in hrDeviceDescr

2012-07-03 Thread Niels Baggesen
Den 26-06-2012 23:33, Niels Baggesen skrev: Just a confirmation that the current 5.7-patches nightly on the problematic server now survives, returning but please let's fix the compiler warnings: diff --git a/include/net-snmp/data_access/interface.h b/include/net-snmp/data_ac index 6305cfe

<    1   2   3   4   >