OpenEMR Monitor is based on Prometheus, cAdvisor, Grafana, and alertmanger which helps administrator to monitor the status of containers.
Please follow the below steps to deploy, or download and run monitor-installer script to deploy.
- Run
git cloneit to your local machine.
git clone https://github.com/openemr/openemr-devops.git
cd openemr-devops/utilities/openemr-monitor
-
Modify the ip in prometheus/prometheus.yml file and grafana/provisioning/datasources/datasource.yml.
-
Modify the alert mail information in alertmanager.yml file, or set the other alert methods.
-
Run
docker-compose upfrom your command line until the log stop.- If you haven't already, install Docker and install compose for your system.
- If the firewall is enabled in your host, please make sure 3000, 3001, 3002, 3003 ports open.
- Grafana:
http//<ip>:3000and login with useradminpasswordadmin, and it importID 193dashboard in grafana/provisioning/datasources/dashboards by default. - Prometheus:
http//<ip>:3001 - cAdvisor:
http//<ip>:3002/metrics - AlertManager
http//<ip>:3003and define the rules in prometheus/alert-rules.yml