那位配置 oracle snmp ,我在9205上配置oracle snmp 出现了问题,操作系统是 hpux 11, 以下是我的配置方法:
1.apply hp patch
PHSS_27858 2.Config oracle database parameter file
1)$ORACLE_HOME/network/snmp/peer/CONFIG.master
2)$ORACLE_HOME/network/snmp/peer/CONFIG.encap3.start snmp agent
1)Stop all snmp related process that may be running, i.e.:
snmpd, mib2agt, hp_unixagt, master_peer, encap_peer, ora_naaagt, dbsnmp
AS ROOT:
ps -ef | grep snmp
ps -ef | grep agt
ps -ef | grep peer 2)AS ROOT:
# cd $ORACLE_HOME/network/snmp/peer
# ./start_peer -a 4.start Oracle Intelligent agent
1)AS ORACLE:
$agentctl start agent但是我测试的时候不成功,通过snmp取不出数据的信息:
snmputil walk 132.163.9.65 public .1.3.6.1.2.1.39
End of MIB subtree.
--------
我检查了系统信息:
$ netstat -a | grep snmp
udp 0 0 *.snmp *.*
$ netstat -a | grep 8161
udp 0 0 *.8161 *.* $ ps -ef | grep snmp
root 1048 1 0 Apr 9 ? 0:03 /usr/lbin/cmsnmpd
oracle 14852 14849 0 Aug 30 ? 1:02 /oracle/app/oracle/product/9.2.0.4/bin/dbsnmp
oracle 14064 14042 1 15:18:42 pts/tc 0:00 grep snmp
oracle 14849 1 0 Aug 30 ? 0:00 /bin/sh /oracle/app/oracle/product/9.2.0.4/bin/dbsnmpwd
root 14802 1 0 Aug 30 ? 0:03 /usr/sbin/snmpdm
$ ps -ef | grep agt
oracle 14066 14042 1 15:18:46 pts/tc 0:00 grep agt
root 14814 1 0 Aug 30 ? 0:00 /usr/sbin/hp_unixagt
root 14826 1 0 Aug 30 ? 0:00 /usr/sbin/trapdestagt
root 14833 1 0 Aug 30 ? 0:00 ./ora_naaagt -K
$ ps -ef | grep peer
oracle 14068 14042 1 15:18:51 pts/tc 0:00 grep peer
root 14836 1 0 Aug 30 ? 0:16 ./master_peer CONFIG.master NOV我发现encap_peer 进程没有启动,有谁遇到过这个问题吗?欢迎大家一起讨论,谢谢!
1.apply hp patch
PHSS_27858 2.Config oracle database parameter file
1)$ORACLE_HOME/network/snmp/peer/CONFIG.master
2)$ORACLE_HOME/network/snmp/peer/CONFIG.encap3.start snmp agent
1)Stop all snmp related process that may be running, i.e.:
snmpd, mib2agt, hp_unixagt, master_peer, encap_peer, ora_naaagt, dbsnmp
AS ROOT:
ps -ef | grep snmp
ps -ef | grep agt
ps -ef | grep peer 2)AS ROOT:
# cd $ORACLE_HOME/network/snmp/peer
# ./start_peer -a 4.start Oracle Intelligent agent
1)AS ORACLE:
$agentctl start agent但是我测试的时候不成功,通过snmp取不出数据的信息:
snmputil walk 132.163.9.65 public .1.3.6.1.2.1.39
End of MIB subtree.
--------
我检查了系统信息:
$ netstat -a | grep snmp
udp 0 0 *.snmp *.*
$ netstat -a | grep 8161
udp 0 0 *.8161 *.* $ ps -ef | grep snmp
root 1048 1 0 Apr 9 ? 0:03 /usr/lbin/cmsnmpd
oracle 14852 14849 0 Aug 30 ? 1:02 /oracle/app/oracle/product/9.2.0.4/bin/dbsnmp
oracle 14064 14042 1 15:18:42 pts/tc 0:00 grep snmp
oracle 14849 1 0 Aug 30 ? 0:00 /bin/sh /oracle/app/oracle/product/9.2.0.4/bin/dbsnmpwd
root 14802 1 0 Aug 30 ? 0:03 /usr/sbin/snmpdm
$ ps -ef | grep agt
oracle 14066 14042 1 15:18:46 pts/tc 0:00 grep agt
root 14814 1 0 Aug 30 ? 0:00 /usr/sbin/hp_unixagt
root 14826 1 0 Aug 30 ? 0:00 /usr/sbin/trapdestagt
root 14833 1 0 Aug 30 ? 0:00 ./ora_naaagt -K
$ ps -ef | grep peer
oracle 14068 14042 1 15:18:51 pts/tc 0:00 grep peer
root 14836 1 0 Aug 30 ? 0:16 ./master_peer CONFIG.master NOV我发现encap_peer 进程没有启动,有谁遇到过这个问题吗?欢迎大家一起讨论,谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货