snmpget

2010-01-19 Thread Hemant Soundankar
Why we cannot issue snmpget request on any object inside a table? -- Hemant Soundankar -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportun

Re: Compiling NetSNMP on HPUX 11.0/RISC

2010-01-19 Thread Magnus Fromreide
On Tue, 2010-01-19 at 13:10 -0700, nets...@mysnmp.org wrote: > Hi Coders: > > I am running into a compile error I do not recognize (further below). > Any comments appreciated. My compile environment is: > > #uname -a > HP-UX cphpqa38 B.11.00 U 9000/800 136029688 unlimited-user license > > gc

Compiling NetSNMP on HPUX 11.0/RISC

2010-01-19 Thread netsnmp
Hi Coders: I am running into a compile error I do not recognize (further below). Any comments appreciated. My compile environment is: #uname -a HP-UX cphpqa38 B.11.00 U 9000/800 136029688 unlimited-user license gcc version 4.2.3 GNU make (gmake) Using CFLAGS="-munix=95 (unix98.o does not exi

Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : > Thanks, Dave >  Do you mean if the mib file is 'installed ' correctly, the trap should be > caught with the name in string format, not OID format? Bearing in mind that you've said very little about what your script is trying to do, or how you've coded

RE: Convert OID to object name

2010-01-19 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Thanks, Dave Do you mean if the mib file is 'installed ' correctly, the trap should be caught with the name in string format, not OID format? -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of ext Dave Shield Sent: Tuesday, January 19, 2

Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : >  I call the trap handler program for the trap. > The mib files for the trap is put into the standard MIB directory for > use. Is that all? Please see the FAQ entry "How do I load a MIB?" Dave -

RE: Convert OID to object name

2010-01-19 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Hi, Dave I call the trap handler program for the trap. The mib files for the trap is put into the standard MIB directory for use. I can see the routine: netsnmp_sprint_realloc_objid_tree can do the convertion work, but it's obviously not a good choice for this task, do you have some suggestion:

Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : >I have a need to convert the caught trap OID into the object name sending > the trap: > > For example, an agent send a trap (trapSource: .1.2.3.4), to the snmptrapd, > the snmptrapd got the trap name is .1.2.3.4 > > What I need is the name :trapSource f