Re: libnetsnmpagent.so.35: cannot open shared object file: No such file or directory

2024-07-30 Thread Niels Baggesen
inside the /usr/local/lib for the respective libnetsnmpagent.so.35 that link to their respective .so.40 links A very bad idea, than will lead to endless problems. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -

Re: libnetsnmpagent.so.35: cannot open shared object file: No such file or directory

2024-07-30 Thread Niels Baggesen
-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming ___ Net-snmp-coders mailing list Net

Re: Correct way of stopping snmpd

2024-05-21 Thread Niels Baggesen
Den 21-05-2024 kl. 13:34 skrev Niels Baggesen: SIGTERM is not kill -9, it is kill -16. kill -9 is SIGKILL Whoops, minor typo, SIGTERM is 15, not 16. Thanks to jhawk! /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers

Re: Correct way of stopping snmpd

2024-05-21 Thread Niels Baggesen
TERM (kill -9) , SIGINT (ctl+c) are for snmpd shutdown. SIGTERM is not kill -9, it is kill -16. kill -9 is SIGKILL /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- This message has been scanned f

Re: Updating the LM-SENSORS MIB (Issue #752)

2024-03-26 Thread Niels Baggesen
I would prefer that that new object had UNITS "Cel" DISPLAY-HINT "d-3" instead of displaying a milli-value, but that is personal taste. Remember to add a REVISION section to the MIB when you update it. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.

Fwd: SNMPv3 DES issue

2024-01-29 Thread Niels Baggesen
___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- Niels Baggesen -- @home -- Århus -- Denmark --ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- N

Re: Delayed notification when using IP-MIB::ipAddressTable instead of IP-MIB::ipAddressTable

2024-01-15 Thread Niels Baggesen
, change it by snmpset: snmpset host nsCacheTimeout.1.3.6.1.2.1.4.34 = 1 (dont set it to 0, then it will default to 5) /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming

Re: snmptrap v3 authentication

2023-04-25 Thread Niels Baggesen
, so there is no problem interpreting it. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming ___ Net-snmp-coders mailing list Net-snmp-coders

Re: snmptrap v3 authentication

2023-04-25 Thread Niels Baggesen via Net-snmp-coders
-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- Niels Baggesen -- @home -- Århus -- Denmark --n...@users.sourceforge.net The purpose of computing is insight, not numbers -- R W Hamming ___ Net-snmp-coders mailing list Ne

Re: Get interface IPV6 addresses

2020-02-27 Thread Niels Baggesen
Den 27-02-2020 kl. 18:40 skrev Michael Wu: Dear Net-Snmp coders: I am using net-snmp v5.8 with ipv6 enabled. Trying to get interface's ipv6 addresses. I tried a couple of oids but could not figure out how to map the ifindex to the ipv6 address assigned to the interfaces. All interfaces have b

Re: HEX- String instead of Octet - String - incase of inetAddress

2019-12-04 Thread Niels Baggesen via Net-snmp-coders
he CallManager." ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) cisco(9) ciscoMgmt(9) ciscoCcmMIB(156) ciscoCcmMIBObjects(1) ccmGeneralInfo(1) ccmTable(2) ccmEntry(1) ccmName(2) 1 } /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@

Re: MAC Address As Index

2019-09-11 Thread Niels Baggesen via Net-snmp-coders
the way you want? Otherwise show us what you see, and what is wrong with it. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ___ Net-snmp-co

Re: MAC Address As Index

2019-08-21 Thread Niels Baggesen via Net-snmp-coders
ast but one OID 2 is hist_2. Is there a way to > disable prefixing of length? See RFC 2578, clause 7.7. You define your MAC address as an OCTET STRING (SIZE(6)), then there is no need to prefix the length. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.

Re: Set OID value in code

2019-07-30 Thread Niels Baggesen via Net-snmp-coders
ut I need to be able to > set the values in code. man read_objid? Have you looked at the source of the CLI commands for inspiration? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Niels Baggesen via Net-snmp-coders
f-line as well [2]. > > 1. http://demo.snmplabs.com > 2. http://snmplabs.com/snmpsim Well, what is interesting is if the real agent get the real value. It is about debugging the agent running on the physical hardware. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourc

Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Niels Baggesen via Net-snmp-coders
r can the base be set to e.g. MiB instead of KiB in configuration? The currelt 5.8 release (and unreleased 5.7 update) should already contain objects like memTotalRealX which are defined as CounterBasedGauge64 Unfortunately I don't have hardware to test it :-) /Niels -- Niels Baggesen - @ho

Re: Parsing the values returned from snmp_synch_response

2019-05-03 Thread Niels Baggesen via Net-snmp-coders
ne SNMP_ENDOFMIBVIEW(ASN_CONTEXT | ASN_PRIMITIVE | 0x2) /* 82=130 */ /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ___ Net-snmp-coders mailing list Net-snm

Re: SNMP Command

2019-05-01 Thread Niels Baggesen via Net-snmp-coders
snmpget to your hearts desire :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net

Re: Junk in snmpwalk output

2018-10-05 Thread Niels Baggesen via Net-snmp-coders
t IP-MIB, you will get something like IP-MIB::ipNetToPhysicalType.4.ipv6."20:01:04:70:df:9a:00:00:00:00:00:00:00:00:00:01" = INTEGER: dynamic(3) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight,

Re: Junk in snmpwalk output

2018-10-04 Thread Niels Baggesen via Net-snmp-coders
NTEGER: true(1) You should see similar data from IP-MIB in a more readable form. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ___ Net-snmp-code

Re: [PATCH / request for votes] SNMP-TARGET-MIB: Fix snmpTargetAddrTAddress

2018-06-18 Thread Niels Baggesen via Net-snmp-coders
Den 18-06-2018 kl. 19:31 skrev Anders Wallin: +1 but I'm not sure my vote counts, since I was the one reporting the bug +1, and my vote should count :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --

Re: [PATCH, RFC] Add Travis and Appveyor CI support

2018-05-17 Thread Niels Baggesen via Net-snmp-coders
ith Cygwin64. As one can see BVA> in the scripts in the "ci" directory the to-do items are as BVA> follows: Given that this doesn't affect code and CI support is a good thing: +1 Another +1 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The

Re: CFV: complete fix for setting engineBoots/Time via cli

2018-05-17 Thread Niels Baggesen via Net-snmp-coders
fix for agent side (commit 988562514b05a2bc01be4) +1 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Check out the

PATCH at_solaris.c

2018-05-15 Thread Niels Baggesen via Net-snmp-coders
/at_solaris.c +++ b/agent/mibgroup/mibII/data_access/at_solaris.c @@ -19,6 +19,7 @@ #include #include #include "kernel_sunos5.h" +#include "../at.h" typedef struct if_ip { int ifIdx; /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforg

Re: RFC: fix clientaddr for 5.8

2018-05-14 Thread Niels Baggesen via Net-snmp-coders
Den 14-05-2018 kl. 20:05 skrev Robert Story: +1 on both counts (commit it, but use cherry-pick). +1 (and I wouldn't mind the OpenBSD part getting merged too) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not nu

Suggested patch to support NetBSD 8

2018-05-14 Thread Niels Baggesen via Net-snmp-coders
a/agent/mibgroup/mibII/data_access/at_sysctl.c +++ b/agent/mibgroup/mibII/data_access/at_sysctl.c @@ -54,6 +54,8 @@ ARP_Scan_Init(void) mib[4] = NET_RT_FLAGS; #if defined RTF_LLINFO mib[5] = RTF_LLINFO; +#elif defined(RTF_LLDATA) +mib[5] = RTF_LLDATA; #else mib[5] = 0; #endif -

Re: [PATCH for master / request for votes] configure.ac: Fix recently introduced autoreconf warnings

2018-05-07 Thread Niels Baggesen via Net-snmp-coders
AC_USE_SYSTEM_EXTENSIONS instead. This patch fixes all instances of the following autoreconf warnings: +1 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: NET-SNMP version: 5.7.3 and IPv6

2018-01-24 Thread Niels Baggesen via Net-snmp-coders
nfig, and accordingly it does not support community access for IPv6. Are you sure you are running the version compiled with --enable-ipv6? What other config options did you use? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, no

Re: NET-SNMP version: 5.7.3 and IPv6

2018-01-24 Thread Niels Baggesen via Net-snmp-coders
nfig, and accordingly it does not support community access for IPv6. Are you sure you are running the version compiled with --enable-ipv6? What other config options did you use? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, no

Re: [SCM] Net-SNMP branch master updated. v5.7.3-2342-gbe94477

2018-01-11 Thread Niels Baggesen via Net-snmp-coders
Was it intentional that this silently changed our autoconf requirement from 2.68 to 2.69? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers -- R W Hamming -

Re: use of various SET macros in mib2c generated files

2017-05-22 Thread Niels Baggesen
called then the agent shuts down. A relatively simple example of saving and loading can be found for pauthtrapenable in agent/mibgroup/mibII/snmp_mib.c agent/agent_read_config.c agent/agent_trap.c /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- n...@users.sourceforge.net The purpose of

Re: net-snmp-version5.4.1:::Logging option in snmpd.conf

2016-09-12 Thread Niels Baggesen
ng options that Net-SNMP understands. Have you read "man snmpcmd"? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines

2016-09-12 Thread Niels Baggesen
ion keeps the directory in the persistent directory of the program. If the index seems newer than the directory it will be trusted, so this may be the problem you see. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not n

Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines

2016-09-04 Thread Niels Baggesen
e/mibs/DOCS-IF-M-CMTS-MIB/usr/share/mibs/IF-MIB/usr/share/mibs/DOCS-IF-M-CMTS-MIB.../usr/share/mibs/IF-MIB...Only, > why? > > The config files are equal. Woukd you mind posting your snmp.conf and the output from snmptranslate -Dparse-mibs /Niels -- Niels Baggesen - @home - Århu

Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines

2016-08-31 Thread Niels Baggesen
255038/ I dont follow the -users list, and it has been vacation time, sorry ... Have you tried to add -Dparse-mibs to snmptranslate, to learn what files it finds and tries to parse? You don't have any conflicting snmp.conf files? I have never seen such a problem. /Niels -- Niels Bagges

Re: Facing SNMPV3 Build issues

2016-08-31 Thread Niels Baggesen
bindings... no > checking for authentication support... configure: error: Asked to use > OpenSSL but I couldn't find it. Have you looked into config.log for a possible explanation? Are the headers in /usr/local/openssl/include/ and the library in /usr/local/openssl/lib/ /Niels -- Nie

Re: Octet Strings returned from pass persist scripts?

2016-08-29 Thread Niels Baggesen
5-4-patches and up. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- _

Re: SNMP Trap Receiver

2016-07-25 Thread Niels Baggesen
rim the rest of snmptrapd away, and do what ever you want to do inside snmp_input. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -

Re: Regarding ASN1 parser/Compiler

2016-07-18 Thread Niels Baggesen
Den 18-07-2016 kl. 12:36 skrev Pavan Tatavarthi: > Dear members, > > I have a query regarding the ASN1 related module. > Does Net-SNMP use ASN1 compiled code from the Objective Systems ASN1 compiler > ? No, the parsers are handwritten /Niels -- Niels Baggesen -- @home -- Å

Re: SNMP v3 and v2

2016-06-29 Thread Niels Baggesen
a Counter64 object. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Attend Shape: An AT&T Tech Expo July 15-16. Meet

Re: Building Net-Snmp 5.7.3 on QNX650 (x86_64)

2016-04-25 Thread Niels Baggesen
r.c:224: error: invalid operands to binary == (have 'struct > ' and 'int') What kind of OS does this box have? FreeBSD? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforg

Re: Config failing with --with-perl-modules

2016-03-20 Thread Niels Baggesen
st use the MIBDIRS envitronment variable, or the mibdirs parameter in an snmp.conf file. Are you sure that when you started installing your locally compiled version, that you had removed any traces of your distributions net-snmp packages? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@use

Re: Unresolved hostname

2016-03-18 Thread Niels Baggesen
You use the agentaddress parameter to set the IP address and port number. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -

Re: Net SNMP Trap

2016-02-23 Thread Niels Baggesen
tsated system? > SNMPv3 is not implemented. Implemented or compiled in? You need SNMPv3 support in the agent to do that. Then read up on linkUpDownNotifications in snmpd.conf /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insig

Re: error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-23 Thread Niels Baggesen
quot; \ > --without-kmem-usage Any reason you are not using 5.7.3? There were a number of fixes for Darwin in that release. It might even allow you to drop those --with-out-mib-modules options :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.so

Re: API to know MTU size

2015-11-23 Thread Niels Baggesen
Den 04-11-2015 kl. 05:51 skrev AR, Giridhar: > Do we have an API to know the MTU size of an interface of both client > and server? No, and I fail to see what it can be used for. PMTU might make sense, but it is hard to find, and might be varying from patcket to packet, /Niels -- Niels Ba

Re: Patch for CVE-2015-5621 in 5.7.1 code base

2015-08-31 Thread Niels Baggesen
a5defe5187d81fc505d >patch Here is the patch /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming diff --git a/snmplib/snmp_api.c b/snmplib/snmp_api.c index d0a4021..7f746bb 100644 --- a/snmplib/sn

Re: Handling SNMP V1 traps with IPV6 address in agent-addr field

2015-08-05 Thread Niels Baggesen
d of the PDU. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- ___ Net-snmp-co

Re: Integer64 for UCD-SNMP-MIB::Memory

2015-07-13 Thread Niels Baggesen
raising this. I have created a patch for this, and as I do not have the HW to test this, I hope you will test it for me :-) Please see https://sourceforge.net/p/net-snmp/patches/1305/ /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is

Re: SNMPd reports high memory usage by adding buffers+cache

2015-06-15 Thread Niels Baggesen
32 44512 409836 576300 -/+ buffers/cache:21261681709068 Swap: 6078460 2587845819676 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight,

Re: potential socket leak in ipaddress_linux

2015-05-11 Thread Niels Baggesen
et will leak. Thanks for the note! This has now been fixed for the 5.6branch and newer. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers ---

Re: bug report in systemstats_linux.c

2015-05-11 Thread Niels Baggesen
hen Ip6InNoECTPkts is encountered in , it is interpreted as > IpInNoRoutes, which shows up when the agent is walked: Thanks for the note! This has been fixed for the 5.5 branch and newer. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insigh

Re: bug report in route_linux.c

2015-05-11 Thread Niels Baggesen
fgets(line,sizeof(line),in); /* skip header */ > > However, in my version of linux (3.16.0), there is no header line on > this file, so this line discards the first entry in that file. Thanks for the note! This has been for fixed for the 5.5 branch and newer. /Niels -- Niels Bag

Re: Adding ZFS support in host resources mib under Linux

2015-03-20 Thread Niels Baggesen
e current 5.7.3 release altready has this in place. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Dive into the

Re: network interface/address API on FreeBSD

2015-03-04 Thread Niels Baggesen
of ifdefs, that I see in ipv6.c :) ./configure --with-out-mib-modules=mibII/ipv6 should do the trick /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight,

