VMware Cloud Community
VUser910
Contributor
Contributor

VMware Healthcheck script Installation Guide

How to install the ESX healthcheck script on ESX host , Can anyone provide Step by Step procedure for doing so.

Thanks & Regards

Reply
0 Kudos
8 Replies
VUser910
Contributor
Contributor

Please tell me how can i do so ..the healthscript is available at

Reply
0 Kudos
Yattong
Expert
Expert

Read the Install.txt file. ~ As below.

How to quick install:

Put the file in the same folder as health_check.sh.

Please read in smtp_send.pl about prerequesites (MIME::Lite) installation.

I had to create the MIME folder and copy file to /usr/lib/perl5/5.8.0/MIME/Lite.pm on my test system.

  1. mkdir /usr/lib/perl5/5.8.0/MIME

  2. cp MIME-Lite-3.01/lib/MIME/Lite.pm /usr/lib/perl5/5.8.0/MIME/Lite.pm

  • 3. Copy health_check.conf.example to health_check.conf

  1. cp health_check.conf.example health_check.conf

  • 4. Edit health_check.conf with maildata (set mailoutput=0 if you do not want to use email) and other adjustments

  • 5. Make sure to open firewall port 25 out

  1. esxcfg-firewall -o 25,tcp,out,smtp_out

  • 6. Make sure that health_check.sh and smtp_send.pl scripts has the right execute permissions

  1. chmod 744 health_check.sh

  2. chmod 744 smtp_send.pl

Good Luck

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points ~y
Reply
0 Kudos
VUser910
Contributor
Contributor

Thanks for your reply but the link of smtp_send.pl file is not working. And i wants to know how to do all this at ESX server . I wanna make a brief step by step guide.

Regards

Reply
0 Kudos
Yattong
Expert
Expert

Copy all the files to a directory on ESX

Remove the .example from the health_check.conf.example script

make the script executable with the command 'chmod 744 health_check.sh'

do you need it to email out? If so, you will need to chmod the smtp_send.pl file aswell.

If not, edit the health_check.conf script, mailout=0 instead of 1

Run the script.

Good Luck

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points ~y
Reply
0 Kudos
azn2kew
Champion
Champion

Here's the attach file you need. Read here for details on the script file

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
Reply
0 Kudos
A_Mikkelsen
Expert
Expert

Just so you know.

A new release of the ESXHealthScript is out.

Hope you can use it.

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points.

Regards

A. Mikkelsen

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points. Regards A. Mikkelsen
Reply
0 Kudos
MauroBonder
VMware Employee
VMware Employee

Hi,

You needs a smtp to send email to you ?

If no, follow archive ready to use.

How use:

1. Copy the health_check.sh to / tmp

2. Run health_check.sh (if necessary change the permissions chmod 775 health_check.sh)

3. This will create a file with the implementation date. Html in / var / log

**If you found this information useful, please consider awarding points for

"Correct" or "Helpful"**

*Please, don't forget the awarding points for "helpful" and/or "correct" answers. *Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.* Thank you/Obrigado
Reply
0 Kudos
lamw
Community Manager
Community Manager

You can also check out these two health scripts I wrote:

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos