VMWare

check_vmware_server

Description:

A quick Powershell script that checks that one VM is running on VMware Server via NRPE.

Current Version

1.0

Last Release Date

2013-07-18

Compatible With

License

MIT


Project Files
Project Notes
This is just a quick powershell script(my first one infact) that uses the vmrun command from VMware Server 2.0 to check if the server is running and to check that atleast one VM is running(I didn't make this configurable simply because it wasn't important for me). I have a specific need of running VMware Server and this solves my issue of how to monitor VMware Server. To install place check_vmware_server.ps1 into scripts dir of your nsclient++ install dir and in nsclient.ini put(if you don't already have): Minimal settings in nsclient.ini to add to an already working NRPE setup: ; A list of wrappped scripts (ie. using the template mechanism) [/settings/external scripts/wrapped scripts] check_vmware_server = check_vmware_server.ps1 -username username -password password -hostname https://myvmwareserver:8333/sdk ; A list of templates for wrapped scripts [/settings/external scripts/wrappings] ; POWERSHELL WRAPPING - ps1 = cmd /c echo scripts%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command - Feel free to contact me about patches and so on or publish it yourself if you want.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
35,658