Get Rid of those ESXi Tech Support Mode Warnings

One nice enhancement in VMware ESXi 4.1 is Tech Support Mode — supported command-line access for advanced troubleshooting.  However, a big drawback of enabling this capability is the appearance of a new Configuration Issues warning in the vSphere Client:

In addition to this warning, an alert is shown via the host icon in the inventory tree view.  I’m sure many vSphere administrators have encountered this annoyance.  Recently, I wondered why some of my hosts had it and some did not.  As it turns out, the warning goes away after rebooting.  But this is VMware ESXi — not Windows — and reboots are few and far between.

Fortunately, the warning will also go away after restarting the “management agents” (Host Agent, specifically).  This can be done through the DCUI console GUI, but since you are probably logging in with SSH anyway, the same thing can be accomplished with the following command:

And here it is in action:

If you have been looking for a way to get rid of this warning, I hope this helps you out.

Tags: ,

10 comments

  1. kida’s avatar

    Thanks for the tip! Just what I was looking for!

  2. Fernando’s avatar

    Very useful … Do you know how to kill the managemente agents process if needed (last resource) ? On ESX, I can find the process, and use the kill command to do it, and them, start the agents.

    1. Eric Gray’s avatar

      Hmm. Have not had to do that, but ps, grep, and kill are available in TSM. There is also services.sh which can restart everything.

    2. Stu’s avatar

      Nice one! These warnings are really annoying… it’s not for VMware to decide what the appropriate security configuration for my environment is – it’s for me to decide!

      1. Dennis’s avatar

        Works with vSphere 5 hosts and Client too… thanks!

        1. Mick Russom’s avatar

          This shuts off the warning with a commanline one-liner

          esxcfg-advcfg -s 1 /UserVars/SuppressShellWarning

Comments are now closed.