Comments on How to Install Prometheus System Monitoring Tool on Ubuntu 20.04
In this tutorial, we will learn how to install Prometheus network monitoring system on Ubuntu 20.04. It helps you to keep track of resources such as CPU usage, memory utilization, network IO wait time and has a web interface that allows for easy monitoring from any device with an internet connection and also supports alerting via email and SMS messages in case the metrics surpass a configured threshold.
1 Comment(s)
Comments
When copying and pasting the following content into the prometheus.service file, doesn't it need to be:
[Unit]
Description=Prometheus
Wants=network-online.target
After=network-online.target
[Service]
User=prome
Group=prome
Type=simple
ExecStart=/usr/local/bin/prometheus \
--config.file /etc/prometheus/prometheus.yml \
--storage.tsdb.path /var/lib/prometheus/ \
--web.console.templates=/etc/prometheus/consoles \
--web.console.libraries=/etc/prometheus/console_libraries
[Install]
WantedBy=multi-user.target