Network Access

2010-03-15 Thread Hemant Soundankar
Hi ALL, I have installed net-snmp 5.4.2.1 on two PCs I have modified the snmp.conf file on my PC. --This is some part of my snmp.conf file # First, map the community name (COMMUNITY) into a security name # (local and mynetwork, depending on where the request is coming # from): # s

Re: com2sec[6]

2010-03-15 Thread Dave Shield
On 13 March 2010 01:46, Wes Hardaker wrote: > Maybe adding a new token to do both would be the right way to go. If we are going to introduce a new token for com2sec-style handling, can I suggest that it accept the full range of transport:address:port syntax values. That feels much more se

Re: Network Access

2010-03-15 Thread Hemant Soundankar
Hi Majit, I dint actually get what u meant by copying the line. I am attaching my conf file with this reply. Please make the changes. Also tell me if i have to make changes to other PC's conf file. And i am running this on linux platform(Virtual Machine). Configuring net-snmp for my is critical for

Re: Network Access

2010-03-15 Thread Dave Shield
On 15 March 2010 09:49, Hemant Soundankar wrote: > I dint actually get what u meant by copying the line. > I am attaching my conf file with this reply. Please make the changes. The best approach is probably to replace your config file with a new snmpd.conf file, containing *just* the two lines

Re: rfc: changing snmpwalk default starting point

2010-03-15 Thread Dave Shield
On 13 March 2010 11:45, Magnus Fromreide wrote: >> >> a) start at .1 >> >> pros: will show all available objects >> >> cons: will show all available objects >> >> MF> I think I prefer a slight variation on this one if it is chosen: >> >> MF> start at . as opposed to .1. >> >> I'm not sure you can

Re: host/data_access/swinst.h

2010-03-15 Thread Dave Shield
On 14 March 2010 21:04, Magnus Fromreide wrote: > I have a debian system so linux is defined but there is no librpm. > . I really ought to read the apt database. So the first thing is probably to write the code for 'host/data_access/swinst_apt' > Furthermore I do have access to an AIX host -

Re: sending trap

2010-03-15 Thread Dave Shield
On 15 March 2010 09:29, maxim maxim wrote: > The mib SNMP-NOTIFICATION-MIB is not found in my installed snmp mib > tree (the mib tree attached to this mail). Please check the output more closely. It contains the following subtree: +--snmpNotificationMIB(13) |

Segmentation fault with snmptable command

2010-03-15 Thread Manjit
Hi All, For some of the value(wrong values ) of mib-oid's snmptable is giving segmentation fault. e.g [r...@localhost make]# snmptable -v 2c -c demopublic localhost .1 Segmentation fault [r...@localhost make]# snmptable -v 2c -c demopublic localhost .2 Was that a table? joint-iso-ccitt [r...@lo

Re: Segmentation fault with snmptable command

2010-03-15 Thread Dave Shield
On 15 March 2010 10:27, Manjit wrote: > For some of the value(wrong values ) of mib-oid's snmptable is giving > segmentation fault. This is fixed by the patch to bug report #2837998 (SVN revision 17857) See http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/apps/snmptable.c?r1=17

Re: rfc: changing snmpwalk default starting point

2010-03-15 Thread Thomas Anders
Dave Shield wrote: > I'm attaching a simple patch that walks from .0 until the end of the MIB tree > if given an explicit starting point of '.' or no starting point at all. > Comments? Even though it's a change in behavior, I must admit I like it. +Thomas --

snmpwalk causes agent to coldStart

2010-03-15 Thread srikapilan.gandhi
Hi , I am using NET-SNMP version 5.4.1.2. I have configured a snmp V3 user with authNoPriv, I have associated a snmp host to this user. I do a snmpwalk with this user but with -l authPriv, my query times out, but it causes my agent to ColdStart. I get a core ( Program terminated with

Re: snmpwalk causes agent to coldStart

2010-03-15 Thread Dave Shield
On 15 March 2010 13:40, wrote: > I have configured a snmp V3 user with authNoPriv, > I have associated a snmp  host to this user. What do you mean by this? What is the exact configuration you are using? (Feel free to mask out any passwords, etc, but it is helpful to know as much detail as poss

Re: com2sec[6]

2010-03-15 Thread Robert Story
On Fri, 12 Mar 2010 17:46:40 -0800 Wes wrote: WH> > On Tue, 2 Mar 2010 10:37:25 -0500, Robert Story said: WH> WH> [re: IP address lookups of com2sec returning both v4 and v6 addrs] WH> MF> If not I would like to know what action to take: WH> MF> WH> MF> 1) Keep it as is WH> MF> 2) Make bot

Re: rfc: changing snmpwalk default starting point

2010-03-15 Thread Robert Story
On Mon, 15 Mar 2010 13:09:49 +0100 Thomas wrote: TA> Dave Shield wrote: TA> > I'm attaching a simple patch that walks from .0 until the end of the MIB tree TA> > if given an explicit starting point of '.' or no starting point at all. TA> > Comments? TA> TA> Even though it's a change in behavior,

Re: rfc: short form unsigned types

2010-03-15 Thread Robert Story
On Sat, 13 Mar 2010 08:56:29 +0100 Bart wrote: BVA> As far as I know u_int32_t comes from BSD and is not in C99. uint32_t is BVA> defined by C99 though. I agree, we should use what the standard defines in our code, and typedef for it if some OS is missing it..

