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

2010-03-03 Thread Stephen Hemminger
On Thu, 4 Mar 2010 00:50:04 -0500 Robert Story wrote: > On Tue, 2 Mar 2010 09:13:29 -0800 Stephen wrote: > SH> > I suspect you're putting clientaddr in snmpd.conf instead of snmp.conf. > If you > SH> > want to do that, you have to prefix it for it to be recognized as a > snmp.conf > SH> > token

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

2010-03-03 Thread Stephen Hemminger
On Thu, 4 Mar 2010 00:50:04 -0500 Robert Story wrote: > On Tue, 2 Mar 2010 09:13:29 -0800 Stephen wrote: > SH> > I suspect you're putting clientaddr in snmpd.conf instead of snmp.conf. > If you > SH> > want to do that, you have to prefix it for it to be recognized as a > snmp.conf > SH> > token

RE: Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Prasanna Varadharajan
Thanks all for the inputs. Thanks, Prasanna From: Robert Story [[email protected]] Sent: Thursday, March 04, 2010 11:26 AM To: Prasanna Varadharajan Cc: [email protected] Subject: Re: Clarification required on createAndGo & createAndW

Re: Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Robert Story
On Thu, 4 Mar 2010 09:52:10 +0530 Prasanna wrote: PV> Because if the user sets the table objects first and then set the rowStatus with 4 or 5 means then there is no difference between createAndWait and createAndGo approach. Please provide your comments on this. There is a big difference. A suc

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

2010-03-03 Thread Robert Story
On Tue, 2 Mar 2010 09:13:29 -0800 Stephen wrote: SH> > I suspect you're putting clientaddr in snmpd.conf instead of snmp.conf. If you SH> > want to do that, you have to prefix it for it to be recognized as a snmp.conf SH> > token.. e.g. SH> > SH> > [snmp] clientaddr 192.168.1.99 SH> > SH> > If

RE: Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Prasanna Varadharajan
Manjit, 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, am I correct? Because if the user sets the table objects first and then set the rowStatus with 4 or 5 means then there is no di

Re: traps v1 and 2

2010-03-03 Thread Dave Shield
On 3 March 2010 21:30, maxim maxim wrote: > Can you send me the link on this entry please? All documentation can be found on the project website. http://www.net-snmp.org/ Dave -- Download Intel® Parallel Studio Eval

Re: Solaris 10 64-bit build?

2010-03-03 Thread Mike Walker
adding "--disable-embedded-perl --without-perl-modules" to the ./configure command options seems to have done it. Make now runs all the way through. Thank you very much -Mike On Tue, Mar 2, 2010 at 8:08 PM, Thomas Anders wrote: > Mike Walker wrote: > > This definitely helps me get further alon

Re: traps v1 and 2

2010-03-03 Thread maxim maxim
Hi Dave, Can you send me the link on this entry please? Thanks, Maxim 2010/3/3 Dave Shield : > On 3 March 2010 20:32, maxim maxim wrote: >> I need to send trap v1 and v2 from my agent > > Please see the FAQ entry > "How can I get the agent to generate a trap (or inform)?" > and those that

Re: traps v1 and 2

2010-03-03 Thread Dave Shield
On 3 March 2010 20:32, maxim maxim wrote: > I need to send trap v1 and v2 from my agent Please see the FAQ entry "How can I get the agent to generate a trap (or inform)?" and those that follow > and send trap v2, now is my question: How i can convert the packet > that i send in my cas

traps v1 and 2

2010-03-03 Thread maxim maxim
Hi to all, I need to send trap v1 and v2 from my agent, i based on example notification.c (http://www.net-snmp.org/dev/agent/notification_8c_source.html), and send trap v2, now is my question: How i can convert the packet that i send in my case is notification_vars to trap packet v1, and how to sen

Re: Autoconf version

2010-03-03 Thread Magnus Fromreide
On Wed, Mar 03, 2010 at 11:48:03AM -0500, Robert Story wrote: > On Wed, 03 Mar 2010 17:19:30 +0100 Jan wrote: > JS> > Fedora should have an autoconf259 package you can install... Use that to > JS> > maintain backwards compatibility... > JS> > JS> Well, there is no autoconf259 in Fedora, 'people sa

Re: Autoconf version

2010-03-03 Thread Robert Story
On Wed, 03 Mar 2010 17:19:30 +0100 Jan wrote: JS> > Fedora should have an autoconf259 package you can install... Use that to JS> > maintain backwards compatibility... JS> JS> Well, there is no autoconf259 in Fedora, 'people say' there are no known JS> issues with 2.59 and 2.63 compatibility so th

Re: Autoconf version

2010-03-03 Thread Jan Safranek
On 02/23/2010 03:32 PM, Robert Story wrote: > On Tue, 23 Feb 2010 13:28:05 +0100 Jan wrote: > JS> Do we have any policy which autoconf/autoheader to use? I've noticed > JS> autoconf-2.59 was the last used in the 5.2 branch and I have installed > JS> autoconf-2.63 (Fedora 12). > > Fedora should h

Re: Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Manjit
createAndWait - 1. manager first issue sets to create the rows, followed by gets to verify that the intended row has been created. 2. Once the manager has verified all information, a MIB variable in the row is set to activate the inforamtion. createAndGo - the manager issues the set operations n

Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Prasanna Varadharajan
Hi All, This query is regarding createAndWait and createAndGo approach implementation in snmp agent. It may be the implementation specific to support these; however we would like to know the standard way which is in practice. Please let me know whether the following process is correct or not?,

Re: apps/snmptrap.c

2010-03-03 Thread Dave Shield
On 2 March 2010 18:39, maxim maxim wrote: > 1. Why i need a 0 in the and of oid   objid_snmptrap[] = { 1, 3, 6, 1, 6, 3, > 1, 1, 4, 1, 0 }; (in text format is SNMPv2-MIB::snmpTrapOID.0)? Because you are assigning a value to the (sole) instance of the scalar object SNMPv2-MIB::snmpTrapOID. All