Fw: ifIndex and its instances

2005-03-24 Thread Emi . Yanagi
Hi, I sent out an email a week ago which I wish could get some feedback. Continuing my research, I found in RFC2741 an Example which is exactly what I want to do to avoid conflict of ifTable between master agent and my subagent. 7.1.4.2.3.     Examples   Example 1:      A subagent implemen

Re: How to prevent line wrapping of hex data?

2005-03-24 Thread Andy Smith
Check the snmpcmd man page. There maybe be a from of the -O option that does what you want, although I couldn't find specific mention of it. Aside from hacking snmpwalk you could also write a wrapper script to strip newlines from the hex output. Regards, Andy Yusuf Kürşat Tuncel wrote: Hi All,

OID comparision in callback handler

2005-03-24 Thread Yeo Siow Vic
hi,   I have a MIB table, i use mib2c to create the c file. I want to customise the processing of the MIB table. Therefore, i have to compare the OID of eacg incoming request and take action respectively.   How should i compare the OID in callback handler??   i can't figure out.   if (requ

Re: Regarding net-snmp-MIB

2005-03-24 Thread Andy Smith
A good place to start would be: http://www.net-snmp.com/docs/FAQ.html#How_do_I_write_C_code_to_integrate_with_the_agent_ Then if there are specific problems we can probably help you work through them. Regards, Andy Vamsi Praveen wrote: Sir, Our's is a company developing the LAN switc

Re: Minimizing NetSNMP Footprint

2005-03-24 Thread Andy Smith
bryce wrote: Dave, I'm getting ready to install SNMP in a small embedded platform. Net-SNMP immediately came to mind as a port since I've used it and liked it in the past. At this point, using SNMPv1 will suffice for this simple device; I foresee it using only a few MIBs. The client is already ma

error in packet : inconsistentName | Plz clear this

2005-03-24 Thread Krishna Mohan
Hi, I'm getting the following error when i execute snmpget for table entry.it's on linux 386. Tree looks like this : rocsystable(1) |_rocsysentry(1) |_rocsysIndex(1) |_rocVar1(2) $snmpget -v 2c -c public 172.16.15.34 .1.3.6.1.4.1.1.1.1.2.0 Error in packet Reason: inconsistentName

error in packet : inconsistentName

2005-03-24 Thread Krishna Mohan
Hi, I'm getting the following error when i execute snmpget for table entry. Tree looks like this : rocsystable(1) |_rocsysentry(1)   |_rocsysIndex(1)   |_rocVar1(2) $snmpget -v 2c -c public 172.16.15.34 .1.3.6.1.4.1.1.1.1.2.0 Error in packet Reason: inconsistentName (That o