pkhander / compose-prometheus Goto Github PK
View Code? Open in Web Editor NEWDeploy Promethues + Grafana + SNMP exporter using docker-compose
Deploy Promethues + Grafana + SNMP exporter using docker-compose
root@grafana:/opt/containers/compose-prometheus# docker-compose -f compose-generator.yml up
Recreating compose-prometheus_snmp-generator_1 ... error
ERROR: for compose-prometheus_snmp-generator_1 Cannot start service snmp-generator: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: operation not permitted: unknown
ERROR: for snmp-generator Cannot start service snmp-generator: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: operation not permitted: unknown
ERROR: Encountered errors while bringing up the project.
In the configuration for the snmp exporter:
compose-prometheus/docker-compose.yml
Lines 25 to 35 in cf076f2
It's not necessary to use the expose
directive. This is almost never necessary, and you're not using it on your other containers.
I don't think you need to publish UDP port 116, either. What service is using that port?
Lastly, I don't think you even need to publish tcp port 9116 for this container. It only needs to be reachable from the prometheus container, which since it is on the same network will be able to access the service regardless of whether or not it is published.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.