
VMWare
Check VMware Tools
Description:
Checks the installation of VMware Tools on a VM.
Current Version
1.0
Last Release Date
2015-03-31
Compatible With
- Nagios 4.x
Owner
License
GPL
Project Files
File | Description |
---|---|
check_vmwaretools.vbs | check_vmwaretools.vbs |
Project Notes
This script checks for the installation of VMware Tools on a guest VM. The status is OK if VMware Tools is installed, and CRITICAL if not. If VMware Tools is installed, Nagios will also display the product version.
The script creates a temporary text file to list all the installed applications. This file will be created in the C:WindowsTemp directory, but you can modify this location if you want.
---------------------------
Installation instructions:
---------------------------
- Put the vbs script in the C:Program FilesNSClient++Scripts directory.
- In the nsclient.ini file, in the section [/settings/external scripts/scripts], add the following line:
check_vmwaretools=c:\windows\system32\cscript.exe //NoLogo scripts\check_vmwaretools.vbs
- Restart the NSClient
- On the Nagios server, create a service with the following check command:
check_command check_nrpe!check_vmwaretools!
- Restart Nagios
Reviews
(1)
Add a Review
This is awesome! I have it installed on a windows 2012 R2 server.
It was a task to get NPRE setup, but once I did my Nagios 4.3.2 server is reporting the VMware tools version.
I may have missed the obvious, but how do i get the same information from a Linux guest VM?
I currently stuck the following line in my /etc/nrpe/op5_commands.cfg file
command[check_vmwaretools]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:2 -C vmtoolsd
That at least gets me the status that the tools are running.
thanks again for the plugin, it runs like a champ.
It was a task to get NPRE setup, but once I did my Nagios 4.3.2 server is reporting the VMware tools version.
I may have missed the obvious, but how do i get the same information from a Linux guest VM?
I currently stuck the following line in my /etc/nrpe/op5_commands.cfg file
command[check_vmwaretools]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:2 -C vmtoolsd
That at least gets me the status that the tools are running.
thanks again for the plugin, it runs like a champ.
Page Sections
Project Stats
Rating
5 (1)
Favorites
0
Views
14,818