Re: r17156 broke trunk on Solaris?

2008-08-18 Thread Thomas Anders
Dave, >> Undefined first referenced >> symbol in file >> kd ./.libs/libnetsnmpmibs.so > > H... >can you please check whether this compilation: > >a) includes the object 'agent/kernel.o' >b) defi

Is it possible to set the L3 source interface IP address in a trap packet?

2008-08-18 Thread Zhouhuai Shen
Hi Jan, Thanks a lot for the patch. It fixed the agent address inside the UDP payload. The '[snmp] clientaddr 192.168.1.1' in my snmpd.conf doesn't fix the IP address in the UDP packet in my case. For example, the outgoing interface IP for the trap is 172.16.1.1, but I expect the ip addres

Re: r17156 broke trunk on Solaris?

2008-08-18 Thread Dave Shield
2008/8/17 Thomas Anders <[EMAIL PROTECTED]>: >> Log Message: >> --- >> SWRun processing needs access to the internals of 'struct user' >> (Solaris) >> >> Modified Paths: >> -- >> trunk/net-snmp/agent/mibgroup/host/data_access/swrun_kvm_proc.c > > This change (or one quite cl

Re: net snmp broadcast

2008-08-18 Thread Wes Hardaker
> On Tue, 29 Jul 2008 16:01:17 +0700, "deka aditia" <[EMAIL PROTECTED]> > said: da> hey all, is there any way that possibly make snmpd do broadcast operation da> ... da> spreading many packet's into the network ? There are some patches available in the http://www.net-snmp.org/patches/ bu

Re: Need help to set boolean object - NetSNMP 5.4.1 Agent

2008-08-18 Thread Wes Hardaker
> On Wed, 30 Jul 2008 01:34:06 +0530, "srenivasan rs" <[EMAIL PROTECTED]> > said: sr> I am trying to set a boolean mib object in Net-SNMP R5.4.1 agent. sr> But, the agent is giving the following error when I try to do snmpWalk sr> on the boolean objects. I have also attached the agent cod

Re: RFC's for Valid SNMP Error Codes

2008-08-18 Thread Pachiappan D
Thanks a lot for the info !! On 8/18/08, Wes Hardaker <[EMAIL PROTECTED]> wrote: > > > On Thu, 31 Jul 2008 19:47:56 +0530, "Pachiappan D" < > [EMAIL PROTECTED]> said: > > PD> I am just developing the SNMP Agent using net-snmp 5.4.1. > PD> I wanted to know the list of RFC's where Valid SNMP Err

Re: Could I get the index value in get_xxx() and set_xxx()?

2008-08-18 Thread Wes Hardaker
> On Wed, 30 Jul 2008 19:48:52 +0800, "Tewen Hsieh" <[EMAIL PROTECTED]> > said: TH> I used mib2c.iterate_access.conf to generate template code. TH> Could I get the index value in get_xxx() and set_xxx()? Yes. You might take a look at the agent/mibgroup/examples/netSnmpHosts*.c files for

Re: RFC's for Valid SNMP Error Codes

2008-08-18 Thread Wes Hardaker
> On Thu, 31 Jul 2008 19:47:56 +0530, "Pachiappan D" <[EMAIL PROTECTED]> > said: PD> I am just developing the SNMP Agent using net-snmp 5.4.1. PD> I wanted to know the list of RFC's where Valid SNMP Error codes have been PD> defined. RFC 3416 is the best error code list that is available

Re: snmp v3 trap

2008-08-18 Thread Wes Hardaker
> On Thu, 07 Aug 2008 21:45:06 +0800, william <[EMAIL PROTECTED]> said: w> But format of the trap is snmp v2, if I want to generate snmp v3 trap w> (inform), how to implement it? SNMPv3 sends version 2 PDUs. So the code that mib2c generated will work for SNMPv3 too. The agent sends traps an

Re: NETLINK-based notifications

2008-08-18 Thread Wes Hardaker
> On Thu, 7 Aug 2008 20:35:21 -0400, lanas <[EMAIL PROTECTED]> said: l> I am aiming at integrating the NETLINK patch, submitted last l> year, to the latest version of net-snmp, in the coming two months. l> The purpose of this patch is to bring instant (relatively...) l> notifications when an i

Re: r17157 broke snmpusm / "make test" (trunk)

2008-08-18 Thread Wes Hardaker
> On Mon, 18 Aug 2008 00:30:57 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: TA> If we can't come up with a fix in a reasonable time frame, I propose to TA> back out the patch. Reverted. -- Wes Hardaker Sparta, Inc. ---

Autoreply to r17157 broke snmpusm / "make test" (trunk)

2008-08-18 Thread hardaker
Thank you for writing us. Elettronika will be on holiday until 25/08/08, as such we cannot answer now to your e-mail, but we will as soon as we come back. Grazie per aver scritto all'Elettronika. Saremo in vacanza fino al 25/01/08, pertanto risponderemo alla Vs. mail al nostro rientro.

Re: Is it possible to set the L3 source interface IP address in a trap packet?

2008-08-18 Thread Jan Safranek
Zhouhuai Shen wrote: > Hi Jan, > > Thanks a lot for your help. > > I have put the '[snmp] clientaddr' option to set source address of UDP > packet with the trap as in the following in my snmpd.conf file: > > [snmp] > clientaddr 192.168.1.1 > [snmpd] > .(The rest of commands in my snmpd.conf