VMware Cloud Community
marvinb
Enthusiast
Enthusiast

esx_healthcheck

I originall posted this in the wrong place. Please forgive the double posting.

I can run the esx_healthcheck from the command line and get all the information.

When I try to run it from cron, some of the information is no longer found. I have played with the path variable (putting it in the conf file)

but this doesnt seem to work.

The missing information is typically Product, vendor and cpu info.

0 Kudos
4 Replies
marvinb
Enthusiast
Enthusiast

I found the problem. The path to the esxbinaries are not in the PATH variable.

I added PATH=$PATH:/usr/sbin to the healthcheck.conf file and this seemed to address the problem.

0 Kudos
MauroBonder
VMware Employee
VMware Employee

bt default a health check create a file in /var/log.

http://communities.vmware.com/docs/DOC-7430

*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
marvinb
Enthusiast
Enthusiast

path issue

0 Kudos
MauroBonder
VMware Employee
VMware Employee

which healthcheck is valid ?

post a link here please

*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
0 Kudos