Install latest/stable of prometheus-iscsi-exporter
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install prometheus-iscsi-exporter
Don't have snapd? Get set up for snaps.
The prometheus-iscsi-exporter snap exposes high level ISCSI metrics to Prometheus.
Metrics
Metrics are scrapped from the snap's $SNAP_DATA
directory (/var/snap/prometheus-iscsi-exporter/current
).
Multipath command output should be written to $SNAP_DATA/multipath
.
Multipath Device Total
The total number of devices setup to use multipath. This is a gauge metric, and it is exported with the name
iscsi_multipath_device_total
.
Multipath Number of Paths
The number of paths per device. This is a gauge metric, and it is exported with the name iscsi_multipath_path_total
.
Each metric is labeled with the device's alias
and wwid
.
Links
ISCSI https://en.wikipedia.org/wiki/ISCSI
Prometheus https://prometheus.io/
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.