diff --git a/roles/proxmox/files/check_proxmox_vm.sh b/roles/proxmox/files/check_proxmox_vm.sh index ecf59b2..1569355 100755 --- a/roles/proxmox/files/check_proxmox_vm.sh +++ b/roles/proxmox/files/check_proxmox_vm.sh @@ -65,11 +65,11 @@ restart_vm() { } # Main execution -log_message "Starting monitoring of VM $VM_ID on port $PORT..." +# log_message "Starting monitoring of VM $VM_ID on port $PORT..." # Check if port 22 is open if ! check_port; then restart_vm -else - log_message "Port $PORT is reachable. VM is running normally." +# else +# log_message "Port $PORT is reachable. VM is running normally." fi