Re: Solaris memTotalFree.0

2007-05-14 Thread Thomas Anders
Dave Shield wrote: > I've just added the basic content of the 'getTotalFree' routine to the new > HAL-based mechanism. Give it a whirl, and let me know of any problems. Fails to compile for me on Solaris 9 SPARC: cc -I../../include -I/home/anders/src/net-snmp-5.5svn/include -I. -I../../agent -I

rfc: CCLD instead of LINKCC?

2007-05-14 Thread Thomas Anders
In r15192 we've been introducing LINKCC / --with-linkcc in our Makefiles and configure options, respectively, for potentially using a different linker: r15192 | dts12 | 2006-09-12 19:30:26 +0200 (Di, 12 Sep 2006) | 3 lines NEWS: build: - [BUGS 1416481] Support specifying an explicit linker. Defaul

Problem generating code with mib2c

2007-05-14 Thread Sergi Diaz
Hi all, Can someone please put some light on this: I'm trying to generate template code using mib2c.mfd.conf on a mib i'm developing (work in progress). I've been following tutorial 5 (ifTable generation code). The problem I've found when trying to generate template code from the mib is th

Help to get trap name from PDU

2007-05-14 Thread Tu, Don
Hi all, I am writing a call back function to selectively forward traps based on the name (or OID) of the trap in the PDU. I need to check the trap name inside the PDU against a given list of trap names. Is there a function call I can use to extract the name or OID of the trap from the trap PDU? T

Re: patch for snmpd (skipNFSInHostResources + HRFS_ignores for linux)

2007-05-14 Thread Thomas Anders
JUNG, Christian wrote: > I've made two patches for the host resources part of snmpd. Thanks. Could you submit them to our patches tracker http://www.net-snmp.org/patches , please, so they won't get lost? Cheers, Thomas ---

Re: agents with net-snmp 5.4

2007-05-14 Thread Dave Shield
On 14/05/07, Sandrine MONOT <[EMAIL PROTECTED]> wrote: > I have done the porterage of this agents with net-snmp 5.4 to x86 > solaris 10. > When I launch the agent binary : /opt/FERMA/sbin/agtcks -p 7075 The '-p' flag was dropped with the switch from v4 (UCD) to v5 (Net-SNMP) Try /opt/F

agents with net-snmp 5.4

2007-05-14 Thread Sandrine MONOT
I have somes agents build with ucd-snmp ( old version of net-snmp ) . I have done the porterage of this agents with net-snmp 5.4 to x86 solaris 10. I adapt the new makefiles agents of net-snmp and keep agent.c and agent.h code ( which contains init_agent and var_agents functions ) I obtains

patch for snmpd (skipNFSInHostResources + HRFS_ignores for linux)

2007-05-14 Thread JUNG, Christian
Hi, I've made two patches for the host resources part of snmpd. One is for the skipNFSInHostResources option. If enabled a 'snmpwalk' of the hrStorageTable stops at the first occurance of a net-filesystem (because Get_Next_HR_Store() should return -1 or something similar at this point). Subsequent

RE: Asynchronous EngineID discovery

2007-05-14 Thread Passera Pablo-APP015
Hi David, >First, I don't believe that in the NET-SNMP code a session is established between an SNMP agent >acting in the notification generator with each notification receiver. Likewise, I didn't believe >that each notification receiver establishes a session with each potential notificat

Re: a problem about handling snmptrap

2007-05-14 Thread Aluisio Leonelo Victal
I used net-snmp-5.3.0.1, I also used snmptrapd_add_session(netsnmp_transport *transport) to get the packet, and in the function callback function --- snmp_input is used to process an incoming trap through calling a new function--trap_message_handler(netsnmp_pdu *, netsnmp_trapsport *, netsnm

Re: FW: regarding creation of subagents using proxy.

2007-05-14 Thread Dave Shield
On 14/05/07, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > what I mean is manager sends a request to the master agent( > 192.168.157.52), in the master agent I have configured the snmpd.conf > file Then Master agent sends request to the subagents > i.e.,10.10.1.10 and 10.10.1.20.

FW: regarding creation of subagents using proxy.

2007-05-14 Thread Siva Prakash Reddy G
Hi! Thanks Dave, I understood that there is something wrong in my snmpd.conf file which you figured out, once again thank you. > >If I am using context name in the master agent, how come > >manager will come to know from which subagent he got request, when I > >d

Re: regarding creation of subagents using proxy.

2007-05-14 Thread Dave Shield
Let's have a closer look at your settings: On 14/05/07, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > com2sec -Cn modemHost1 remHost1 10.10.1.10/255.255.255.255 public I.e. "treat the 'public' community from 10.10.1.10 as the security name 'remHost1' in the context 'modemHost1

RE: regarding creation of subagents using proxy.

2007-05-14 Thread Siva Prakash Reddy G
Hi! Thank you very much Dave for you are constant help. In my Master agent I have configured the snmpd.conf file for proxy settings, as shown in the below. # sec.namesource community com2sec