[hobbit] ESX monitoring.

David Baldwin david.baldwin at ausport.gov.au
Tue Mar 23 01:19:25 CET 2010


Ambati Srinivas wrote:
> Hi Everyone,
>
> Does some one can suggest point me to addon for monitoring ESX machine?
>
> AM
Apart from running hobbit/BBWin/BBNT on the VM itself, I have a script
that monitors all VMs, does RRDs of memory usage (using devmon
collector). It uses the vSphere SDK (originally built against viperl).
It reports all non-discovered VMs under a test for the VirtualCenter
host. Checks a bunch of stuff - conditions that prevent VMotion such as
connected physical hardware, old/large snapshots that might fill the
datastore (that is really ugly when it happens), old versions of VMWare
tools, tools not running, mismatched IP with bb-hosts, NIC types (we
have issues with Flexible/PCNet32 NICs drop off the network when tools
don't start properly), etc.

It would need a bit of cleaning up but I could put it on
http://xymonton.trantor.org/doku.php/monitors

Sample report:


ESX VM Status (ESX VM status vm.ausport.gov.au)

 Status: yellow The entity might have a problem

VM name: VM

Hostname: evvsv.ausport.gov.au
Guest name: Microsoft Windows Server 2003, Standard Edition (32-bit)
VM path name: [ESX_DS] VM/VM.vmx
Status: yellow The entity might have a problem
IP: 1.2.3.4
Power State: green poweredOn
CPUs: 4
Memory: 3064 MB
CPU resources: shares: 8000 reservation: 0 limit: green -1
Memory resources: shares: 30640 reservation: 0 limit: green 3064
Connectable Device: green disconnected VirtualFloppy: /dev/fd0
Connectable Device: green disconnected VirtualCdrom: Remote ATAPI
Connectable Device: green disconnected VirtualParallelPort: /dev/parport0
NIC: green connected (type: VirtualVmxnet2) Net: Production_Servers
(MAC: xx:xx:xx:xx:xx:xx)
Disk: label: Hard disk 1 (size: 15 GB) fileName: [ESX_DS] VM/VM.vmdk
Disk: label: Hard disk 2 (size: 300 GB) fileName: [ESX_DS] VM/VM_1.vmdk
VMwareTools: green VMware Tools is running and the version is current
Comment: vRanger Pro Backup: Type [Full] Result [Success] Time
[11/03/2010 4:07:21 PM] Repository [vRanger_4_Backups]


David.

-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617


-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------



More information about the Xymon mailing list