Open mariemhedfi opened 6 months ago
Hi @mariemhedfi ,
It seems like your python install is missing or corrupted. Can you please make sure to follow the steps in the wiki, which creates the container, including python:
Also, you can try to bash into the container to localize the python install / verify it exists:
docker exec -it <container name> /bin/bash
Hello,
Thanks for your reply.
my prblem is solved and i have another question Is it possible to modify the script so that it displays the names of the VMs in Grafana, along with their status? This would involve showing the VM name and each status state. If the status is 'failed,' could it display the details?
Best reagards,,
Le mer., janv. 3, 2024 à 18:19, Niels Korschinsky @.> a écrit:
Also, you can try to bash into the container to localize the python install / verify it exists:
docker exec -it
*I tried to execute sppmon using this command: docker run --rm -v /home/${USER}/spectrum-protect-sppmon/config_files/YOUR_SPP_SERVER_NAME.conf:/usr/src/app/YOUR_SPP_SERVER_NAME.conf:ro,Z -v /home/${USER}/sppmonLogs:/root/sppmonLogs:Z sppmon python sppmon.py --cfg=YOUR_SPP_SERVER_NAME.conf --test. However, even after replacing it with my spp file, I still encountered the '[can't open fil](python: can't open file '/usr/src/app/python': [Errno 2] No such file or directory)e' error. What should I do?"