Yes AWS and was working before I did V 1.26.1
Ports 9100 & 12798 open on BP
Port 3000 on Relay
node-exporter, prometheus service, and grafana are on my Relay
im using an elastic IP for the public ip but not private. my prometheus service was doing the same thing it was all due to the .yml being off with the spacing and quotes “”
Hi Alex, yeah, so I reinstalled prometheus with its default config and changed the params to match what I have above with the right spacing but I still get the prometheus.service error. Ports are open on the cloud fw and everything seems to be correct. I don’t know if I should be looking somewhere else for the issue.
Thanks
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'codelab-monitor'
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
Got it working! started it with ```
./prometheus --config.file=prometheus.yml
After I update the file and synced up nicely! Thanks again @Alexd1985@Anti.biz
So I re-downloaded prometheus with the default config and started proemtheus with “./prometheus --config.file=prometheus.yml” to see if it was receiving web requests. As it was, then I pdated the Yml config file to match my IP and ports, and re-ran the script above.