Re: Can not get remote engineTime.

2011-03-23 Thread Zongjun
init_snmp(agentName); Now I can get the snmpEngineID information. Thanks so much for your instructions along the way, and patience as well. Regards, Zongjun * On Fri, Mar 11, 2011 at 4:16 AM, Dave Shield wrote: > On 10 March 2011 17:04, Zongjun wrote: > > I did get some result! > >

Re: Can not get remote engineTime.

2011-03-10 Thread Zongjun
authNoPriv localhost:161 snmpEngineBoots.0 SNMP-FRAMEWORK-MIB::snmpEngineBoots.0 = No Such Object available on this agent at this OID On Thu, Mar 10, 2011 at 8:54 AM, Zongjun wrote: > * > Dave, > > My bad. Here is the return. So it does show "The SNMP Management > Archite

Re: Can not get remote engineTime.

2011-03-10 Thread Zongjun
* Dave, My bad. Here is the return. So it does show "The SNMP Management Architecture MIB." snmpwalk -v 2c -c public localhost:6161 sysORTable SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysOR

Re: Can not get remote engineTime.

2011-03-08 Thread Zongjun
* * On Tue, Mar 8, 2011 at 12:24 AM, Dave Shield wrote: > On 7 March 2011 21:12, Zongjun wrote: > > I have tried to use different ports other than 6161 (7161,9161,3456), and > > still got the "bind failed" error below. >

Re: Can not get remote engineTime.

2011-03-07 Thread Zongjun
MEWORK-MIB::snmpEngine.0 = No Such Object available on this agent at this OID * On Mon, Mar 7, 2011 at 2:32 AM, Dave Shield wrote: > On 4 March 2011 18:47, Zongjun wrote: > > To list the complete information, > > I have all the output from net-snmp-config below: > >[snip] &

Re: Can not get remote engineTime.

2011-03-04 Thread Zongjun
e_data_access ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_data_access ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_data_access udp-mib/data_access/udp_endpoint_comm

Re: Can not get remote engineTime.

2011-03-04 Thread Zongjun
d-perl' '--enable-mfd-rewrites' '--enable-local-smux' '--with-sys-contact=root@localhost' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-L/usr/lib64' '

Re: Can not get remote engineTime.

2011-02-28 Thread Zongjun
pe."_none_".1.2 = INTEGER: permanent(4) SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."all".1.1 = INTEGER: active(1) SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_all_".1.0 = INTEGER: active(1) SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_all_".1.1 =

Re: Can not get remote engineTime.

2011-02-22 Thread Zongjun
wrote: > On 17 February 2011 17:40, Zongjun wrote: > >> What access control do you have in the snmpd.conf file. > >> > > rwuser public > > com2sec public default public > > group public v1 public > > access public "" any noau

Re: Can not get remote engineTime.

2011-02-17 Thread Zongjun
*Thanks Dave. Please see my access control inline below. * On Thu, Feb 17, 2011 at 12:34 AM, Dave Shield wrote: > On 16 February 2011 21:21, Zongjun wrote: > > Interesting, there DOES exist a difference. It returns the following: > > snmpgetnext localhost snmpEngine > > SN

Re: Can not get remote engineTime.

2011-02-16 Thread Zongjun
2011 at 12:25 PM, Dave Shield wrote: > On 16 February 2011 17:58, Zongjun wrote: > > snmpwalk remoteHost snmpEngine > > SNMP-FRAMEWORK-MIB::snmpEngine = No Such Object available on this agent > at > > this OID > > Now can you try with the command "snmpgetnext

Re: Can not get remote engineTime.

2011-02-16 Thread Zongjun
*snmpwalk remoteHost snmpEngine SNMP-FRAMEWORK-MIB::snmpEngine = No Such Object available on this agent at this OID** * On Wed, Feb 16, 2011 at 9:15 AM, Dave Shield wrote: > On 16 February 2011 17:11, Zongjun wrote: > > I did an exhaustive WALK and GET on snmpEngineID, snmpEngineB

Re: Can not get remote engineTime.

2011-02-16 Thread Zongjun
sageSize(4) | | Range: 484..2147483647 * On Wed, Feb 16, 2011 at 12:30 AM, Dave Shield wrote: > On 16 February 2011 02:38, Zongjun wrote: > >> Otherwise, sending a GET query to snmpEngine.0 is another way to go. > > > > I get the following response on a GET to snm

Re: Can not get remote engineTime.

2011-02-15 Thread Zongjun
* * On Tue, Feb 15, 2011 at 2:37 PM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > >>>>> On Tue, 15 Feb 2011 13:01:02 -0800, Zongjun > said: > > Z> I am trying to get the engine time (esp. the engineBoots) of the remote > Z> agent, by using

Re: Can not get remote engineTime.

2011-02-15 Thread Zongjun
Hi, Wes, I am trying to get the engine time (esp. the engineBoots) of the remote agent, by using get_enginetime_ex api. The api call fails. I also tried another api, get_enginetime (though I think this one is actually returning the local engine time). It also fails.* * Thanks, Zongjun On Tue

Re: Can not get remote engineTime.

2011-02-15 Thread Zongjun
*Is there a configuration option to the NET-SNMP Agent in order to *expose* this information? * On Thu, Feb 10, 2011 at 12:06 PM, Zongjun wrote: > *Hi,* > * > * > *I am using netsnmp 5.3.1. I am trying to get the authoritative engine > time by calling to get_enginetime(), b

Can not get remote engineTime.

2011-02-11 Thread Zongjun
somewhere like after snmp_sess_close, but got the same thing)? Or is there an option for the netsnmp library?* * * *Thanks, Zongjun* -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory

Can not get remote engineTime.

2011-02-10 Thread Zongjun
snmp_sess_close, but got the same thing)? Or is there an option for the netsnmp library? Thanks, Zongjun * -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they