How To Turn SNMP On/Off ? (Doc ID 472530.1)

Last updated on OCTOBER 27, 2016

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms