I found out the problem is with my ESX servers. The information
spitted out by esxcfg-info was cut short by some errors during the
storage section. I work around the problem by modifying the vmktree-
esx3-collector file.
Replace this:
@getVSI=`$sshcommand $sudo /usr/sbin/esxcfg-info -a 2>&1`;
With this:
@getVSI=`$sshcommand '$sudo /usr/sbin/esxcfg-info -w ; $sudo /usr/sbin/
esxcfg-info -r ; $sudo /usr/sbin/esxcfg-info -s ; $sudo /usr/sbin/
esxcfg-info -n ; $sudo /usr/sbin/esxcfg-info -y ; $sudo /usr/sbin/
esxcfg-info -o' 2>&1`;
You can identify this problem by looking at the output file /var/www/
vmktree-data/sys/<servername>.txt file. If you see the file contains
only part of the esxcfg-info output, try the esxcfg-info command
locally on the ESX server. If my case, the command output cuts short
by the error:
Error: SysinfoException: Node
(VSI_NODE_storage_scsi_adapter_channel_target_lun_partition) ; Status
(bad001f)= Not supported; Message= Unable to Get Instance List
In case someone runs into similar problem, hope this help.
Stephen