eripa / prometheus-zfs

Prometheus Exporter for ZFS pools
MIT License
14 stars 6 forks source link

startup does not work #2

Open phaus opened 7 years ago

phaus commented 7 years ago
./bin/prometheus-zfs-linux -pool="rpool" -p="rpool" -port="8060"  -endpoint="metrics"
flag provided but not defined: -port
Usage of ./bin/prometheus-zfs-linux:
  -p="tank": what ZFS pool to monitor (shorthand)
  -pool="tank": what ZFS pool to monitor
  -version=false: display current tool version

I also tried

./bin/prometheus-zfs-linux -p rpool -port 8090 -endpoint zonesmetrics
flag provided but not defined: -port
Usage of ./bin/prometheus-zfs-linux:
  -p="tank": what ZFS pool to monitor (shorthand)
  -pool="tank": what ZFS pool to monitor
  -version=false: display current tool version

System uses zfs-on-linux.

eripa commented 7 years ago

Thanks for the report!

It seems that you are trying out "latest" on master. It's currently not in a working state. If you want to try a working version try the release of v0.1.1. But please note that this is not recommended for production use as it requires root to run.