You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/prometheus-pve-exporter/bin/pve_exporter", line 8, in
sys.exit(main())
^^^^^^
File "/opt/prometheus-pve-exporter/lib/python3.12/site-packages/pve_exporter/cli.py", line 84, in main
with open(params.config_file, encoding='utf-8') as handle:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/etc/prometheus/pve.yml'
What could be the issue?
The text was updated successfully, but these errors were encountered:
When trying to run the image with a mounted configuration file and published port in docker I get an error:
The command I'm using:
sudo docker run --init --name prometheus-pve-exporter -d -p 0.0.0.0:9221:9221 -v /etc/pve/pve.yml:/etc/prometheus/pve.yml prompve/prometheus-pve-exporter
The error I get:
Traceback (most recent call last):
File "/opt/prometheus-pve-exporter/bin/pve_exporter", line 8, in
sys.exit(main())
^^^^^^
File "/opt/prometheus-pve-exporter/lib/python3.12/site-packages/pve_exporter/cli.py", line 84, in main
with open(params.config_file, encoding='utf-8') as handle:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/etc/prometheus/pve.yml'
What could be the issue?
The text was updated successfully, but these errors were encountered: