Comments (1)
Just butting in as I'm also looking to use this little exporter.
Some README or Makefile would help but in the mean time here is a short intro:
Building:
$ docker build -t vsphere_exporter:latest .
You can pass http_proxy, https_proxy if you need to set them using --build-arg http_proxy
and --build-arg https_proxy
Running:
Edit your vsphere_exporter.yml and make sure to set credential appropriately
$ docker run -itd -v $PWD/vsphere_exporter.yml:/vsphere_exporter.yml \
--name vsphere_exporter -p 9155:9155 vsphere_exporter:latest \
/go/bin/app -config.file /vsphere_exporter.yml
Depending on how you run your prometheus you may either run it with a link or declare the host IP or docker0 bridge IP in the config. Here's mine just for this experiment:
global:
scrape_interval: 15s
external_labels:
monitor: 'codelab-monitor'
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'vsphere_exporter'
scrape_interval: 15s
static_configs:
- targets: ['172.17.0.1:9155']
from vsphere_exporter.
Related Issues (9)
- Requires password given on command line, which is a security risk HOT 4
- Best Way to Only Query Certain Metric Types? HOT 1
- vsphere_exporter never re-authenticates HOT 1
- Vcenter URL contruction failed when using a password that has a trailing question mark
- [FEATURE REQUEST] Datastore info
- Some short steps on how to use, please HOT 1
- standalone esxi host crash HOT 2
- docker build fails HOT 1
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 vsphere_exporter.