trap callback transport

2005-12-21 Thread bernhard . fischer
Hi there! I am about finding a way for the net-snmp-agent(snmpd) to poll a value using a specific polling-rate. To do this i checked out the examples/notification.c and implemented my new file (SysSessionActive.c) the same way as shown in the notification.c file. It compiled cleanly but if i start

Re: Is there a Tutorial on implementing mib2c stubs?

2005-12-21 Thread Dave Shield
On Wed, 2005-12-21 at 18:05 +0200, Makavy, Erez (Erez) wrote: > 1) How do I decide which mib2c to use? You read the FAQ entry: Which mib2c configuration file should I use? :-) > 2) Is there a tutorial explaining how exactly the Agent handler > mechanism works? Not as such. The best descri

includes possible in snmpd.conf ?

2005-12-21 Thread Palmadesso Jack IT743
Hopefully I can make this a simple question.  Is it possible to use an include in an snmpd.conf so that we can call a common file to read in for things like disk and process monitoring.  Here is an example for disk monitoring:   Current  snmpd.conf snippet:   disk  / 10% disk  /home 30%   How

Is there a Tutorial on implementing mib2c stubs?

2005-12-21 Thread Makavy, Erez (Erez)
Hey,   1) How do I decide which mib2c to use?   [I got to learn them all and see which one fits.   Is there a tutorial for this, or should I run each of them and read the code comments?]   2) Is there a tutorial explaining how exactly the Agent handler mechanism works?   Thanks, Erez.    

Re: A few questions about Traps distribution.

2005-12-21 Thread Dave Shield
On Wed, 2005-12-21 at 15:36 +0200, Makavy, Erez (Erez) wrote: > 1) How can I dynamically configure trap sinks? > - is there a MIB for this?) Yes. Or rather two MIBs: SNMP-TARGET-MIB specifies *where* to send notifications and the version & settings to use SNMP-NOTIFICATION-MIB

A few questions about Traps distribution.

2005-12-21 Thread Makavy, Erez (Erez)
Hi,1) How can I dynamically configure trap sinks? (while the agent is running)    - reparsing snmpd.conf file? - access the configured list with internal API? - is there a MIB for this?)2) What is a trapsess token in snmpd.conf?   (the trapsess mentioned in this diagram)    

Re: cross-compile net-snmp5.2 for embedded Linux

2005-12-21 Thread Hector Oron
Also you could compile dinamically, i get for mpc855 this footprint: 40 KB for snmpdOn 12/21/05, Zheng LQ <[EMAIL PROTECTED]> wrote: Hello all,I want to port NET-SNMP 5.2 to embedded Linux based on MPC850, and I foundthatthe size of binary files compiled is so large, especially the library filesint

Re: cross-compile net-snmp5.2 for embedded Linux

2005-12-21 Thread Dave Shield
On Wed, 2005-12-21 at 15:57 +0800, Zheng LQ wrote: > anyone can tell me how to reduce the size of net-snmp package? Please see the FAQ entry: How can I reduce the memory footprint? Dave --- This SF.net email is sponsored by: Splunk Inc. Do

RE: cross-compile net-snmp5.2 for embedded Linux

2005-12-21 Thread Andy Hawkins
> I want to port NET-SNMP 5.2 to embedded Linux based on > MPC850, and I found > that > the size of binary files compiled is so large, especially the > library files > in > the directory of bin. The storage space of flash in my > embedded Linux, > however, > is only 8MB, anyone can tell m

cross-compile net-snmp5.2 for embedded Linux

2005-12-21 Thread Zheng LQ
Hello all, I want to port NET-SNMP 5.2 to embedded Linux based on MPC850, and I found that the size of binary files compiled is so large, especially the library files in the directory of bin. The storage space of flash in my embedded Linux, however, is only 8MB, anyone can tell me how to r

Snmptrapd performance issue

2005-12-21 Thread Yadav, Amit
Hi All, I am facing some problems with snmptrapd performance. Traps get dropped when large numbers sent in a short period of time. there appears to be some limitation in the number of trap snmptrapd can deal with. If I simulate our application in generating large number(1000) of traps in a

Error: Allocation of length 1504201 failed

2005-12-21 Thread Sridhar Addagada
When I start snmpd on my target board (ML401), i get the following error. Is this message related to net-snmp? Should i be posting this message to the uclinux-dev mailing list. Here is the error # snmpd Allocation of length 1504201 from process 92 failed Free pages: 54548kB ( 0kB H