In een opsom topic op www.vmug.nl/ over verschillende tools welke het gebruik van VMware Software nog completer maken, kwam duncanepping met leuke tool genaamd esxhealtcheck.

Dit is eigenlijk een script in plaats van een tool. Maar het is zeker de moeite waard om dit nader te bekijken.

Hieronder vindt je de readme met de installatie handleiding:

How to quick install:

* 1. Get smtp_send.pl from http://www.vmguru.com/files/10/scripts/entry102.aspx

Put the file in the same folder as health_check.sh.
Please read in smtp_send.pl about prerequesites (MIME::Lite) installation.

* 2. Get MIME::Lite from http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm

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

# mkdir /usr/lib/perl5/5.8.0/MIME
# 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

# 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

# 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

# chmod 744 health_check.sh
# chmod 744 smtp_send.pl


Good luck documenting your Elastic Sky X environment!
Danish VMware User Group
http://vmug.dk

Helaas ligt de website van vmguru eruit en kun je smtp_send.pl niet downloaden. Ik hoop dat iemand een mirror heeft. Dan kan ik met dit script aan de gang 😉

Advertisement

One thought on “Tool: EsxHealthCheck

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.