Re: network interface/address API on FreeBSD

2015-03-02 Thread Niels Baggesen
kvm_getargv and kvm_getprocs. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- Dive into the World of Parallel Programming The Go P

Re: net-snmp5.7.3 snmpd agent hangs

2015-03-02 Thread Niels Baggesen
.12.1.3.1.2.0.0 enterprises.5380 is not our code. According to IANA it belons to a company called CDOT. Could you attach a debugger to the agent when it is hung like this and give us a traceback? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of compu

Re: SNMPd crashing at leat once daily

2015-01-05 Thread Niels Baggesen
and if so what arguments did you pass to configure? I see that you run 5.7.1. Could you try with the current 5.7.3 release? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --

Re: string as index of a table

2014-10-16 Thread Niels Baggesen
single quotes in stead of double quotes. See the -OE option to snmpcmd(1) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: Error in MIB

2014-10-14 Thread Niels Baggesen
27; is not allowed in labels (identifiers) in mibs, See the -Pu option in snmpcmd(1) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: Duplicate registration of module

2014-09-08 Thread Niels Baggesen
robably reading your config twice, both as a default, and because you specified it explicitly. Try adding -C to your snmpd invocation (or leave out the -c /snmpd.conf) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of c

Re: A problem about develop new oid

2014-08-19 Thread Niels Baggesen
respect (and save) the length of the string passed in the request (requestvb->val_len). /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: building 5.7.2.1 or 5.6.2.1 on net-bsd gives undefined reference errors for libnetsnmp.so

