ESXHealthScript release 49

By | Friday, February 26, 2010

Yesterday we released version 49 of the ESXHealthScript.

Kenneth Mazie. (kcmazie aka. kcmjr) has done a huge job in updating and adding new features to the script.

  • Added automatic detection for ESX 3 or ESX 4
  • Added corrections for changes with ESX4
  • Added Cisco CDP info listing (from user Carson)
  • Added corrections to v4 tomcat server

To read more about the ESXHealthScript please visit the project web site.
https://sourceforge.net/projects/esxhealthscript/

If you are using the script, and have ideas for new features/functions, please let us know on the projects website or even better post the needed code 🙂

5 thoughts on “ESXHealthScript release 49

  1. Chris

    Any idea why I might be seeing errors such as this?

    [root@sunvh01 bin]# /usr/local/bin/health_check.sh
    Invalid module name lpfcdd_732
    [2010-03-08 12:15:46 ‘StorageInfo’ warning] Skipping lun: vmhba32:7:3. SysinfoException: Node (VSI_NODE_storage_scsi_adapter_channel_target_lun_partition) ; Status(bad003f)= No connection; Message= Unable to Get Instance List
    [2010-03-08 12:15:46 ‘StorageInfo’ warning] Skipping lun: vmhba32:7:1. SysinfoException: Node (VSI_NODE_storage_scsi_adapter_channel_target_lun_partition) ; Status(bad003f)= No connection; Message= Unable to Get Instance List
    [2010-03-08 12:15:46 ‘StorageInfo’ warning] Skipping lun: vmhba32:7:2. SysinfoException: Node (VSI_NODE_storage_scsi_adapter_channel_target_lun_partition) ; Status(bad003f)= No connection; Message= Unable to Get Instance List

  2. Chris

    Or this type of thing with rev 49.

    [root@sunvh01 healthchk]# /usr/local/bin/healthchk/health_check.sh
    : bad interpreter: No such file or directory.sh: /bin/sh
    [root@sunvh01 healthchk]# sh /usr/local/bin/healthchk/health_check.sh
    : command not foundthchk/health_check.sh: line 20:
    : No such file or directoryalth_check.sh: line 21: cd: /usr/local/bin/healthchk
    : command not foundthchk/health_check.sh: line 26:
    : command not foundthchk/health_check.sh: line 35:
    : command not foundthchk/health_check.sh: line 39:
    : command not foundthchk/health_check.sh: line 44:
    rm: cannot lstat `/var/log/*.html\r’: No such file or directory
    : command not foundthchk/health_check.sh: line 46:
    : command not foundthchk/health_check.sh: line 48:
    /usr/local/bin/healthchk/health_check.sh: line 49: syntax error near unexpected ‘oken `{
    ‘usr/local/bin/healthchk/health_check.sh: line 49: `printhtmlstart() {

  3. A. Mikkelsen Post author

    Hi Chris,

    Line 20,26,26,35,39,44,46,48 – is blank – so no idea why this gives an error.

    Line 21 – is a properly a leftover from a test, I’ll check and remove it in the next release if not needed. I think it’s the path to where Kenneth has his script, I don’t see any problems in you deleting it or changing it to your own path the the script file.

    Line 45 – rm/var/log/*.html – deletes old versions of the output html file. You’ll always get an error if it’s the first time you run the script.

    Line 49 – I’m not sure why you get an error, the function works – I’ll look into it.

    Hope you enjoy the script.

    A. Mikkelsen

    P.S. I’ll post your question and my replies on the projects website.
    https://sourceforge.net/projects/esxhealthscript/forums/forum/687179/topic/3567245/index/page/1

Leave a Reply

Your email address will not be published. Required fields are marked *