Hi everyone,
I am rookie on prometheus and trying to install to VirtualBox installed CentOS8. I see following error when I try to run service. Can someone help me?
Error: Failed to start prometheus.service. Unit prometheus.service has a bad unit file setting.
Service file:
[Unit]
Description=Prometheus
Wants=network-online.target
After=network-online.target
[Service]
User=prometheus
Group=prometheus
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