2014-08-18 Thread Niels Baggesen
ibc, openssl, et c. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- ___ Net-s

Re: net-snmp-5.4.1 Compilation Errors on --disable-mini-agent

2014-07-03 Thread Niels Baggesen
e not doing anything bad to the source? /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- Open source business process manage

Re: Need help loading and traversing MIBs

2014-05-21 Thread Niels Baggesen
from fopen) When I tried it I got almost 120.000 lines of output. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- &qu

Re: Linking with openssl 1.0.1g

2014-05-19 Thread Niels Baggesen
ude files (full path)? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- "Accelerate Dev Cycles with Automated

Re: all connections are refused except SNMP queries

2014-05-06 Thread Niels Baggesen
thread, then you should look at the first 20 or so lines of the main function and notice that it will close any file descriptor available, which will include any socket that you may have already opened. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net T

Re: all connections are refused except SNMP queries

2014-05-05 Thread Niels Baggesen
osing all open file descriptors except std-in/out/err. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- Is your legacy SCM syst

Re: Why snmpd does not response to its requests

2014-05-05 Thread Niels Baggesen
re is my log... Why are you using such an old version? Did you configure access control in snmpd.conf? /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numb

Re: sprint_realloc_hexstring with no line breaks

2014-04-28 Thread Niels Baggesen
orge, but it seems that sourceforge is having problems at the moment :-( /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: sprint_realloc_hexstring with no line breaks

2014-04-26 Thread Niels Baggesen
/ format_hexstring /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Start Your Social Network Today - Download eXo Pl

Re: Building net-snmp for HP-UX

2014-04-22 Thread Niels Baggesen
.1]:51011->[127.0.0.1]:162]; This looks like that bug is fixed. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: Sending snmp traps to a broadcast ip

