Monitoring your cluster


Using node_exporter and cadvisor alongside Portworx

Node exporter and cadvisor with prometheus are great tools that export metrics about hardware/OS and containers. In order to provide metrics from the host, both tools require ‘/’ to be exported into the container as ‘/rootfs’.

Portworx exports mounts to other containers and these in turn also get exported to node_exporter and cadvisor. In order for all mount events to be propagated to these containers, the root fs on the host should be bind mounted as “ro:slave”. If this is not done, it is possible that these containers hold on to these volume mounts preventing the portworx volumes from being used on other hosts.

# Host root filesystem should be mounted as read-only:slave
-v "/:/rootfs:ro" \

Monitoring Portworx

Portworx exports metrics to Prometheus as are described here

Alert manager integration is described here

Grafana templates are provided here

Datadog integration with Portworx is described here



Last edited: Friday, Nov 30, 2018