how to reduce the size of net-snmp

2008-02-06 Thread Amit Kumar
Hi All , i am using the net-snmp version 5.4 and to reduce the size i used some of the configure options . but it reduced from 4.5 MB to 3.3 MB . i need it to reduced upto 1.5 MB . is there is any other options that i am missing . please help me out to do the same . the snmp versi

Re: infinite loop in handle_getnext_loop()?

2008-02-06 Thread Lisa Morgan
[EMAIL PROTECTED] wrote on 02/06/2008 02:34:48 AM: > On 05/02/2008, Lisa Morgan <[EMAIL PROTECTED]> wrote: > > Each OID is registered individually by calling > > 'netsnmp_create_handler_registration()'. > > No - that just creates the handler registration structure. > How are these OIDs actually

Re: 59:testing full snmpwalk (SNMPv2c) against agent (may take time)....FAIL

2008-02-06 Thread Dave Shield
On 06/02/2008, Isaac Eliassi <[EMAIL PROTECTED]> wrote: > where can I get some more information about the relevant error, a log file > or something similar? Look in the /tmp directory. There should be a directory 'snmp-test-59.1234' or something similar. This contains all the information about th

59:testing full snmpwalk (SNMPv2c) against agent (may take time)....FAIL

2008-02-06 Thread Isaac Eliassi
Hi, When performing a make test I get the following error 58:testing if snmpnetstat finds the running agent in udpTableok 59:testing full snmpwalk (SNMPv2c) against agent (may take time)FAIL Summary: 58 / 59 succeeded. make[1]: *** [test] Error 1 make[1]: Leaving directory `/home/isaace/

Re: snmp_alarm_register()

2008-02-06 Thread Dave Shield
On 06/02/2008, Isaac Eliassi <[EMAIL PROTECTED]> wrote: > #define GAP 10 > snmp_alarm_register(GAP,SA_REPEAT,my_func,NULL) > > Will the function my_func will be executed every 10 seconds or every one > second? Every ten seconds. > The documentation is a bit confusing Agreed. The descriptio

snmp_alarm_register()

2008-02-06 Thread Isaac Eliassi
Hi, For the following data #define GAP 10 snmp_alarm_register(GAP,SA_REPEAT,my_func,NULL) Will the function my_func will be executed every 10 seconds or every one second? The documentation is a bit confusing * @param flags is an unsigned integer that specifies how frequent the callback

Re: overwrite standard mib2/interfaces

2008-02-06 Thread Masoud Fatollahy
Hi Dave and thanks for all your responses, I din't know that this access control list can be done in /usr/local/etc/snmp/snmpd.conf. Is net-snmp default configuration always using this path for its configuration? I think I have all info i needed so far, thank you all for your responses and hel

Re: infinite loop in handle_getnext_loop()?

2008-02-06 Thread Dave Shield
On 05/02/2008, Lisa Morgan <[EMAIL PROTECTED]> wrote: > Each OID is registered individually by calling > 'netsnmp_create_handler_registration()'. No - that just creates the handler registration structure. How are these OIDs actually registered? What is the full code of your initialisation function

Re: error messages

2008-02-06 Thread Dave Shield
On 06/02/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > Whenever I run SNMP walk or SNMP get or SNMP set through command > line, the error messages are printed on the terminal as shown blue colour > below. > [EMAIL PROTECTED] ~]# Snmpwalk -v2c -c public 192.168.157.198 > 1.

Re: overwrite standard mib2/interfaces

2008-02-06 Thread Dave Shield
On 05/02/2008, Masoud Fatollahy <[EMAIL PROTECTED]> wrote: > I have one more question about access control entries, is there any example > code to show how it should done? if not? could you please give me some more > explanation about this access list? What exactly are you asking here? The Acces

Re: overwrite standard mib2/interfaces

2008-02-06 Thread Masoud Fatollahy
Thanks for the conformation. I have one more question about access control entries, is there any example code to show how it should done? if not? could you please give me some more explanation about this access list? Thanks, /Masoud -Original Message- From: "Dave Shield" <[EMAIL PRO

error messages

2008-02-06 Thread Siva Prakash Reddy G
Hi! Whenever I run SNMP walk or SNMP get or SNMP set through command line, the error messages are printed on the terminal as shown blue colour below. [EMAIL PROTECTED] ~]# Snmpwalk -v2c -c public 192.168.157.198 1.3.6.1.4.1.13995.2.1.11 Cannot find module (IP-MIB): At line 0 in