• 博客访问: 2134482
  • 博文数量: 1596
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-17 14:52
个人简介

暂无介绍

ITPUB论坛APP

ITPUB论坛APP



APP发帖 享双倍积分

文章分类

全部博文(1596)

文章存档

2012年(27)

2011年(37)

2009年(6)

2008年(198)

2007年(453)

2006年(640)

2005年(235)

我的朋友
微信关注

IT168企业级官微



微信号:IT168qiye



系统架构师大会



微信号:SACC2013

订阅
热词专题

分类: Linux

How To Turn SNMP On/Off ? [ID 472530.1]

修改时间 12-DEC-2008 类型 HOWTO 状态 PUBLISHED

In this Document
Goal
Solution
References


Applies to:

Oracle Net Services - Version: 9.2.0.1.0 to 11.1.0.6.0
Information in this document applies to any platform.

Goal

How to turn SNMP on or off, so that it shows when using lsnrctl utility to get listener status?

$ lsnrctl status

LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production on 12-DEC- 2007 11:52:28

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=IPC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.8.
0 - Production
Start Date 30-NOV-2007 15:21:35
Uptime 11 days 20 hr. 30 min. 53 sec
Trace Level off
Security OFF
SNMP ON
Listener Parameter File /app/network/admin/listener.ora
Listener Log File /app//network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=IPC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sample.com)(PORT=1521)))
Services Summary...
Service "ORCL" has 2 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

Solution

SNMP refers to Simple Network Management Protocol. The SNMP status appearing in Listener status output indicates whether the Unix SNMP agent, the Peer master agent and encapsulator services are running. Oracle communicates with the Unix SNMP agents through the Oracle IntelligentAgent (dbsnmp). SNMP is a protocol used for gathering node status and task information.

To start the agent and Peer services on Unix, issue the follwing commands as a superuser (e.g. root):

cd $ORACLE_HOME/network/snmp/peer
su root
./start_peer -a

When SNMP is reported as ON, this indicates that the SNMP and Peer services are running on the node.
Use the ps commands to determine whether these processes are running:

ps -ef |grep peer
ps -ef |grep snmpd
ps -ef |grep snmp

Once the SNMP and Peer agent services are shutdown, the Listener status will change to a value of 'OFF'.

Please note that if the listener is started after the snmp agent it may show incorrect information about the SNMP status. This issue has been reported in Bug 4243679 Lsnrctl stop leaves tnslsnr process running if OS SNMPD is running


阅读(1679) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册