net-snmp takes a long time to create table

2011-11-25 Thread James Puttick
I have a working net-snmp application, with my own MIB. My MIB has a number of statically-sized tables. I have increased the size of one of those tables to 10,000 rows. (It was less than 1000 rows previously). At start-up, my code executes entry = SNMP_MALLOC_TYPEDEF (struct my_table); r

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
On 25 November 2011 14:56, prashant n wrote: > As per your suggestion, i created snmpd.conf file > and also i created snmptrapd.conf file which contains only single line > I am able to run the SNMP agent > and i started snmptrapd demon on other terminal > When i started SNMP agent i

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-25 Thread prashant n
Hi Dave, * Thanks for your valuable feedback.* * * As per your suggestion, i created* snmpd.con*f file and it looks like following ### # SECTION: Access Control Setup # # This section defines who is allowed to ta

Re: Updating of MIB file (one of my own devising) object values defined under MIB table

2011-11-25 Thread Dave Shield
On 24 November 2011 12:30, prashant n wrote: >  Requirements of DESC MIB: MIB contains a table such as diTable >  DESC MIB is designed to both monitor and manage. What exactly is it that this table is managing? What do the diPinValues represent? Where do these values come from? How are they dete

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
On 25 November 2011 06:30, prashant n wrote: >  Please suggest me on following things > 1) I want to send SNMP v2 traps by the SNMP agent. See the 'snmpd.conf(5)' man page - in particular "trap2sink" and "informsink" > So in the previous mail you told some thing like > "The second pre-requis

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
On 25 November 2011 06:30, prashant n wrote: > 1) Whether i need to write above directive(authCommunity) > in snmptrapd.conf configuration file ? Yes > 2) Whether any other directives i need to add in  snmptrapd.conf > configuration file in order to receive notification ? I don't think

Re: snmpset with multiple OIDs

2011-11-25 Thread Dave Shield
On 25 November 2011 09:36, Nilesh Karle wrote: > I found “snmpset” misbehaves when multiple OIDs are given. > Note: One OID of agent and one of sub-sgent. > Even when the oid of main agen is not writable, > snmpset shows the result as succeded. Hmmm... sounds odd. What version of the agent are

snmpset with multiple OIDs

2011-11-25 Thread Nilesh Karle
Hi, I found "snmpset" misbehaves when multiple OIDs are given. Note: One OID of agent and one of sub-sgent. Even when the oid of main agen is not writable , snmpset shows the result as succeded. Any hint/suggestion on this ? Thanks, Nils This message and any

RE: Setting IP address through SNMP

2011-11-25 Thread basil.joseph
Hi, Update: [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20 ipAddressIfIndex.ipv4.4.10.10.10.40 = 3 ipAddressRowStatus.ipv4.4.10.10.10.40 = createAndGo Error in packet. Reason: (genError) A general failure occured Failed object: IP-MIB::ipAddressIfIndex.ipv4."10.10.10.40" The command act