Traphandle for multiple traps -sometimes drops or delay

2010-12-13 Thread Sateesh Hegde
Hi, I have the following problem and thought you can help me out. Apologies for sending a direct email. We have this requirement of storing,processing and then selectively forwarding the traps. I have around 20 traphandle statements(all of them calling the same handler) in snmptrapd.conf and

how to generate c file using mib2c for node containg both scalars and table

2010-12-13 Thread MAS .
Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file and header file for scalar using mib2c.scalar.conf and similarly for table using mib2c.table_data.conf, but I want to generate c file and header file

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-13 Thread rakesh zingade
generate scalar and a table source file, club all together while compiling On Mon, Dec 13, 2010 at 4:54 PM, MAS . mass3m...@gmail.com wrote: Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-13 Thread Ashwin Kumar
Very simple, using CLI, run mib2c -c YOUR-MIB's-NODE-NAME On Mon, Dec 13, 2010 at 4:54 PM, MAS . mass3m...@gmail.com wrote: Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file and header file for

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-13 Thread Dave Shield
On 13 December 2010 11:24, MAS . mass3m...@gmail.com wrote: I want to generate c implementation file and header file for the MIB-NODE file containing  both scalars and table. Please see the FAQ entry How can I have mib2c generate code for both scalars and tables? This states the

Re: When use data type CounterBasedGauge64, what should be diplayed, Counter64 or CounterBasedGauge64?

2010-12-13 Thread Dave Shield
On 10 December 2010 17:34, W Z lh_1...@hotmail.com wrote: Counter64 is what displayed.   My question is, is Counter64 an acceptable display unit for users?   Or user expects to see CounterBasedGauge64 instead? The design of the Net-SNMP command-line tools has been the same for many many years -

SIGHUP to snmpd causes hrStorage oddities

2010-12-13 Thread Hart, Corey
All, After sending a SIGHUP to snmpd with skipNFSInHostResources enabled causes hrStorage to only return data from hrMemorySize and not hrStorageTable. If I disable skipNFSInHostResources everything works as expected. We are running a patched net-snmp-5.4.1 but I have tested this against the

what is valid for in table struct

2010-12-13 Thread Kathy McLeod
Hi - I use mib2c.table_data.conf to generate my code outlines for tables. For the table row entry structure, there is a valid field defined, but I am not sure how or when that is used. I don't see anywhere in the code where it is checked and for other tables I implemented, I didn't use it and