Dear. Everyone!
 
The OS of my machine is "HP-UX 11.31 ia64 ".
 
When I tried "snmpwalk" for OID 1.3.6.1.2.1.2.2.1 using HP snmpdm,
I could get the all results and very fast besides.
 
=============================================================================================
#snmpdm
SNMP Research SNMP Agent Resident Module Version 15.3.1.0 
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
2000, 2001 SNMP Research, Inc.
#mib2agt
#snmpwalk -v 2c -c mycomm myserver 1.3.6.1.2.1.2.2.1 
 
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
.....
IF-MIB::ifSpecific.54 = OID: SNMPv2-SMI::transmission.7
IF-MIB::ifSpecific.55 = OID: SNMPv2-SMI::transmission.7
IF-MIB::ifSpecific.56 = OID: SNMPv2-SMI::transmission.7
IF-MIB::ifSpecific.57 = OID: SNMPv2-SMI::transmission.7
=============================================================================================
 
But when I tried same job using net-snmp,
I couldn't get the all results and very very slow.
And I got the message "Timeout: No Response from myserver"
 
=============================================================================================
# ps -ef|grep snmpd
 root 12723 4411 0 08:16:23 pts/tb 0:00 grep snmpd
 root 27404 1 0 06:34:02 ? 2:31 /opt/iexpress/net-snmp/sbin/snmpd -c 
/opt/iexpress/net-snmp/etc/snmpd.conf
 
# cat /opt/iexpress/net-snmp/etc/snmpd.conf
com2sec mycomm 192.168.1.0/24 mycomm
group monitor v2c mycomm 
group monitor v1 mycomm 
view all included .1
access monitor "" any noauth prefix all none none
 
# snmpwalk -v 2c -c mycomm myserver 1.3.6.1.2.1.2.2.1 
 
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
...
IF-MIB::ifIndex.46 = INTEGER: 46
Timeout: No Response from myserver
=============================================================================================
 
Why couldn't I get right results?
 
I have to use net-snmp because there are some private OID for my NMS system.
(e.g. extend .1.3.6.1.4.1.xxx.xx.1.1 ioDeviceName /myprogram/myfunction1 arg)
 
Please help me to use net-snmp well.
 
Thanks in advance.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 nabongwon님의 블로그
 안녕하세요.
 
 
 
 
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to