Re: SNMPv3 Using SNMP Tables in Read-Write Mode

2010-03-04 Thread Robert Story
On Thu, 4 Mar 2010 12:22:44 +0100 Cancani wrote: CD> Which is the most suitable configuration file to use? I read about "mfd" CD> but a very long list of headers and c files are generated and I do not CD> know how to begin. I'll let Dave tout the benefits of the other mib2c styles. As for mfd, did

Re: [PATCH] snmpd: allow setting trap source address

2010-03-04 Thread Robert Story
On Wed, 3 Mar 2010 22:30:40 -0800 Stephen wrote: SH> > I see the patch. It allows clientaddr to be in snmpd.conf without the [snmp] SH> > prefix. But clientaddr is a snmp token, and does work in snmpd.conf when SH> > properly prefixed. SH> SH> Have you tried putting address (source address) in sn

Re: Clarification regarding view/user/community names..

2010-03-04 Thread Dave Shield
On 4 March 2010 14:23, wrote: > What is the maximum permissible viewname, username, groupname and > communityname that can be configured when using net-snmp? The group name and view name are limited to 32 characters. See the definitions of these objects in the SNMP-VIEW-BASED-ACM-MIB. I don't b

Re: RPM API status

2010-03-04 Thread Jeff Johnson
On Mar 4, 2010, at 9:16 AM, Jan Safranek wrote: > Hi, > > in all supported branches there should be check in ./configure script, > which enables legacy RPM API when the user has newer RPM (4.6 and later). > > Today I wanted to port the new host/hrSWInstalled table to the new RPM > API in SVN

Clarification regarding view/user/community names..

2010-03-04 Thread srikapilan.gandhi
Hi, What is the maximum permissible viewname, username, groupname and communityname that can be configured when using net-snmp? I am using NET-SNMP version 5.4.1.2, I am facing issues when I use names greater than 31 characters. Please suggest the max limit for these ( viewname, username, g

RPM API status

2010-03-04 Thread Jan Safranek
Hi, in all supported branches there should be check in ./configure script, which enables legacy RPM API when the user has newer RPM (4.6 and later). Today I wanted to port the new host/hrSWInstalled table to the new RPM API in SVN trunk, but I was surprised it's already done. Thanks to Dave Sh

SNMPv3 Using SNMP Tables in Read-Write Mode

2010-03-04 Thread Cancani Daniela
Hello, I need to implement my own MIB containing some scalars and some simple tables. Using "mib2c" I created the software skeleton and wrote the C code to set and get both integer and string scalar variables, and it does work. However, I have some problems in using the software skeleton for

Re: traps v1 and 2

2010-03-04 Thread Dave Shield
On 4 March 2010 10:48, maxim maxim wrote: > if i want to send v1 trap from notification.c(see in examples), does > it mean that i don't have to use snmp_varlist_add_variable() with > ASN_OBJECT_ID?, i just need to fill netsnmp_variable_list only with > varbinds like integer or string It depends o

Re: traps v1 and 2

2010-03-04 Thread maxim maxim
Great, if i want to send v1 trap from notification.c(see in examples), does it mean that i don't have to use snmp_varlist_add_variable() with ASN_OBJECT_ID?, i just need to fill netsnmp_variable_list only with varbinds like integer or string, the trap name is not in list of varbinds, isn't it? Tha

Re: traps v1 and 2

2010-03-04 Thread Dave Shield
On 4 March 2010 09:04, maxim maxim wrote: > when i use netsnmp_send_traps(int trap, int specific, oid * > enterprise, int enterprise_length, > netsnmp_variable_list * vars, >  // These next two are currently unused/ >         char * context, int flags); > > > The  vars is a same for v1 and v2, isn

traps v1 and 2

2010-03-04 Thread maxim maxim
when i use netsnmp_send_traps(int trap, int specific, oid * enterprise, int enterprise_length, netsnmp_variable_list * vars, // These next two are currently unused/ char * context, int flags); The vars is a same for v1 and v2, isn't it? ---

Re: Clarification required on createAndGo & createAndWait approach implementation

2010-03-04 Thread Dave Shield
On 4 March 2010 04:22, Prasanna Varadharajan wrote: > So in createAndWait approach first the user has to enter the rowStatus object > with > value 5(for createAndWait) and followed by rest of the row creation objects, Not quite. When creating a row using 'createAndWait', the RowStatus assignmen