2014-04-22 Thread Niels Baggesen
.255 "" IF-MIB::linkUp > .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus.1 i 1 This may or may not work. SNMP is not supposed to be used with broadcast /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of compu

Re: Core dump on Sun 5.10 in udpTable.c

2014-04-22 Thread Niels Baggesen
roblems with (too) many entries in various tables on Solaris. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Start

Re: Error in packet. Reason: Unknown Error with snmpwalk

2014-04-22 Thread Niels Baggesen
G: New_York > NETOPTICS-MIB-DIRECTOR::ntpSrvrIpv6.0.0 = STRING: > Error in packet. > Reason: Unknown Error Is the agent you query based on Net-SNMP? What do you see if you run "snmpwalk -d -Ddump -v 2c " /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourcefor

Re: Strategy recommendation

2014-04-22 Thread Niels Baggesen
eneral I would not expect any problems. > Currently I work with the 'standard' version (-5.4.3) of net-snmp under > Debian Wheezy. > > -> Is there a need to upgrade to a newer version (to gain new > functionality or better performance) ? No. /Niels --

Re: Building net-snmp for HP-UX

2014-04-02 Thread Niels Baggesen
On Mon, Mar 31, 2014 at 09:57:44PM +0200, Niels Baggesen wrote: > Den 31-03-2014 08:34, Niels Baggesen skrev: > > On Fri, Mar 28, 2014 at 02:02:08PM +0100, Joel Hansell wrote: > >> No luck there either, I'm afraid. Same old depressing output after > >> repl

