Fwd: about snmpset and data_set.c notification.c

2006-12-14 Thread Clement Hsu
_set.c notification.c To: Clement Hsu <[EMAIL PROTECTED]> Cc: net-snmp-coders [Firstly, having asked a question, can you please *NOT* repeat the same question again. The people who support this software are unpaid volunteers, and answering queries has to fit around other commitments - most

Re: about snmpset and data_set.c notification.c

2006-12-14 Thread Dave Shield
e_data.conf', 'mib2c.container.conf' or 'mib2c.iterator.conf'. These three have a very similar handler structure, with the switch statement shown above. (Note that the MfD helper uses a completely different organisation, so don't try to compare this with anything

about snmpset and data_set.c notification.c

2006-12-13 Thread Clement Hsu
nt, it does not contains the above switch...case..., instead, I saw many API such like netsnmp_create_table_data_set, . ... and so on. In this situation, I don't know how to develop my own mib. Furthermore, the notification.c declare oid and oid_length first, but in snmpdemoapp, the firs

Re: notification.c ... TObjID: Enterprises ... why?

2005-08-23 Thread Dave Shield
On Fri, 2005-08-19 at 10:43 +0200, Torben Surmer wrote: > when I compile the notification.c sample (net-snmp-config --compile-subagent > test notification.c) and run the created test agent, my snmp trap receiver > prints out: [snip] > do anyone know how I have t

notification.c ... TObjID: Enterprises ... why?

2005-08-19 Thread Torben Surmer
Hallo, when I compile the notification.c sample (net-snmp-config --compile-subagent test notification.c) and run the created test agent, my snmp trap receiver prints out: TObjID:enterprises; ObjID1:sysUpTime.0; W1:15274; ObjID2:snmpTrapOID.0; W2:netSnmp.2.3.0.1; ObjID3:netSnmp.2.3.2.1.0; W3

notification.c

2005-07-06 Thread Garima Sinha
Hi,   Can we use notification.c separately to generate traps using enterprise OIDs? I have been trying to use it as a separate module...Just keeping the Net-SNMP APIs...But without any success. Has someone done this before?    Thanks & Regards,Garima Sinha