Friday, March 4, 2022

Deploy Prometheus on Podman

 in This Tutorial you will Learn " How To run Prometheus with Podman On Rocky Linux 8.5"

Prometheus is an open-source system monitoring and alerting toolkit. Prometheus collects and stores its metrics as time-series data. Metrics information is stored with the timestamp at which it was recorded, alongside optional key-value pairs called labels.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf update -y ; dnf install podman -y
podman --version
podman pull prom/prometheus
podman images
mkdir Prometheus_data ; cd Prometheus_data
podman run --name myprometheus -d -p 9090:9090 -v $(pwd):/data/db:Z prometheus
podman ps
netstat -tlpn
http://192.168.1.20:9090
http://127.0.0.1:9090
_________________________________________________________________________________________


No comments:

Post a Comment