On Unix use the below command :
nm libraryname | grep snmp_set_var_objid
Thanks.
From: Tewen Hsieh [mailto:[email protected]]
Sent: Tuesday, May 05, 2009 11:35 AM
To: [email protected]
Subject: How to know a net-snmp api belongs to
Hi all,
as title,
How can I know a net-snmp api belongs to which library?
ex:I want to know "snmp_set_var_objid" belongs to which library (libnetsnmp.so,
libnetsnmpagent.so,...)?
Is there any document or method to know it?
Thanks,
永鈦鑫 iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinch
> On Fri, 1 May 2009 17:17:21 -0700, Daniel Chuang
> said:
DC> What ssh2 library is being used in 5.5 pre2 ?
This one:
# rpm -qi libssh2
Name: libssh2 Relocations: (not relocatable)
Version : 0.18 Vendor: Fedora Project
Rele
2009/5/4 Kang Chen :
> The command:
> snmpgetnext -v3 -u leelin -n "interface" -l authNoPriv -a MD5 -A authpass
> localhost userStatus.1.1.97
> The result is the same using snmpgetnext.
Hmmm
Could you possibly send me a copy of the code file that you are using?
(No need to post it to the lis
Hi, Dave
The command:
snmpgetnext -v3 -u leelin -n "interface" -l authNoPriv -a MD5 -A authpass
localhost userStatus.1.1.97
The result is the same using snmpgetnext.
-邮件原件-
发件人: [email protected] [mailto:[email protected]] 代表 Dave
Shield
发送时间: 2009年5月4日 16:06
收件人: Kang
2009/5/4 Kang Chen :
> The snmpd.conf list as following:
[snip]
And what's the command that you are using
to query the agent?
What happens if you try with "snmpgetnext ... .1"
?
Dave
--
Register Now & Save for Ve
Hi, Dave
The snmpd.conf list as following:
# Second, map the security names into group names:
# sec.model sec.name
group Groupv1 v1 helloworld
#group Groupv2c v2clocal
group Groupv3 usmleelin
# Third, create a view for us to let the groups have ri
Thanks Thomas.
I tried the Sun Freeware binary package of net-snmp 5.4.1.1. It worked for
me.
On Fri, May 1, 2009 at 8:17 PM, Thomas Anders
wrote:
> hareesh wrote:
> > making all in /Desktop/net-snmp-5.4.2.1/agent
> > /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent
> > -I../age
2009/5/4 Kang Chen :
> I use the mib2c.iterator.conf to generate the c code, and in the function
> initialize_table_exampleTable(), I add
> reg->contextName = strdup("interface")
Yup - that looks about right.
Just to make sure, try walking the nsModuleName object.
You should see something reg