Re: sysORTable rewrite

2008-03-27 Thread Thomas Anders
Magnus Fromreide wrote: > I have a rewrite of sysORTable that have the following advantages and > disadvantages: Without having done a full review yet, I must say I like what you did. I'd be fine with committing it to trunk. > Another problem of this patch is that it fails to follow the rules set

etimelist[] uninitialized before using in file lcd_time.c in Net-SNMP 5.4.1

2008-03-27 Thread Aleksandr Lomanov
Hello ! init_snmp(); > read_configs(); > snmp_call_callbacks(SNMP_CALLBACK_LIBRARY, SNMP_CALLBACK_POST_READ_CONFIG, NULL); > init_snmpv3_post_config(); > set_enginetime(); > search_enginetime_list(): line 444 in lcd_time.c e = etimelist[rval]; -- uninitialized Array at line 64 in lcd_time

sysORTable rewrite

2008-03-27 Thread Magnus Fromreide
Hello. I have a rewrite of sysORTable that have the following advantages and disadvantages: Advantages: * Supports reregistering of sysORTable entries from subagents * Supports unregistering of sysORTable entries * Defines a public interface * Uses a container handler for

Re: IPNetToMediaTable

2008-03-27 Thread Dave Shield
On 27/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > If agent has to create a row based on the SET request, how can it > differentiate between a > > ->SET request which has been sent to modify the existing entry, but by > mistake the user has sent a request with invalid value for inde

Re: cpu idle is 0%

2008-03-27 Thread Larry Dickson
If you are working on a Unix/Linux system try "man select", otherwise search the web. The select is an extremely basic IO call which waits on several file descriptors simultaneously (plus possibly a timeout) and responds to the first one that comes ready. It is typically found at the head of a loop

RE: IPNetToMediaTable

2008-03-27 Thread mahesh.akula
Hello Dave, Thanks for your quick reply. If agent has to create a row based on the SET request, how can it differentiate between a ->SET request which has been sent to modify the existing entry, but by mistake the user has sent a request with invalid value for index (Sending 1.1.1.1 inst

Re: Disable option for net-snmp oid

2008-03-27 Thread Dave Shield
On 27/03/2008, Amit Kumar <[EMAIL PROTECTED]> wrote: > I am using net-snmp-5.4 version . > I want to disable all the traps related to 8072 > is there is any option to disable all the traps from the 8072 oid. No - you'll need to tweak the code. The two places where enterprise-specific

Disable option for net-snmp oid

2008-03-27 Thread Amit Kumar
Hi All , I am using net-snmp-5.4 version . I want to disable all the traps related to 8072 . ( 1.3.6.1.4.1.8072.4 - NET-SNMP-MIB::netSnmpNotificationPrefix ) is there is any option to disable all the traps from the 8072 oid. i used the option --without-enterprise-notification-oid=.

Re: IPNetToMediaTable

2008-03-27 Thread Dave Shield
On 27/03/2008,<[EMAIL PROTECTED]> wrote: > Is any one aware, how we can implement, adding a conceptual row dynamically > in IpNetToMediaTable. In principle, simply issue a SET command containing the new values. > I see that all the objects in this table are read-create, but I don't see any > ob