obi-metrics-agent | Collect DMS metrics from OBIEE
kandi X-RAY | obi-metrics-agent Summary
kandi X-RAY | obi-metrics-agent Summary
This application is written in Jython, to run under WLST. It will pull out all the OBIEE DMS metrics, and output them. Currently supported outputs are to file (CSV) or sent to Carbon/Graphite, or native InfluxDB. It's written to run under a scheduler such as crontab, and so will launch, collect metrics, and exit again.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of obi-metrics-agent
obi-metrics-agent Key Features
obi-metrics-agent Examples and Code Snippets
Community Discussions
Trending Discussions on obi-metrics-agent
QUESTION
The following script is an extract from
https://github.com/RittmanMead/obi-metrics-agent/blob/master/obi-metrics-agent.py
The script is written in jython & it hits the weblogic admin console to extract metrics The problem is it runs only once and does not loop infinitely
Here's the script that I've extracted from the original for my purpose:
...ANSWER
Answered 2017-Mar-22 at 14:45You can use this kind of condition for the loop :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install obi-metrics-agent
Optionally, provision your data store (InfluxDB or Carbon). Or, just dump to CSV and do what you will with it from there. I would recommend InfluxDB. It is very easy to get setup. Download and install Create a database to hold the metrics curl -G GET 'http://localhost:8086/query' --data-urlencode "q=CREATE DATABASE obi" You can also use any system that accepts carbon protocol (eg Graphite)
Run obi-metrics-agent.py to check everything works: $FMW_HOME/oracle_common/common/bin/wlst.sh ~/obi-metrics-agent.py weblogic Admin123 t3://localhost:7001
Add to crontab : 0-59 * * * * /app/oracle/biee/oracle_common/common/bin/wlst.sh ~/obi-metrics-agent.py weblogic Admin123 t3://localhost:7001 2>/dev/null
If you're storing the data in InfluxDB or similar, get Grafana and build cool dashboards.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page