|
# yum update ncurses libstdc++ openssl-devel
-download and install vCLI (http://downloads.vmware.com/d/details/vcli41/ZHcqYmRoaCpiZHRAag==)
- tar xvzf file.tar.gz
- cd folder
- ./vmwarae-install.pl
- as zenoss user run following command to check succesffull installation:
# resxtop --server esx01 --user root -b -n 1 -a
# resxtop --server esx01 --user root
- Create a symbolic link from the location that the resxtop command was installed into the $ZENHOME/libexec directory. This allows the check_esxtop command to automatically determine which binary to run. For example:
cd $ZENHOME/libexec
ln -s /usr/bin/resxtop
Test the check_esxtop command by showing the VMs on the remote server:
# /opt/zenoss/ZenPacks/ZenPacks.zenoss.EsxTop-1.0.2-py2.6.egg/ZenPacks/zenoss/EsxTop/libexec/check_esxtop --server esx01.r71.nl --user root --password GhsTntEr71 --showvms
- download the zenpack esxtop from http://community.zenoss.org/docs/DOC-9384
- unpack it and import the zenpack via your zenoss website: Advanced > Zenpacks > install
# su - zenoss
# zopectl stop
# zopectl start
Move ESXi server in Device menu to Server > Virtual Machine host > Esxtop
Select device and enter login credentials for the zCommandUsername and zCommandPassword configuration properties, and then click Save.
Select Action Menu, then click "Model Device" to start monitoring.
output:
2010-10-29 00:36:38,509 INFO zen.ZenModeler: Connecting to localhost:8789
2010-10-29 00:36:38,520 INFO zen.ZenModeler: Connected to ZenHub
2010-10-29 00:36:38,554 INFO zen.ZenModeler: Collecting for device esx01.r71.nl
2010-10-29 00:36:38,558 INFO zen.ZenModeler: No WMI plugins found for esx01.r71.nl
2010-10-29 00:36:38,558 INFO zen.ZenModeler: No Python plugins found for esx01.r71.nl
2010-10-29 00:36:38,558 INFO zen.ZenModeler: No command plugins found for esx01.r71.nl
2010-10-29 00:36:38,559 INFO zen.ZenModeler: SNMP monitoring off for esx01.r71.nl
2010-10-29 00:36:38,559 INFO zen.ZenModeler: No portscan plugins found for esx01.r71.nl
2010-10-29 00:36:38,559 INFO zen.ZenModeler: Scan time: 0.01 seconds
2010-10-29 00:36:38,565 INFO zen.ZenModeler: Daemon ZenModeler shutting down
Installatie en configuratie Zenpack ESXtop terug te vinden op:
http://community.zenoss.org/docs/DOC-9048
|