net-snmp debug problem

2008-07-07 Thread xiao ren
Hi! I'm using Eclipse3.2 + CDT 3.1 as IDE to develop snmp application(under linux ubuntu 7.10), and ran into an error when I debug the simple 'snmpdemoapp' program. While step to 'snmp_open()' function, gdb always terminated and report: Warning: Cannot insert breakpoint 0. Error accessing

SNMP expertise

2008-07-07 Thread laurent . habib
Hello, My surname is Laurent and i work on snmp application for school. I had make ASN1 structure for encoding and decoding packet and i have this probleme : - i could not differentiate string / binstring / and hexastring Is there a simply way to do that ? Thank you very much Your help

Re: SNMP expertise

2008-07-07 Thread Dave Shield
2008/7/7 [EMAIL PROTECTED]: - i could not differentiate string / binstring / and hexastring Is there a simply way to do that ? Look at a) the content of the string b) the MIB definition of the corresponding object. As far as basic SNMP is concerned - a string is a string is a string.

Source for ifOperStatus information?

2008-07-07 Thread Ron Rader
We build net-snmp 5.4.1 from scratch, and run it on an embedded Linux with kernel 2.6.16. How does the snmpd agent keep ifOperStatus up to date? net-snmp appears to offer multiple methods for a Linux system: - agent/mibgroup/if-mib/data_access/interface_sysctl.c

RE: snmpwalk is sending an exact request when walking a tree

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mn kh Sent: Thursday, July 03, 2008 11:42 PM Following is my mib as printed by print_mib function: Children of mmsc(8): The printout appears to be counting down..? when i run the subagent and the snmpd and i try to

RE: net-snmp debug problem

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of xiao ren Sent: Monday, July 07, 2008 4:21 AM I'm using Eclipse3.2 + CDT 3.1 as IDE to develop snmp application(under linux ubuntu 7.10), and ran into an error when I debug the simple 'snmpdemoapp' program. While step to

RE: SNMP expertise

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 07, 2008 8:55 AM As far as basic SNMP is concerned - a string is a string is a string. ...is, pedantically, a sequence of octets. HTH, Mike

RE: net-snmp under ais control

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zhouhuai Shen Sent: Monday, July 07, 2008 4:59 PM I am trying to add some codes to let ais manage the net-snmp daemon. Does anyone know if it's a good/bad idea? How difficult will it be? Care to point us to some

How to modify the Makefile if I add new files into agent directory

2008-07-07 Thread Zhouhuai Shen
Hi All, If I want to add a few .c and .h files, such as myFile.c and myFile.h into the agent sub-directory doing some testings, how can I modify the Makefile and Makefile.in in the agent sub-directory to make it work? Many thanks.