Categories
ESXi Monitoring VMware vSphere

How to configure VMware monitoring in Check_MK

Check_MK is able to monitor ESXi or vCenter out of the box. The configuration requires 2 steps and preferred a read only user.

1. Login to Check_MK

check_mk_login

2. Create new Host

create_new_host

Hostname: ESXi/vCenter Name or fqdn
IP Address: ESXi/vCenter Management IP

create_new_host_esxi

Save & Go to Services

The error message is normal and we can ignore it.

create_host_error

3. Go to Host & Service Parameters

host_service_parameters

4. Click on Datasource Programs

datasource_programs

5. Click Check state of VMWare ESX via vSphere

Bildschirmfoto 2016-03-03 um 14.53.28

6. Create rule in folder Main directory

Explicit hosts: ESXi-Name
vSphere User name: ReadOnlyUser-Name
vSphere secret: Password of the ReadOnlyUser
Select  
 Host Systems
 Virtual Machines
 Datastores
 Performance Counters
 License Usage
Select
 Display ESX Host power state on 
 Display VM power state on
 Placeholder VMs 

Bildschirmfoto 2016-03-03 um 14.57.08

8. Click on Save

Bildschirmfoto 2016-03-03 um 15.01.20

9. Activate your changes

Bildschirmfoto 2016-03-03 um 15.02.46

Bildschirmfoto 2016-03-03 um 15.04.36

10. Click on Hosts

Bildschirmfoto 2016-03-03 um 15.05.46

11. Click on Hosts

3rd icon – Edit services of host

Bildschirmfoto 2016-03-03 um 15.07.44

12. Activate missing

Bildschirmfoto 2016-03-03 um 15.08.40

13. Activate your changes –> see step 9

14. Check your discovered services.

Go to Views –> All Services

Bildschirmfoto 2016-03-03 um 15.11.56

15. Click on the refresh icon next to Check_MK and Check_MK Discovery

Bildschirmfoto 2016-03-03 um 15.13.38

That’s all. If you have question just leave a comment.

3 replies on “How to configure VMware monitoring in Check_MK”

Hi,
when I try to do that, I only see one Service.
Only “esx_vsphere_objects.count” is discovered an this reports “Virtualmachines: 0”.
Can you tell me, what I do wrong?
My Check_MK Version is 1.2.6p16

Hi,

have you executed an discovery? WATO –> Configuration –> Hosts –> On top Bulk Discovery –> Select “Find new & remove obsolete” and click start.

Cheers
Michael

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.