Re: Is integer64 support for pass_persist broken?

2011-01-19 Thread Thomas Anders
Kert Jans wrote: > snmpget -v1 -cpublic localhost .1.3.6.1.4.1.2.42.2.0 > snmpget -v1 -cpublic localhost .1.3.6.1.4.1.2.42.4.0 Try "snmpget -v2c ..." instead. +Thomas -- Protect Your Site and Customers

Is integer64 support for pass_persist broken?

2011-01-19 Thread Jans, Kert
Hi, It appears that "pass_persist" support for integer64 and counter64 is broken in: net-snmp-5.5 and net-snmp-5.6.1 even though there is code to support 64 bit values in pass_persist.c Here is my test case: Add the following line to: /usr/local/share/snmp/snmpd.conf pass_per

Re: rpm libraries

2011-01-19 Thread Wes Hardaker
> On Wed, 19 Jan 2011 16:42:26 +0100, Jan Safranek > said: JS> Make us compatible with rpm-4.9, rpmGetFilesystemList does not JS> exist anymore, so the configure script should not check it. ... JS> My change should not change any backward JS> compatibility... rpmReadConfigFiles() should

unsubscribe

2011-01-19 Thread Ali Jawad
On Wed, Jan 19, 2011 at 6:13 PM, Wes Hardaker < [email protected]> wrote: > > JS> Make us compatible with rpm-4.9, rpmGetFilesystemList does not > JS> exist anymore, so the configure script should not check it. > > So what versions does the trunk compile against? What's the oldest, f

Re: rpm libraries (Was: SF.net SVN: net-snmp:[19892] trunk/net-snmp/configure.d)

2011-01-19 Thread Jan Safranek
On 01/19/2011 04:13 PM, Wes Hardaker wrote: > > JS> Make us compatible with rpm-4.9, rpmGetFilesystemList does not > JS> exist anymore, so the configure script should not check it. > > So what versions does the trunk compile against? It compiles with all that was working before + it detects rpm-

rpm libraries (Was: SF.net SVN: net-snmp:[19892] trunk/net-snmp/configure.d)

2011-01-19 Thread Wes Hardaker
JS> Make us compatible with rpm-4.9, rpmGetFilesystemList does not JS> exist anymore, so the configure script should not check it. So what versions does the trunk compile against? What's the oldest, for example, Fedora that will work with the trunk now? What other RPM base distros out there are

Re: net-snmp 5.6.1 on AIX 6.1

2011-01-19 Thread Wes Hardaker
I need help to make step by step to install net-snmp 5.6.1 on AIX 6.1 ___ ./configure OK make Ok make install [ . . . ] libtool: install: ./install-sh -c -m 644 ./include/net-snmp/machine/generic.h /usr/local/include/net-snmp/machine/generic.h inst

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Egor
All right. Yes, it was really --disable-debugging in configure file. now, I can see my messages in log file: > NET-SNMP version 5.4.2.1 simpleMib: startdispatch simpleMib: mod_get simpleMib: mod_get_ok simpleMib: dispatch_ok Thanks a lot, it was my epic fail, very simple mistake. Best reg

Re: typo in documentation

2011-01-19 Thread Dave Shield
On 19 January 2011 11:48, Jacek Poplawski wrote: > On the http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd > there is a sentence: > "When the specific type is 6, the trap is an enterprise specific trap." > I believe it should be: > "When the generic type is 6, the trap is an enterp

typo in documentation

2011-01-19 Thread Jacek Poplawski
On the http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd there is a sentence: "When the specific type is 6, the trap is an enterprise specific trap." I believe it should be: "When the generic type is 6, the trap is an enterprise specific trap." --

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Dave Shield
On 19 January 2011 08:53, Egor wrote: > I don't have another one snmpd. I haven't /usr/locale/ folder. Sorry - I thought you'd said that you did. > My system is Openwrt, so it's very simply and tiny system. > I see my own MIBs by using SNMP manager, so my module is working and I can > see Integ

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Egor
I don't have another one snmpd. I haven't /usr/locale/ folder. My system is Openwrt, so it's very simply and tiny system. I see my own MIBs by using SNMP manager, so my module is working and I can see Integer that I located in my mib module code. But still not DEBUGMSGTL in my log file. I guess, t

Re: net-snmp version 5.4 on AIX 5.3.0.0

2011-01-19 Thread Dave Shield
On 19 January 2011 08:31, Lopez Pedro wrote: > I have the following problem, I use the > method "snmp_set_var_typed_value" with a return a value as an ASN_COUNTER64, > I receive the following message: "No such name error" > If I change the return value by ASN_COUNTER everything working well. Whic

net-snmp version 5.4 on AIX 5.3.0.0

2011-01-19 Thread Lopez Pedro
Hello, I have the following problem, I use the method "snmp_set_var_typed_value" with a return a value as an ASN_COUNTER64, I receive the following message: "No such name error" If I change the return value by ASN_COUNTER everything working well. I found in the Net-SNMP code the following lines

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 19 J