Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server running VMware ESXi 4.1.0 and while I love the graphs within the vSphere Client, they provide no historical data with the license I have. Also, all my other servers are monitored via a Cacti virtual machine running on this host.

Is there any way to monitor and create graphs for a VMware ESXi host using Cacti? How could I do this? Are there Cacti templates available?

share|improve this question
up vote 4 down vote accepted

There is a pretty in depth answer that someone else has used for this problem below:

share|improve this answer
+1 - it's for 3.5 but if you don't find an ESXi 4.x template the OIDs are probably similar or identical & this could be used as-is or with minor changes. – voretaq7 Apr 12 '11 at 14:58
Thanks! I ended up combining this with @voretaq7's answer for a perfect solution. – Josh Apr 12 '11 at 21:58

I'm not sure if there are existing templates, but you can certainly do this by enabling SNMP and using the SNMP - Generic OID Template to graph VMWare's various performance metrics.

I also wouldn't be surprised if a search on the Cacti Scripts & Templates forum turned up a template for ESXi 4.x

share|improve this answer
I wish I could have accepted both your answer and @rfelsburg's, because I ended up using both of them. I tried your first since I preferred purse SNMP, but it didn't give me CPU/memory usage. His answer, however, didn't give network usage! Together I have the perfect solution. – Josh Apr 12 '11 at 21:58

From cacti forum:

VMware (vSphere 5 or higher) has dropped support of SNMP. You have to use CIM/SMASH in order to obtain hardware status, etc. You have to use their API in order to obtain "higher level" performance stats like CPU utilization, Memory utilization, Disk IO, etc. AFAIK Cacti doesn't have a means for doing either of those.

share|improve this answer

Regarding (vSphere 5 or higher) dropping support of SNMP, this is not so. MIB modules for all VMware products are available from one download: And vSphere 5.1 has full snmpv1/v2c/v3 agent, some description of it found here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.