Re: Building net-snmp for HP-UX

2014-03-31 Thread Niels Baggesen
Den 31-03-2014 08:34, Niels Baggesen skrev: > On Fri, Mar 28, 2014 at 02:02:08PM +0100, Joel Hansell wrote: >> No luck there either, I'm afraid. Same old depressing output after >> replacing that line and re-compiling. >> (Used host name in the snmpTrapdAddr directive,

Re: Building net-snmp for HP-UX

2014-03-30 Thread Niels Baggesen
it of a long shot :-) It might even be that it does not take that code path ... Could you post the generated net-snmp-config.h, and I will try to give it some more thought tonight. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is ins

Re: Building net-snmp for HP-UX

2014-03-28 Thread Niels Baggesen
snmp_indexed_addr_pair *addr_pair = NULL; struct sockaddr *from; /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbe

Re: Building net-snmp for HP-UX

2014-03-27 Thread Niels Baggesen
ull of warnings and errors, while it detects what is available and what is not on the system. Could you try running snmptrapd with some debugging enabled, so we might get a hint as to where the information is lost? Try adding this to your snmptrapd invocation: -Dsocket,udp,netsnmp,domain,UDP,tra

Re: Building net-snmp for HP-UX

2014-03-26 Thread Niels Baggesen
ding our 5.7.3 pre-release, to see if that helps things? What about compiler warnings while you build. Are you drowning in them? Are there any that might be relevant? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: Problems with async

2014-03-20 Thread Niels Baggesen
t snmp > types)? Given the example below it seems like I'd have to have a case > statement, but is there an easier way? man netsnmp_varbind_api You probably want snprint_variable or snprint_value. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpos

Re: Problems with async

2014-03-19 Thread Niels Baggesen
r *str = malloc(vars->val_len+1); memcpy(str, vars->val.string, vars->val_len); str[vars->val_len] = '\0'; ... /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is ins

