esxi_stats
esxi_stats copied to clipboard
Need help with VM Name
Trying to use the esxi_stats.vm_power to shut down a VM. I just receive the error "Make sure the name is correct" Am I missing something obvious ? Thank You. Chris
`2021-01-20 15:12:13 DEBUG (MainThread) [custom_components.esxi_stats] Getting stats for vm: nakivobackup 2021-01-20 15:12:13 DEBUG (MainThread) [custom_components.esxi_stats.esxi] {'name': 'nakivobackup', 'status': 'green', 'state': 'running', 'uptime_hours': 94.7, 'cpu_count': 2, 'cpu_use_pct': 0.7, 'memory_allocated_mb': 4096, 'memory_used_mb': 1780, 'used_space_gb': 8.33, 'tools_status': 'toolsOk', 'guest_os': 'Ubuntu Linux (64-bit)', 'guest_ip': '192.168.1.245', 'snapshots': 0} 2021-01-20 15:12:13 DEBUG (MainThread) [custom_components.esxi_stats.esxi] Logged out - session 52f4a939-8603-b640-85e9-265ce8de5198 2021-01-20 15:12:37 DEBUG (MainThread) [custom_components.esxi_stats.esxi] Logged in - session 52a54b0a-91bf-5efc-8c1a-aac9c1bdbbcd 2021-01-20 15:12:37 INFO (MainThread) [custom_components.esxi_stats.esxi] VM nakivobackup on host 192.168.1.242 not found. Make sure the name is correct 2021-01-20 15:12:37 DEBUG (MainThread) [custom_components.esxi_stats.esxi] Logged out - session 52a54b0a-91bf-5efc-8c1a-aac9c1bdbbcd```
Is the VM name all lower case on the host? If it is not all lower case, can you enter it just how it is on the host into the service command and see if it works?