VMware vSphere

 View Only
  • 1.  wget

    Posted Apr 14, 2011 10:16 PM

    From ESXi, I'm trying to check the status of a web application running in one of the VMs.  It appears that ESXi supports the "wget" command, but it doesn't have a parameter to specify a timeout.  Any ideas on how to make it timeout after a specified number of seconds?  If not, is a better way to do an HTTP check from the command line in ESXi?  Thanks!



  • 2.  RE: wget

    Posted Apr 14, 2011 10:22 PM

    wget is a very simple part of the busybox console and does not have all the features you may be used to. I would use another tool. You might want to consider installing the vMA management appliance. http://vmware.com/go/vma



  • 3.  RE: wget

    Posted Apr 15, 2011 07:12 AM

    Thanks for the info. I have a script in ESXi which needs to check if the VMs and applications are up. For now, wget will suffice even if very basic. It appears that wget on ESXi has a max timeout of 80 seconds. At least that’s what I came up with after a few test runs of wget.



  • 4.  RE: wget

    Posted Apr 15, 2011 07:19 AM

    You can get an updated wget here - http://www.vm-help.com/esx/esx3i/ESXi_enable_FTP.php.  It may have the option you're looknig for.