By Lerpong Intaraworrapath | September 29th, 2021
![Dashboard](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-18.09.27.png)
Part 2 – วิธีการสร้าง Report หลังจาก ที่เรา create vROPs Dashboard สำหรับแสดงค่า Performace และ Right-Sizing ของ Virtual Machine
หลังจากที่เรา สร้าง Dashboard ที่แสดงค่า Performance และ Right Sizing ที่ถูกต้องของ CPU และ Memory ในการทำงาน ของ virtual Machine เรียบร้อยแล้ว เราก็จะมาทำการสร้าง Report กัน.
Part 1 – Create Dashboard vROPs Dashboard for VM Right-Sizing and Performance…Part 1
เริ่มขั้นการสร้าง Report
- ทำการ Login ไปที่ vRealize Operations Manager ไปที่ Tab Dashboard -> Reports -> Report Templates.
![Report Template](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.24.51.png)
2. Click -> Add.
3. ใส่ชื่อ Report Name (ในที่นี้ผมจะใส่ ชื่อ “Performance – Right Sizing by VMware“).
![Report Name](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.28.58.png)
4. Select -> 2. Views and Dashboards / ตรงช่อง ALL FILTERS ให้พิมพ์ “CPU|MEM Usage” แล้วกด Enter.
![CPU|MEM Usage](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.32.13.png)
5. เราก็จะได้ค่า Views ที่เราต้องการ ที่จะให้แสดงใน Report -> Select: VM CPU|MEM Usage.
![View](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.33.28-1.png)
6. ทำการ Double click ค่า Views ที่เราเลือก.
![View](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.36.57-1.png)
7. ทำการ เลือก รูปแบบของ Report ที่ต้องการ PDF หรือ CSV หรือทั้งสองแบบ.
![Formats](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.38.25.png)
8. เราสามารถจัดรูปแบบของ Cover Page, Table of contents หรือ Footer ได้ แต่ถ้าไม่ต้องการเปลี่ยนแปลงอะไรให้กด SAVE.
![Layout](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.42.11.png)
9. เราก็จะได้ Report “Performance – Right Sizing by VMware“.
![Report](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.45.05.png)
10. จากนี้เราจะ มาทำการ Run Report โดยทำการ Click ที่ 3 จุด จากนั้นเลือก Run.
![Run](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.46.30.png)
11. ทำการ Select an Object ที่ต้องการ (สามารถเลือก Object ที่เป็น Cluster, Folder, Host, etc ก็ได้)ในที่นี้ผมเลือก vCenter Server ทำเลือก vCenter Server ที่ต้องการ แล้ว Click OK.
![Object](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.55.11.png)
12. vROPs ก็จะทำการ Generated reports (เราจะสังเกต ในวงเล็บจะมีเลข 1).
![Performance](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-15.59.28.png)
13. ให้เราไป เลือกที่ Tab Generated Reports ทำการ Download report ที่ Generated ออกมา
![](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-16.55.30.png)
14. เราก็จะได้ Report CSV ไฟล์ นำไปใช้งานได้
![CSV](https://ilerpong.com/wp-content/uploads/2021/09/Screen-Shot-2564-09-28-at-16.57.50.png)
!!!หวังว่าทุกคนจะสามารถ นำไปใช้ประโยชน์ ในการ Monitor System ที่ใช้งานอยู่นะครับ!!!