Re: Agent development

2008-07-01 Thread deka aditia
On Tue, Jul 1, 2008 at 6:28 PM, Dave Shield <[EMAIL PROTECTED]> wrote: >[ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the lis

Re: about send trap

2008-07-01 Thread Paul
Hi Dave, Thank you very much. Now my trap receiver actuall receives the trap. But why can't I capture the outgoing trap packets via Ethereal(wireshark) on my host? Its's so amazing! Thanks, - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Paul" <[EMAIL PROTECTED]> Cc:

Re: about send trap

2008-07-01 Thread Dave Shield
2008/7/1 Paul <[EMAIL PROTECTED]>: > question 1: > I add this sample code into my existed module and built it as a dynamic > module (.so file). Does this code also work fine in a dynamic module? It should do, yes. There is no difference in operation between a dynamic and a static MIB module. Onc

about send trap

2008-07-01 Thread Paul
Hi all, I want to try how to send a trap. So I download the example code "notification.c" from http://www.net-snmp.org/dev/agent/notification_8c-example.html. I have following questions: question 1: I add this sample code into my existed module and built it as a dynamic module (.so file). Does

Re: Agent development

2008-07-01 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2008/6

Re: Net-snmp-coders Digest, Vol 25, Issue 36

2008-07-01 Thread Dave Shield
2008/6/30 Orlando Prince <[EMAIL PROTECTED]>: > I have the SUN's snmp running on my solaris 9 box. > It seems to me however that this is a snmp v1 implementation. > I decided to install net-snmp ver 5.4.1 for solaris 9 Did you stop and/or remove the Sun SNMP agent before installing Net-SNMP ? Did

Re: Multithreaded : IS IT Safe to create new thread for updating CONTAINERS

2008-07-01 Thread Dave Shield
2008/7/1 <[EMAIL PROTECTED]>: > I agree to your point that we need to take lock on every place of my mib > module > (whose code is generated by mib2c) which access the CONTAINER Not just your code - you will need to look at any relevant helpers as well. Remember that the Net-SNMP agent is not de

Re: Net-snmp-coders Digest, Vol 25, Issue 36

2008-07-01 Thread Orlando Prince
Hi all, I have the SUN's snmp running on my solaris 9 box.It seems to me however that this is a snmp v1 implementation.I decided to install net-snmp ver 5.4.1 for solaris 9, and i still can't verify that snmp v2c works. When i type the command: snmpwalk -v 1 -c public localhost system I get a

Re: What is the difference between SnmpAdminString and DisplayString?

2008-07-01 Thread Dave Shield
2008/6/30 Need Help <[EMAIL PROTECTED]>: > Lets say I want to return 2000 characters . is there a definition which > exists which I can use in my MIB? "SYNTAX OCTET STRING (SIZE (0..2000))" or simply "SYNTAX OCTET STRING" You don't *have* to use the Textual Convention definitions