Comments (11)
SELinux was running.
It was blocking couple of things,
Now it's working fine :)
Thanks
from prometheus.
Hi @roshu10 Can you provide the logs for Prometheus? Also, could you tell me how you are starting the stack?
from prometheus.
i'm starting with docker-compose up -d
from prometheus.
Logs:
time="2017-11-02T11:03:44Z" level=info msg="Starting prometheus (version=1.8.1, branch=HEAD, revision=3a7c51ab70fc7615cd318204d3aa7c078b7c5b20)" source="main.go:87"
time="2017-11-02T11:03:44Z" level=info msg="Build context (go=go1.9.1, user=root@ab78fb101775, date=20171023-15:50:57)" source="main.go:88"
time="2017-11-02T11:03:44Z" level=info msg="Host details (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 d9570b1c0834 (none))" source="main.go:89"
time="2017-11-02T11:03:44Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" source="main.go:254"
time="2017-11-02T11:03:44Z" level=info msg="Listening on :9090" source="web.go:341"
time="2017-11-02T11:03:44Z" level=error msg="Error loading config: couldn't load configuration (-config.file=/etc/prometheus/prometheus.yml): open /etc/prometheus/prometheus.yml: permission denied" source="main.go:160"
I'm starting prometheus as root
from prometheus.
This repo is using the docker stack deploy command based on Swarm and not compose. Have a look here: https://github.com/vegasbrianc/prometheus/blob/version-2/README.md#installation--configuration
Let me know if this solves it or not.
from prometheus.
@roshu10 were you able to get this resolved?
from prometheus.
@vegasbrianc
Hey, is it possible to keep compose version bit low.
because most of the people are using docker 17.03.1-ce
Version - 3.2 is supported in docker 17.04 on wards.
So when i run docker stack deploy -c docker-compose.yml prome
i get "unsupported Compose file version: 3.2"
from prometheus.
from prometheus.
I have upgraded the docker engine.
But prometheus is not coming up
from prometheus.
Even though it says prometheus is up, "docker ps" is not listing prometheus container
from prometheus.
I just tested with version 17.09.0-ce on a Mac and its working fine.
Looks like your problem has to do with permissions or the file /etc/prometheus/prometheus.yml
might be missing in the container. Have you looked into that ?
from prometheus.
Related Issues (20)
- iframe displays “refused to connect” for Grafana HOT 1
- Prometheus docker image. Config file missing? HOT 3
- Cadvisor is not working HOT 7
- How to add Grafana plugin HOT 2
- node-exporter container keeps running even after kill the container HOT 2
- panic: runtime error: slice bounds out of range HOT 5
- CPU Usage and Memory usage data not fetching from the Prometheus serveron grafana dashboard HOT 3
- Why is this? HOT 2
- Prometheus container keeps restarting HOT 5
- Your tests are failing, per the README.md HOT 5
- Adding coverage test results in metrics HOT 2
- can add a database? HOT 1
- Not showing some data HOT 5
- ec2 instnace is not showing on prometheus_UI when setting as target/job in prometheus .yml HOT 2
- Can not change default grafana default port HOT 2
- Login not working HOT 2
- When running this on linux out of the box it does not work. HOT 2
- Prometheus does never start up. Permission denied for /etc/prometheus/prometheus.yml HOT 2
- etc/prometheus/prometheus.yml: operation not permitted HOT 1
- Alert Manager not working on Slack HOT 2
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 prometheus.