Prometheus
==========
Grafana
-------
Access the `monitoring dashboard `__. The username is ``viewer``. The password is set by the ``apache.site.grafana.htpasswd.password`` variable in the ``pillar/private/prometheus_server.sls`` file.
These dashboards let you query system information in an interactive visual display, including: CPU, RAM, disk and network usage:
* `Server Monitoring Dashboard `__
* `Prometheus System `__
Monitor
-------
Access the `monitoring service `__. The username is ``prom``. The password is set by the ``apache.sites.prometheus-server.htpasswd.password`` variable in the ``pillar/private/prometheus_server.sls`` file.
The landing page lets you query the collected data. For example:
* Dashboard: `8-week `__, `1-day `__
* RAM usage: `8-week `__, `1-day `__
* Swap usage: `8-week `__, `1-day `__
* Load averages: `8-week `__, `1-day `__
* Blocked processes: `8-week `__, `1-day `__
* Disk usage : `8-week `__, `1-day `__
* Disk I/O: `8-week `__, `1-day `__
* I/O wait: `8-week `__, `1-day `__
* Disk wear: `8-week `__, `1-day `__
Other relevant pages are:
* `Alerts `__
* `Targets `__ (check "Unhealthy" targets)
Read `Prometheus' documentation `__ to learn more.
Alert manager
-------------
Access the `alerting service `__. The username is ``prom``. The password is set by the ``apache.sites.prometheus-alertmanager.htpasswd.password`` variable in the ``pillar/private/prometheus_server.sls`` file.
Whereas the monitoring service configures alerts, the alerting service sends alerts. Alerts are sent to the recipients set in ``salt/prometheus/alertmanager/files/config/conf-alertmanager.yml``.
You can temporarily "silence" alerts, when you know your actions will trigger those alerts: for example, when shutting down a server.