Re: Ubuntu: Different paths and where to look?

2011-02-22 Thread Wes Hardaker
> On Tue, 22 Feb 2011 11:29:09 -0600, rabie...@rockwellcollins.com said: r> Well now the snmpd --version, snmpget ---version are returning what's r> expected. I am still getting timeouts when I poll the localhost r> though. That's good. Now the question is, is your snmpd.conf being read i

Re: net-snmp is not able to differentiate between similar characters such as 22222222, 2222222222 for snmpv3

2011-02-22 Thread Wes Hardaker
> On Tue, 22 Feb 2011 14:41:05 -0800, Tarun Kumar > said: TK> Any idea on this ?? Did we have fix any bug like that: Here are the TK> example of this: It's a, um, feature of SNMPv3 with USM. The password is expanded out a bunch of times in a row before being hashed so that repeated pas

net-snmp is not able to differentiate between similar characters such as 22222222, 2222222222 for snmpv3

2011-02-22 Thread Tarun Kumar
Hi all, I am using net-snmp 5.4.2.1, and found a strange behavior with net-snmp (snmpd). For SNMPv3 if I specify authentication key or privacy key as sequence of same character, such as or tt, then it is unable to differentiate between the password and any sequence greater than

massive feature/minimalist patch being checked in right now

2011-02-22 Thread Wes Hardaker
A massive patch that implements the following feature: http://www.net-snmp.org/wiki/index.php/Feature_Marking_and_Selection is being committed at the moment. Michael Baer (baerm) and I have been working on it for about 3 months or longer in an offline git repository. Originally I was hoping

Re: Ubuntu: Different paths and where to look?

2011-02-22 Thread rabiels1
Thank you Wes & Dave it is good advice. What I haven't explained is that I have this PC setup on an isolated network . I am really trying to digest Net-SNMP in smaller chunks (the ole divide and conquer bit ) so I went with the simple rwcommunity public. I will change the snmpd.conf file to

Re: CFV: 5.5.1 Missing freebsd8.h hinders compilation on FreeBSD 8

2011-02-22 Thread Thomas Anders
Niels Baggesen wrote: > Ther following trivial content fixes it: > > /* freebsd8 is a superset of freebsd4 */ > #include "freebsd7.h" > #define freebsd7 freebsd7 +1 (although I think we should get rid of the add-yet-another-header-for-each-OS-major-version approach for FreeBSD and a few others

Re: manipulate table objects from a different program

2011-02-22 Thread Wes Hardaker
> On Sun, 20 Feb 2011 11:40:14 -0800, Zahra Ghavami > said: nG> I used different kinds of table handler (data-set, container,…), but ZG> couldn’t find a way to use data defined somewhere else as table objects. You need to get access to the container objects itself and loop through the da

Re: Dependency of StorageType on EngineID ???

2011-02-22 Thread Wes Hardaker
> On Mon, 21 Feb 2011 10:49:42 +0530, Manjit > said: M> A row which is volatile(2) is lost upon reboot. A row which M> is either nonVolatile(3), permanent(4) or readOnly(5), is M> backed up by stable storage. First, for the keywords make sure you read the StorageType definition in mibs

Re: Ubuntu: Different paths and where to look?

2011-02-22 Thread Wes Hardaker
> On Mon, 21 Feb 2011 11:02:26 +, Dave Shield > said: >> The commands >> "snmget -v2c -c public localhost system.sysUpTime" and "snmpwalk -v2c -c >> public  localhost" both return "Timeout: No Response from localhost" even >> though there is a  snmpd.conf file,  with "rwcommunity pub

Re: CFV: Fix bug 3118631: snmptable segfaults if index contains : character

2011-02-22 Thread Wes Hardaker
> On Tue, 22 Feb 2011 15:07:34 +0100, Niels Baggesen > said: NB> The following simple fix does it - and this get more severe as we get NB> more IPv6 usage :-) +1 -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net --

Re: CFV: 5.5.1 Missing freebsd8.h hinders compilation on FreeBSD 8

2011-02-22 Thread Wes Hardaker
> On Tue, 22 Feb 2011 15:14:50 +0100, Niels Baggesen > said: NB> Ther following trivial content fixes it: NB> /* freebsd8 is a superset of freebsd4 */ NB> #include "freebsd7.h" NB> #define freebsd7 freebsd7 +1 -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge

Re: CFV: 5.5.1 Missing freebsd8.h hinders compilation on FreeBSD 8

2011-02-22 Thread Dave Shield
On 22 February 2011 14:14, Niels Baggesen wrote: > The following trivial content fixes it: > > /* freebsd8 is a superset of freebsd4 */ > #include "freebsd7.h" > #define freebsd7 freebsd7 +1 Dave -- Index, Search & Anal

Re: CFV: 5.5.1 Missing freebsd8.h hinders compilation on FreeBSD 8

2011-02-22 Thread Dave Shield
On 22 February 2011 14:14, Niels Baggesen wrote: > The following trivial content fixes it: > > /* freebsd8 is a superset of freebsd4 */ > #include "freebsd7.h" > #define freebsd7 freebsd7 +1 Dave -- Index, Search & Anal

Re: CFV: Fix bug 3118631: snmptable segfaults if index contains : character

2011-02-22 Thread Dave Shield
On 22 February 2011 14:07, Niels Baggesen wrote: > The following simple fix does it - and this get more severe as we get > more IPv6 usage :-) +1 (for all active lines) Dave -- Index, Search & Analyze Logs and other I

CFV: 5.5.1 Missing freebsd8.h hinders compilation on FreeBSD 8

2011-02-22 Thread Niels Baggesen
Ther following trivial content fixes it: /* freebsd8 is a superset of freebsd4 */ #include "freebsd7.h" #define freebsd7 freebsd7 /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ---

CFV: Fix bug 3118631: snmptable segfaults if index contains : character

2011-02-22 Thread Niels Baggesen
The following simple fix does it - and this get more severe as we get more IPv6 usage :-) --- apps/snmptable.c(revision 19965) +++ apps/snmptable.c(working copy) @@ -703,7 +703,7 @@ NETSNMP_DS_LIB_OID_OUTPUT_FORMAT)) {

Re: http://www.net-snmp.org/dev/agent

2011-02-22 Thread Zahra Ghavami
using ldd i remembered i'd added linnetsnmp.so.20 to /usr/local/lib. i removed it and the problem is solved now tnx every one > > I'd also suggest testing if you have multiple versions of the net-snmp > libraries on your system (like one from a package management system, and > one from a build-fr