Question

Prometheus on ubuntu 16.04

I downloaded prometheus and node_exporter from the prometheus website. Simply download and extract the files. On my server i opened up the ports: 9090 and 9100. After that i run both the prometheus and the node_Exporter service. So they are listening on the ports, I checked this with “ss -tlnp” If i try to connect to these ports with the webbrowser, i get a connection timed-out error.

If I try this with vagrant and VM’s then prometheus works. But i want to make it work on my digital ocean server.

Anybody who might know the problem?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted

@thomasvdb

You may want to take a look at the step-by-step guide provided by DigitalOcean at the URL below.

https://www.digitalocean.com/community/tutorials/how-to-use-prometheus-to-monitor-your-ubuntu-14-04-server

Although it was written for 14.04, it should work on 16.04 as well.