RE: Multiple traps in a session

2007-09-06 Thread Edison C.
Thanks for that important pointer. It works now. Edison -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, September 06, 2007 2:34 PM To: Edison C. Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Multiple traps in a session

RE: Multiple traps in a session

2007-09-06 Thread Edison C.
snmp_sess_perror ("snmpapp ", &session); printf ("1\n"); snmp_free_pdu (pdu); exitval = 1; } snmp_close (ss); snmp_shutdown ("snmpapp "); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent:

Multiple traps in a session

2007-09-05 Thread Edison C.
Is there a way to send multiple traps in a session? Can some one give some pointers? If I opened a session & tried sending multiple traps I get a " *** glibc detected *** double free or corruption" error when attempting to send the second trap Thanks, Edison -

message displayed on calling snmp_shutdown()

2007-09-05 Thread Edison C.
Hi, When I call snmp_shutdown() in my application (snmpapp) I get the following message. Could someone tell me how I can block this message? No log handling enabled - turning on stderr logging read_config_store open failure on /var/net-snmp/snmpapp.conf Thanks, Edison ---

Trap OID has a 0 before it?

2007-09-03 Thread Edison C.
Hi, I need a clarification on the snmptranslate command. When I try the following the command on a sample MIB file(attached below) snmptranslate -M+. -mNSMAIL-MIB -Tp -IR netscape I got the following output - +--netscape(1450) | +--netscape#(0) | | | +--nsMailServerStart(5

RE: Length of string variable in a Trap

2007-08-29 Thread Edison C.
:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 12:53 AM To: Edison C.; net-snmp-users@lists.sourceforge.net Subject: RE: Length of string variable in a Trap > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Edison C. > Could someone let me know what is the maxim

Length of string variable in a Trap

2007-08-28 Thread Edison C.
Hi, Could someone let me know what is the maximum length of a string that can be stored in a varbind(part of the variable list) in a Trap? Thanks, Edison C. Sonata Software Ltd. Phone 080-26610330 Xtn 1401 www.sonata-software.com <http://www.sonata-software.

Is there a implementation of SNMP Manager in Net-SNMP?

2007-08-21 Thread Edison C.
Hi all, I am new to Net-SNMP. I have found that Net-SNMP provides a built-in SNMP agent(snmpd). Could someone clarify whether a SNMP manager is also provided? Edison C. Sonata Software Ltd. Phone 080-26610330 Xtn 1401 www.sonata-software.com