Re: Problems with async

2014-03-18 Thread Niels Baggesen
ead to handle them? Have you checked with tcpdump/wireshark that the packets are flowing? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: omsnmp plugging creates authentication problem on SNMP receiver side.

2014-03-14 Thread Niels Baggesen
nd sending host. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Learn Graph Databases - Download FREE O'Reilly

Re: change required in man page for snmptrapd.conf

2014-03-10 Thread Niels Baggesen
he "format execute string" config directive, the default being "format execute %B\n%b\n%V\n%v\n" (but if you change that, you should probably use something else than traptoemail to process it) But there seems to need some docs for the format directive :-( /Niels -- Niels Baggesen

Re: Conflicting definition of ACTION in Net-SNMP and GNU C libraries

2014-03-06 Thread Niels Baggesen
til "subdirs" has finished. Thanks for the note. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Su

Re: Conflicting definition of ACTION in Net-SNMP and GNU C libraries

2014-02-27 Thread Niels Baggesen
a log of the failure? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Flow-based real-time traffic analytics

Re: Hard limit of Open TCP connections

2014-02-19 Thread Niels Baggesen
Den 19-02-2014 14:11, rohith skrev: Thanks Tim for the response . Niels, Do we have a patch specific to this issue ? The attached patch has been applied to all branches from 5.4 and forward. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of

Re: Hard limit of Open TCP connections

2014-02-18 Thread Niels Baggesen
fectively should remove any limits of the mibcache (among many other things). You can find it at http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.3-pre-releases/ /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, no

Re: Creating inetCidrRouteTable row entries

2014-01-27 Thread Niels Baggesen
entry->rt_pfx_len ? htonl((( ((uint32_t)1) << > (32-entry->rt_pfx_len)) - 1) ^ 0xU) : 0; > DEBUGSTR = inet_ntoa(mask.sin_addr); > DEBUGMSGTL(("access:route","mask %s\n", DEBUGSTR)); Thanks for the patch. I did create a function for co

Re: 5.7.2 and 5.7.3.pre1 won't compile on Solaris 10 or 11 on SPARC

2014-01-27 Thread Niels Baggesen
x27; undeclared (first use in this > function) I have just fixed this in the 5-7-patches branch. You can also --enable-ipv6 to make it compile. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.so

Re: hrprocessorload-returns-incorrect-values-for-processor-s-100

2014-01-27 Thread Niels Baggesen
lied it to the active branches, and conside this problem closed. /Nies -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming --

Re: pass extension, parameter passing bug

2014-01-13 Thread Niels Baggesen
mediately. How exactly does your snmpd.conf entry look like, and what doesyour script do? Btw, why do you give /bin/bash explicitly? A #!/bin/bash at the top of your script should suffice /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing

Fwd: Re: Code Merge Request #1: Minor editorial changes to Perl bindings (open)

2014-01-09 Thread Niels Baggesen
t; to it, so it doesn't go unnoticed: If you hadn't sent this warning, we probably wouldn't have noticed either :-) Thanks for the patch, it has been merged. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is in

Re: hrprocessorload-returns-incorrect-values-for-processor-s-100

2014-01-09 Thread Niels Baggesen
sure it gets into 5.7.3 /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/cpu/cpu_linux.c b/agent/mibgroup/hardware/cpu/cpu_linux.c index 8a081cd..b1dc308

Re: 转发:cisco asa 5520 cpu mib

2014-01-09 Thread Niels Baggesen
.9.9.109.1.1.1.1.5.7 = Gauge32: 7 .1.3.6.1.4.1.9.9.109.1.1.1.1.5.8 = Gauge32: 8 .1.3.6.1.4.1.9.9.109.1.1.1.1.5.9 = Gauge32: 9 .1.3.6.1.4.1.9.9.109.1.1.1.1.5.10 = Gauge32: 8 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: Help! Convert OCTET string to READABLE string

2013-12-12 Thread Niels Baggesen
* > *s* "${update}" I would like to see exactly what your "update" string looks like! Also, please run snmpset with the -d option to dump the packets that are sent and received, so we know if this is a snmpset or a snmpd problem. /Niels -- Niels Baggesen - @home - År

Re: Help! Convert OCTET string to READABLE string

2013-12-03 Thread Niels Baggesen
he snmpset command to see the packets crossing the wire. And if still in doubt, post the complete command and the output here. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is ins

  1   2   3   4   5   >