Community discussions

MikroTik App
 
gr8boy
just joined
Topic Author
Posts: 6
Joined: Thu Nov 04, 2010 2:39 pm

Function för VMware ESXi 4.1 (CPU and MEM)

Fri Mar 18, 2011 12:39 pm

Hi!

I want to see my CPU usage and MEM usage on my ESXi servers. (in the Appearance)
Just like i do with me Dell server with Microsoft Server (Watch the attached file)

I found this in the forum for CPU but it wont work...

cpu_mem_disk_enhanced

concatenate(
if(cpu_usage_available(), concatenate("cpu: ", round(cpu_usage()), "% "), ""),
if(vmcpu_usage_available(), concatenate("cpu: ", round(vmcpu_usage()), "% "), ""),
if(mem_usage() > 0, concatenate("mem: ", round(mem_usage()), "% "), ""),
if(virtual_mem_usage() > 0, concatenate("virt: ", round(virtual_mem_usage()), "% "), ""),
if(hdd_usage() > 0, concatenate("disk: ", round(hdd_usage()), "% "), "")
)

vmcpu_usage
Report the CPU usage in percent on a VMWare server
100-oid("1.3.6.1.4.1.2021.11.11.0")

vmcpu_usage_available
Detects whether VMWare CPU usage is available.
if (oid("1.3.6.1.4.1.2021.11.11.0"),1,0)

The memory usage would be another great thing to see.
The SNMP is configured and working.
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 2 guests