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

2024-03-26 Thread Niels Baggesen
ld 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.net The pu

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

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
ourceforge.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 Net-snmp-coders@l

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

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

2019-12-04 Thread Niels Baggesen via Net-snmp-coders
llManager." ::= { 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...@users

Re: MAC Address As Index

2019-09-11 Thread Niels Baggesen via Net-snmp-coders
ay 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-22 Thread Niels Baggesen via Net-snmp-coders
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.net The pu

Re: Set OID value in code

2019-07-30 Thread Niels Baggesen via Net-snmp-coders
mple but 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
e 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.sourceforg

Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Niels Baggesen via Net-snmp-coders
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 - @home - Århus

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
) 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-coders mailing list

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 --- R

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 purp

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

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.sourcef

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 numbers

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
ou config, 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
ou config, 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
menthal and reeder method 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 compu

Re: use of various SET macros in mib2c generated files

2017-05-22 Thread Niels Baggesen
to be 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

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

2016-09-12 Thread Niels Baggesen
logging 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
n 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 number

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
55038/ 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 Baggesen -- @hom

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-30 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 Tech Expo July 15-16. Meet u

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

2016-04-25 Thread Niels Baggesen
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.sourceforge.net The purpose of computing is i

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

2016-03-21 Thread Niels Baggesen
nvitronment 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...@users.sourceforge.net T

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-09-01 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: Integer64 for UCD-SNMP-MIB::Memory

2015-07-13 Thread Niels Baggesen
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 insight, not numbers

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

2015-06-15 Thread Niels Baggesen
-/+ buffers/cache:21261681709068 Swap: 6078460 2587845819676 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: potential socket leak in ipaddress_linux

2015-05-11 Thread Niels Baggesen
. 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 --- R W Hamming

Re: bug report in route_linux.c

2015-05-11 Thread Niels Baggesen
),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 Baggesen - @home - Århus - Denmark - n

Re: bug report in systemstats_linux.c

2015-05-11 Thread Niels Baggesen
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 insight, not numbers --- R W

Re: Adding ZFS support in host resources mib under Linux

2015-03-20 Thread Niels Baggesen
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 World of Parallel Programming The Go Parallel

Re: network interface/address API on FreeBSD

2015-03-04 Thread Niels Baggesen
:) ./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, not numbers --- R W Hamming -- Dive

Re: network interface/address API on FreeBSD

2015-03-02 Thread Niels Baggesen
release, and configured with --enable-mfd-rewrites, I think the only parts that uses kvm interfaces are the old and deprecated IPV6-MIB implementations inmibII/ipv6.c, now superseeded by the INET-XXX-MIB versions, and the hrSWRunTable that uses kvm_getargv and kvm_getprocs. /Niels -- Niels

Re: SNMPd crashing at leat once daily

2015-01-05 Thread Niels Baggesen
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 --- R W Hamming

Re: string as index of a table

2014-10-16 Thread Niels Baggesen
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
) /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers

Re: Duplicate registration of module

2014-09-08 Thread Niels Baggesen
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 computing is insight, not numbers --- R W Hamming

Re: A problem about develop new oid

2014-08-19 Thread Niels Baggesen
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 -- Slashdot TV. Video

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
-- 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: net-snmp-5.4.1 Compilation Errors on --disable-mini-agent

2014-07-03 Thread Niels Baggesen
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 management suite built on Java

Re: Need help loading and traversing MIBs

2014-05-21 Thread Niels Baggesen
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 -- Accelerate Dev Cycles

Re: Linking with openssl 1.0.1g

2014-05-19 Thread Niels Baggesen
(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 Cross-Browser Testing

Re: all connections are refused except SNMP queries

2014-05-06 Thread Niels Baggesen
, 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 The purpose of computing

Re: all connections are refused except SNMP queries

2014-05-05 Thread Niels Baggesen
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 system holding you

Re: Why snmpd does not response to its requests

2014-05-05 Thread Niels Baggesen
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 numbers -- R W Hamming

Re: sprint_realloc_hexstring with no line breaks

2014-04-28 Thread Niels Baggesen
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 -- Accelerate Dev Cycles

Re: sprint_realloc_hexstring with no line breaks

2014-04-26 Thread Niels Baggesen
it down to its actual size after the formatting. Is there another function or something I can use to achieve that? Currently no. We could create yet another option to keep it from adding the newline, or you could squeeze them out after call to format_trap / format_hexstring /Niels -- Niels

Re: Strategy recommendation

2014-04-22 Thread Niels Baggesen
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 -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net

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

2014-04-22 Thread Niels Baggesen
= 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.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming

Re: Core dump on Sun 5.10 in udpTable.c

2014-04-22 Thread Niels Baggesen
) 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 Your Social Network

Re: Sending snmp traps to a broadcast ip

2014-04-22 Thread Niels Baggesen
.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 computing is insight, not numbers --- R W

Re: Building net-snmp for HP-UX

2014-04-22 Thread Niels Baggesen
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 -- Start Your Social Network Today - Download eXo Platform

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 replacing that line and re-compiling. (Used host

Re: Building net-snmp for HP-UX

2014-03-31 Thread Niels Baggesen
:-) 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 insight, not numbers --- R

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, this time, same result as with ip

Re: Building net-snmp for HP-UX

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

Re: Building net-snmp for HP-UX

2014-03-27 Thread Niels Baggesen
a hint as to where the information is lost? Try adding this to your snmptrapd invocation: -Dsocket,udp,netsnmp,domain,UDP,transport,tdomain and tell us what it logs /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers

Re: Building net-snmp for HP-UX

2014-03-26 Thread Niels Baggesen
, 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 --- R W Hamming

Re: Problems with async

2014-03-21 Thread Niels Baggesen
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 purpose of computing is insight

Re: Problems with async

2014-03-19 Thread Niels Baggesen
-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 insight, not numbers --- R W Hamming

Re: Problems with async

2014-03-18 Thread Niels Baggesen
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 --- R W Hamming -- Learn

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

2014-03-14 Thread Niels Baggesen
. This is a volunteer driven service, so ASAP is not an option! What exactly is the error you see? Is the problem authentication of the trap, or a trap caused by some other access to the SNMP daemon? Even though you use V1 or V2c the trapreceiver can validate the community and sending host. /Niels -- Niels

Re: change required in man page for snmptrapd.conf

2014-03-10 Thread Niels Baggesen
(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 - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W

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

2014-03-06 Thread Niels Baggesen
for the note. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Subversion Kills Productivity. Get off Subversion

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

2014-02-27 Thread Niels Baggesen
? /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 software. Cisco certified tool

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

Re: Hard limit of Open TCP connections

2014-02-18 Thread Niels Baggesen
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, not numbers

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

2014-01-27 Thread Niels Baggesen
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 -- CenturyLink Cloud: The Leader

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
. You can also --enable-ipv6 to make it compile. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- CenturyLink Cloud

Re: Creating inetCidrRouteTable row entries

2014-01-27 Thread Niels Baggesen
) ^ 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 converting prefix to mask, and it should be fixed the the next 5.7.3.pre release. /Niels -- Niels Baggesen - @home - Århus

Re: pass extension, parameter passing bug

2014-01-13 Thread Niels Baggesen
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 is insight, not numbers --- R W Hamming

Re: 转发:cisco asa 5520 cpu mib

2014-01-09 Thread Niels Baggesen
.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 --- R W Hamming

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

2014-01-09 Thread Niels Baggesen
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 100644 --- a/agent

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

2014-01-09 Thread Niels Baggesen
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 insight, not numbers --- R W Hamming

Re: Help! Convert OCTET string to READABLE string

2013-12-12 Thread Niels Baggesen
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 - Århus - Denmark - n...@users.sourceforge.net The purpose of computing

Re: Help! Convert OCTET string to READABLE string

2013-12-03 Thread Niels Baggesen
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 insight, not numbers --- R W Hamming

Fwd: Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
it say in config.log? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Shape the Mobile Experience: Free Subscription

Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
: gcc --version 5 /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from gcc ./configure[6838]: 15518 Abort(coredump) configure:6847: $? = 134 How did you install that gcc? It does not seem to match your system! /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
gcc libgcc4.2.3 libgcc Something is certainly amiss with that gcc installation, and not being an HP-UX man I cannot help you there. Any HP-UX admins lurking around? /Niels -- Niels Baggesen - @home - Århus - Denmark - n

Re: Problem using IP_RECVDSTADDR on HPUX.

2013-11-21 Thread Niels Baggesen
Den 19-11-2013 11:03, Jean-Paul VILLETTE skrev: The tarballs don't seem to be online. Problems ? Sorry 'bout that :-( A filesystem had filled up, but they should be back now /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight

Re: snmpwalk of Net Snmp throws the error Wrong Type (should be Counter64): INTEGER: 27344896

2013-11-18 Thread Niels Baggesen
1.How data type of object is determined? snmpwalk looks in the MIB file, the agent does what it was coded to do. 2.What information is fetched by snmpwalk from emanate snmp agents? I don't understand the question /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net

Re: Compilation issue on HPUX

2013-11-18 Thread Niels Baggesen
should install a real compiler, either gcc or HP's aCC compiler. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- Shape

  1   2   3   4   >