Thursday, June 2, 2016

MONITORING

What are the way’s of monitoring VMs and Hosts?
vCenter Server provides some exciting new features for monitoring your VMs and hosts.
Alarms- for proactive monitoring
Performance graphs and charts-
Performance information gathering using command-line tools

Monitor CPU, memory, network, and disk usage by ESXi hosts and VMs


What are the components of setting an alarm?
Scope- Alarm applies to which object. Ex-vCenter, Datacenter, ESXI host.
Monitor objects-Which object to monitor. Ex-Virtual machine
Monitor for (Item-) Monitor object for specific condition or state-  
                         Ex- CPU Usage, Power State etc.  

Trigger type- Which component can trigger the alarm.
                Ex.- VM Snapshot Size
  Condition-  Above or less. Ex- Is Above
Warning value- 500- condition lengths 5 minutes
Alert value-1000- condition lengths 5 minutes
Reporting -      -Range =Threshold + Tolerance level
                 -Frequency value= period of time during which a triggered  
                  alarm is not Reported again

Action-send email, run scripts, SNMP trap


How to Monitor CPU, memory, network, and disk usage by ESXi hosts and VMs?

In particular, using customized performance graphs can expose the right 

information.

How to gather performance information using command-line tools?
For VMware ESXi hosts, resxtop provides real-time information about CPU, memory, network, or disk utilization. You should run resxtop from the VMware vMA. Finally, the vm-support tool can gather performance information that can be played back later using resxtop. 


1 comment: