Comments (3)
Looks its says to run as below :-
sqlplus -l error -l 9161
However I am getting below :-
[user-1@asdf14fun bin]$ sqlplus -l error -l 9161
SQL*Plus: Release 11.2.0.4.0 Production
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Use SQLPlus to execute SQL, PL/SQL and SQLPlus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [] [{logon | /nolog}] [] ]
is: [-C ] [-L] [-M ""] [-R ] [-S]-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
is: {[/][@<connect_identifier>] | / }
[AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [//]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Session Edition.
is: @|[.] [ ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQLPlus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQLPlus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
[user-1@asdf14fun bin]$
from oracledb_exporter.
Please suggest on above.
from oracledb_exporter.
This project is a metric exporter for Prometheus. I do not see what you want to do with sqlplus. This binary is part of an Oracle installation and as such has nothing to do with this project.
At the level of the evoked path, it is necessary to replace it by the real path where you will have deposited the Prometheus exporter for Oracle (/opt/bin/oracledb_exporter for example).
Hoping to have answered your questions
from oracledb_exporter.
Related Issues (20)
- Oracle binaries in docker image too old for autonomous DB with TLS HOT 1
- caller=collector.go:262 level=error errorpingingoracle:="unknown URL option: wallet_location" HOT 6
- Data is not coming from prometheus to grafana
- panic: runtime error: invalid memory address or nil pointer dereference HOT 4
- Some sql queries are taking time to execute, cause of which none of the queries are scraping data in time.
- Requesting queries with different execution intervals HOT 2
- level=error errorpingingoracle:="missing port in address" HOT 8
- Where is the actual queries that are running from the default metrics? HOT 1
- docker hub version is too old (iamseth/oracledb_exporter)
- Allow using multiple environment variables like DATA_SOURCE_NAME to query different databases HOT 1
- ASM sysdba DATA_SOURCE_NAME wrong example in README.md
- Read data source from file (Docker secrets)
- Incorrect Tablespace values HOT 3
- Release 0.6.0 not satrt HOT 6
- Unable to use custom metrics configuration file HOT 1
- Publish Docker images based on the "scratch" base image
- Unable to obtain oracle version or status info as value
- "advanced negotiation error: during receive service header: network excpetion: ora-12269"
- How to use Multi-Target Support? HOT 3
- DATA_SOURCE_NAME without the password HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oracledb_exporter.