Re: host/data_access/swinst.h

2010-03-15 Thread Robert Story
On Mon, 15 Mar 2010 10:35:57 + Dave wrote: DS> On 14 March 2010 21:04, Magnus Fromreide wrote: DS> > I have a debian system so linux is defined but there is no librpm. DS> > . I really ought to read the apt database. DS> DS> So the first thing is probably to write the code for DS> 'host/d

Re: SF.net SVN: net-snmp:[18295] trunk/net-snmp/agent/mibgroup

2010-03-15 Thread Robert Story
On Sun, 14 Mar 2010 22:26:26 +0100 Thomas wrote: TA> > Log Message: TA> > --- TA> > import initial code for dtls mibs TA> TA> Could you please adjust README.agent-mibs accordingly? done (in local repo, anyways). TA> Do these mib modules get enabled if I configure with --enable-new-featur

Re: RFC: default snmperrlog change

2010-03-15 Thread Robert Story
On Fri, 12 Mar 2010 21:20:05 + Dave wrote: DS> > The stderr log is enabled if a message is logged before any log handlers are DS> > enabled: DS> DS> > The problem is, it is not disabled if a log handler is added. DS> DS> That's definitely not sensible. DS> DS> If logging is explicitly speci

Re: hrStorage looses track of remounted file system (bug #1689551)

2010-03-15 Thread Robert Story
On Sun, 14 Mar 2010 12:11:42 -0300 Leonardo wrote: LC> > There is a patch in Red Hat Bugzilla: LC> > https://bugzilla.redhat.com/show_bug.cgi?id=532672. It keeps track of LC> > already used indexes and tries to read /etc/mtab in the same order, which LC> > can lead to the file being re-read for eac

Re: RFC: default snmperrlog change

2010-03-15 Thread Dave Shield
On 15 March 2010 18:55, Robert Story wrote: > Since there have been no objections, I'll probably commit the patch in the > next few days. Which branches? Note that I've just released RCs on the 52x and 54x lines, so we're in code-freeze status (i.e. explicit voting) on those branches. I'm not p

Re: rfc: changing snmpwalk default starting point

2010-03-15 Thread Magnus Fromreide
On Mon, 2010-03-15 at 14:23 -0400, Robert Story wrote: > On Mon, 15 Mar 2010 13:09:49 +0100 Thomas wrote: > TA> Dave Shield wrote: > TA> > I'm attaching a simple patch that walks from .0 until the end of the > MIB tree > TA> > if given an explicit starting point of '.' or no starting point at all

Re: RFC: default snmperrlog change

2010-03-15 Thread Robert Story
On Mon, 15 Mar 2010 19:30:17 + Dave wrote: DS> On 15 March 2010 18:55, Robert Story wrote: DS> > Since there have been no objections, I'll probably commit the patch in the DS> > next few days. DS> DS> Which branches? trunk.. DS> I'm not particularly bothered about getting this into the 52x

Doing *something* about dskTable (issue 2340904 and others)

2010-03-15 Thread Jeff Gehlbach
Hi all, I'm new to the list but old to Net-SNMP and other agents with CMU / HP ancestry (used to be a developer on SystemEDGE until right after CA ate the project and spat me out). About sixteen months ago I created issue 2340904 in the tracker describing an Integer32 overflow problem with the

Re: Doing *something* about dskTable (issue 2340904 and others)

2010-03-15 Thread Robert Story
On Mon, 15 Mar 2010 16:58:54 -0400 Jeff wrote: JG> About sixteen months ago I created issue 2340904 in the tracker describing an Integer32 overflow problem with the non-perentage objects in the dskTable when the filesystems they represent are 2TB in size or larger. I just looked at the code in 5

Re: Doing *something* about dskTable (issue 2340904 and others)

2010-03-15 Thread Dave Shield
On 15 March 2010 20:58, Jeff Gehlbach wrote: > About sixteen months ago I created issue 2340904 in the tracker describing an > Integer32 > overflow problem with the non-perentage objects in the dskTable when the > filesystems > they represent are 2TB in size or larger.  There's been a burst of

Re: Doing *something* about dskTable (issue 2340904 and others)

2010-03-15 Thread Jeff Gehlbach
On Mar 15, 2010, at 17:37 , Robert Story wrote: > I just looked at the code in 5.5 and trunk, and the both have code to limit > those object to the right sizes. That's outstanding! Sorry my appeal was a bit stronger than necessary; I'd developed the (incorrect) impression that the issue was not

RE: snmpwalk causes agent to coldStart

2010-03-15 Thread srikapilan.gandhi
Hi Dave, Configuration : --- access operator "" any noauth exact all none all group operator usm u4 rouser u4 createUser u4 MD5 password trapsess -v 3 -l authNoPriv -u u4 xx.xx.xx.xx:162 Query : --- The regular query "snmpwalk -v3 -u u4 -l authNoPriv -a md5 -A passwor

RE: snmpwalk causes agent to coldStart

2010-03-15 Thread srikapilan.gandhi
Hi Dave, It crashes at : (gdb) bt #0 0x0f3cd570 in usm_process_in_msg (msgProcModel=, maxMsgSize=65507, secParams=, secModel=, secLevel=, wholeMsg=0x10144cf0 "0\201\234\002\001\0030\021\002\004\025Ep\020\002\003", wholeMsgLen=159, secEngineID=0x1012a8d8 "\200", secEngineIDL